/* Шрифт, цвета, радиусы и размеры сняты с айпарк.рф */
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-300.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-500.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-600.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-700.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --text: #000000;
  --gray: #f6f6f6;
  --dark: #111111;
  --muted: #777777;
  --label: #666667;
  --old: #bdbdbd;
  --line: #e2e2e2;
  --blue: #0077ed;
  --radius: 20px;
  --gutter: 16px;
  --bar-h: 64px;
  /* во весь экран сверху вырез телефона и кнопки Telegram «Закрыть» / «⋯»: шапка магазина встаёт под ними */
  --tg-top: calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'SFUIDISPLAY', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- шапка ---------- */
/* шапка сплошная белая, без размытия фона: backdrop-filter дорогой для телефона и давал подлаги при переходах */
.top { position: sticky; top: 0; z-index: 20; background: #fff; padding-top: var(--tg-top); }
/* название по центру полосы с кнопками Telegram; полоса стоит на месте, шапка магазина уезжает под неё.
   Вне полноэкранного режима полосы нет — высота 0, не видно */
.tg-title { position: fixed; z-index: 21; left: 0; right: 0; top: 0; height: var(--tg-top); padding-top: var(--tg-safe-area-inset-top, 0px); box-sizing: border-box; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; letter-spacing: .5px; color: var(--text); pointer-events: none; }
.bar { height: var(--bar-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* слева: аватар с живым кольцом, приветствие и баллы */
.who { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.av-ring { position: relative; flex: none; width: 44px; height: 44px; }
/* кольцо цвета нового iPhone (Burgundy #2f5f8a) с металлическим бликом, который бежит по кругу */
.av-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: ringSpin 4.5s linear infinite;
  background: conic-gradient(from 0deg, #2f5f8a 0%, #24496b 28%, #2f5f8a 52%, #2e5880 70%, #8fb5dc 82%, #cfe2f6 87%, #8fb5dc 92%, #2f5f8a 100%); }
.av-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2c567d; opacity: 0; pointer-events: none; }
/* нажатие на аккаунт: аватар «прыгает», от кольца расходится волна */
.who.tap .av-ring { animation: avaPop .5s cubic-bezier(.34, 1.56, .64, 1); }
.who.tap .av-ring::after { animation: avaWave .65s ease-out; }
@keyframes avaPop { 0% { transform: scale(1); } 35% { transform: scale(.8); } 70% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes avaWave { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
/* профиль: большой аватар с дышащим ореолом */
.av-ring.big { display: block; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; }
.av-ring.big .av { inset: 3.5px; padding: 3px; }
.av-ring.big .av-letter { font-size: 34px; }
/* ореол «дышит» только масштабом и прозрачностью (это не нагружает отрисовку, в отличие от анимации тени) */
.av-ring.big::after { display: none; }
@keyframes halo { 0% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.55); } }
.av { position: absolute; inset: 2.5px; border-radius: 50%; background: #fff; padding: 2px; overflow: hidden; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av-letter { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--gray); font-size: 15px; font-weight: 600; color: var(--label); }
.who-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-t small { font-size: 12px; font-weight: 500; color: var(--muted); }
.wave { display: inline-block; font-style: normal; transform-origin: 70% 75%; animation: wave 2.8s ease-in-out 1s infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 8% { transform: rotate(16deg); } 16% { transform: rotate(-8deg); } 24% { transform: rotate(16deg); } 32% { transform: rotate(-4deg); } 40% { transform: rotate(10deg); } }
/* справа: корзина — пустая сумка или чёрная таблетка со счётчиком и суммой */
.cart-pill { flex: none; display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 20px; background: var(--gray); color: var(--text);
  transition: background .3s, color .3s, padding .3s; }
.cart-pill img { height: 20px; width: auto; transition: filter .3s; }
.cart-pill.full { background: var(--text); color: #fff; padding: 0 14px 0 11px; }
.cart-pill.full img { filter: invert(1); }
.cp-n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--text); font-size: 12px; font-weight: 700; }
.cp-sum { font-size: 13px; font-weight: 600; white-space: nowrap; }
.cart-pill.bump { animation: bump .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 0% { transform: scale(.85); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .av-ring::before, .av-ring.big::after, .who.tap .av-ring, .who.tap .av-ring::after, .wave, .cart-pill.bump { animation: none; } }.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gray); object-fit: cover; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--label); }

/* ---------- общие блоки ---------- */
main { min-height: 70vh; }
.crumbs { padding: 18px var(--gutter) 0; font-size: 13px; color: #9a9a9a; font-weight: 500; }
.crumbs a { color: #9a9a9a; }
.crumbs span { color: var(--text); }
h1 { margin: 28px var(--gutter) 6px; text-align: center; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; }
.sub { margin: 0 var(--gutter) 22px; text-align: center; color: var(--muted); font-weight: 300; font-size: 14px; line-height: 1.5; }
h2 { margin: 56px var(--gutter) 6px; text-align: center; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.3px; }

/* ---------- плитки категорий ---------- */
.tiles { display: flex; gap: 6px; overflow-x: auto; padding: 8px var(--gutter) 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 128px; scroll-snap-align: start; text-align: center; }
.tile .pic { height: 104px; display: grid; place-items: center; }
.tile img { max-height: 100px; max-width: 120px; object-fit: contain; }
.tile b { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; }

/* ---------- карточки брендов ---------- */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px var(--gutter) 0; }
/* карточка как на сайте: всё считается от ширины самой карточки (cqw), поэтому пропорции не ломаются на любом экране */
.brand { position: relative; display: block; overflow: hidden; border-radius: 18px; background: #f6f6f6; container-type: inline-size; text-align: center; }
.brand b, .brand small { position: absolute; left: 0; width: 100%; line-height: 1.2; }
.brand b { font-size: 16px; font-size: calc(var(--ts) / var(--W) * 100cqw); font-weight: 600; }
.brand small { font-size: 11px; font-size: calc(var(--ss) / var(--W) * 100cqw); font-weight: var(--sw); padding: 0 2%; }
.brand .bimg { position: absolute; background-color: #d1d1d1; background-repeat: no-repeat; background-position: center; background-size: cover; }
.brand.dark { grid-column: 1 / -1; background: #121212; color: #fff; }
.brand.dark b { font-weight: 700; }
.brand.dark small { color: #737373; }
.brand.dark .bimg { background-color: #2e2e2e; }
/* как на сайте: при наведении фото увеличивается на 10% за 0,1 с, у Ray Ban ещё и опускается на 10 px (от ширины 376) */
.brand .bimg { transition: transform .1s linear; backface-visibility: hidden; }
@media (hover: hover) {
  .brand:hover .bimg { transform: scale(1.1); }
  .brand[href="#/c/rayban"]:hover .bimg { transform: translateY(calc(10 / 376 * 100cqw)) scale(1.1); }
}
@media (hover: none) {
  .brand:active .bimg { transform: scale(1.1); }
  .brand[href="#/c/rayban"]:active .bimg { transform: translateY(calc(10 / 376 * 100cqw)) scale(1.1); }
}

/* ---------- соцсети и контакты ---------- */
/* кнопки соцсетей как на сайте: плашка 250×70, иконка слева выступает за край; по краям и между кнопками оставлено место под иконки */
/* на телефоне кнопки того же размера, что на сайте (250×70), по одной в строке: так иконки не налезают на текст;
   между кнопками оставлено место под иконки, которые выступают за край */
.socials { display: grid; grid-template-columns: min(250px, 100%); justify-content: center; gap: 34px; padding: 30px var(--gutter) 6px; }
@media (min-width: 640px) { .socials { grid-template-columns: repeat(2, 250px); gap: 34px 60px; } }
.socials a { position: relative; display: grid; place-items: center; aspect-ratio: 250 / 70; container-type: inline-size; border-radius: 20px; background: #f6f6f6; color: #000; font-size: 13px; font-weight: 500; line-height: 1.2;
  transition: background-color .2s ease-in-out, color .2s ease-in-out; }
.socials a i { position: absolute; z-index: 1; background: no-repeat center / contain; pointer-events: none; }
/* при наведении плашка темнеет, текст белеет (на телефоне — пока палец на кнопке) */
@media (hover: hover) { .socials a:hover { background: #484848; color: #fff; } }
@media (hover: none) { .socials a:active { background: #484848; color: #fff; } }
.foot { margin: 24px var(--gutter) 0; display: grid; gap: 14px; }
.foot .row b { display: block; font-size: 17px; font-weight: 600; }
.foot .row span { display: block; color: var(--muted); font-weight: 300; margin-top: 2px; }
.foot a.link { display: inline-block; margin-right: 18px; font-weight: 500; }
.credit { margin: 6px var(--gutter) 8px; color: #2f5f8a; font-weight: 300; font-size: 14.85px; line-height: 1.5; }
.credit a { color: inherit; font-weight: 500; text-decoration: none; }
.foot small { color: #9a9a9a; font-weight: 300; font-size: 11px; line-height: 1.5; }

/* ---------- каталог раздела ---------- */
.models { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 4px var(--gutter) 0; }
.model { background: var(--gray); border-radius: var(--radius); padding: 14px 10px 18px; text-align: center; display: flex; flex-direction: column; }
/* рамка фото строго квадратная, а само фото лежит внутри неё: пока картинка не догрузилась (lazy), карточка не растёт и не прыгает */
.model .pic { position: relative; flex: none; width: 100%; aspect-ratio: 1 / 1; }
.model .pic img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); max-width: none; object-fit: contain; }
.model b { font-size: 15px; font-weight: 600; line-height: 1.25; margin-top: 4px; letter-spacing: -.1px; }
.model span { margin-top: 6px; font-size: 14px; font-weight: 500; }
.model s { color: var(--old); margin-left: 6px; font-weight: 500; }
.sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 4px var(--gutter) 0; }
.sections .model b { font-size: 17px; margin-top: 0; }
.sections .model span { color: var(--muted); font-weight: 300; font-size: 12px; }

/* ---------- товар ---------- */
.gallery { margin: 14px var(--gutter) 0; background: var(--gray); border-radius: var(--radius); position: relative; overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides > div { flex: none; width: 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 20px; }
.slides img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #c8c8c8; transition: background .15s; }
.dots i.on { background: var(--text); }
.pbody { padding: 22px var(--gutter) 0; }
.pbody h1 { margin: 0 0 18px; text-align: left; font-size: 26px; line-height: 1.35; letter-spacing: -.3px; }
.opt { margin-bottom: 16px; }
.opt .name { font-size: 13px; font-weight: 500; color: var(--label); padding-bottom: 7px; }
.opt .name em { font-style: normal; color: var(--text); }
.chips, .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
/* «жидкое стекло», как нижняя панель Telegram: капсула — матовое углубление, выбранный вариант — выпуклая стеклянная линза, которая перетекает (placeGlass).
   Объём держится на трёх вещах: яркая кромка сверху, мягкая тёмная кромка снизу и двухслойная тень (контактная + рассеянная) */
.chips { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 24px;
  border: 1px solid rgba(118, 118, 128, .32);
  background: linear-gradient(180deg, rgba(118, 118, 128, .052), rgba(118, 118, 128, .022));
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .09), inset 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(255, 255, 255, .9), 0 1px 0 rgba(255, 255, 255, .9); }
.chip { position: relative; z-index: 1; min-height: 34px; padding: 6px 15px; border: 0; border-radius: 20px; background: transparent; font-size: 13px; font-weight: 500; color: var(--text); }
/* память и SIM/eSIM — как сегментированный переключатель iOS: одна строка на всю ширину, варианты равной ширины, линза едет между ними */
.pbody .opt .chips { display: flex; flex-wrap: nowrap; width: 100%; }
.pbody .opt .chips .chip { flex: 1 1 0; min-width: 0; padding: 6px 6px; white-space: normal; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.pbody .opt .chips:has(button:only-of-type) { display: inline-flex; width: auto; }
.pbody .opt .chips:has(button:only-of-type) .chip { flex: none; padding: 6px 22px; }
.chip.on { color: var(--blue); font-weight: 600; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.chips.has-ind .chip.on { background: transparent; box-shadow: none; }
.chips.has-ind { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.chip.near { color: var(--blue); }
.chips:has(.near) .chip.on:not(.near) { color: var(--text); font-weight: 500; }
.chip:disabled { color: #c4c4c4; }
/* линза: блик сверху, цветная дисперсия по краям (розовый слева, голубой справа), внутреннее свечение и тень под ней */
.gl-ind { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 20px; pointer-events: none;
  /* iOS 26: прозрачное стекло, а не белая плашка — сквозь линзу виден фон, края светятся (сверху-слева ярче, снизу-справа мягче) */
  background: linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .16) 42%, rgba(255, 255, 255, .1) 58%, rgba(255, 255, 255, .5) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(220%) brightness(1.08); backdrop-filter: blur(3px) saturate(220%) brightness(1.08);
  box-shadow: inset 1.5px 1.5px 1px -.5px rgba(255, 255, 255, .95), inset -1.5px -1.5px 1px -.5px rgba(255, 255, 255, .7), inset 0 0 14px rgba(255, 255, 255, .45),
    0 0 0 .5px rgba(0, 0, 0, .09), 0 6px 16px -4px rgba(20, 30, 60, .22), 0 1px 3px rgba(0, 0, 0, .08);
  transition: translate .6s linear(0, .09 4%, .33 10%, .62 17%, .84 25%, .94 34%, .98 44%, .995 58%, 1), width .22s ease-out, height .3s, scale .45s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s, background .25s; }
/* глянцевая полоса вдоль верха линзы */
.gl-ind::after { content: none; }
/* перелёт на другой вариант, как на iPhone: линза сразу «вздувается», вытягивается по ходу движения (--st растёт с расстоянием), пружинит и оседает */
.gl-ind.go { animation: glMove .68s linear(0, .09 4%, .33 10%, .62 17%, .86 25%, 1.03 34%, 1.07 40%, 1.04 48%, .99 58%, .995 70%, 1); }
@keyframes glMove {
  0% { scale: 1.1 1.1; }
  28% { scale: calc(1.14 + var(--st, .2)) calc(1.12 - var(--st, .2) * .5); }
  62% { scale: calc(1.03 - var(--st, .2) * .15) calc(1.05 + var(--st, .2) * .25); }
  100% { scale: 1 1; }
}
/* пока линзу тянут: она приподнимается, растёт и отбрасывает длинную тень, а пальцем не закрывается */
.gl-ind.drag { transition: width .25s, height .3s, scale .25s cubic-bezier(.3, 1.35, .5, 1), box-shadow .25s; scale: 1.16;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .3) 42%, rgba(255, 255, 255, .22) 58%, rgba(255, 255, 255, .66) 100%);
  box-shadow: inset 2px 2px 1px -.5px #fff, inset -2px -2px 1px -.5px rgba(255, 255, 255, .85), inset 0 0 18px rgba(255, 255, 255, .6),
    0 0 0 .5px rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .1), 0 16px 26px -6px rgba(20, 20, 50, .34); }
@media (prefers-reduced-motion: reduce) { .gl-ind { transition: none; } .gl-ind.go { animation: none; } }
/* цвет — стеклянная бусина: блик сверху-слева, объём по краю, мягкая тень снизу */
/* кружок цвета лежит внутри рамки 36×36: кольцо выбранного цвета не выступает за левую линию, и вся колонка (название цвета, кружки, переключатели) стоит по одному краю */
.swatches { gap: 2px; }
.sw { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 0; background: none; position: relative; }
.sw::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 3px 7px -2px rgba(0, 0, 0, .3); }
.sw.on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--blue); }
.sw:disabled { opacity: .3; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 14px; font-size: 22px; font-weight: 600; }
.price s { color: var(--old); }
/* со скидкой: плашка из двух равных половин (зачёркнутая цена с «!» слева, настоящая справа) и стрелка между ними */
.price.two { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px; padding: 12px 10px; border-radius: 16px; background: var(--gray); }
.price .pc { display: flex; align-items: center; gap: 6px; min-width: 0; }
.price .pc small { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 400; color: var(--muted); }
.price .pc s { display: block; font-size: 14px; font-weight: 500; }
.price .pc.new { justify-content: flex-end; text-align: right; }
.price .pc.new b { display: block; font-size: 24.9px; font-weight: 600; letter-spacing: -.3px; }
.price .parr { width: 20px; height: 20px; margin: 0 -2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); position: relative; }
.price .parr::after { content: ''; position: absolute; left: 6px; top: 7px; width: 6px; height: 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
/* «!» возле зачёркнутой цены — объяснение про iPack */
.ipk-i { align-self: center; position: relative; width: 22px; height: 22px; padding: 0; border: 1.5px solid var(--blue); border-radius: 50%; background: rgba(0, 122, 255, .08); color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.ipk-i:active { transform: scale(.9); }
/* окно iPack: синий макет с плитками (картинка нарезана на четыре части), плитки выпрыгивают по очереди */
.ipk-sheet { padding-top: 16px; }
.ipk-card { padding: 22px 14px 14px; border-radius: 22px; text-align: center; color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #7399e0 0%, #5877c9 48%, #3a47a2 100%); }
.ipk-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 40% at 50% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); pointer-events: none; }
.ipk-h { display: block; font-size: 38px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.ipk-warr { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 12px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 22px; font-size: 18px; font-weight: 300; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ipk-warr::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); }
.ipk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ipk-t { display: block; aspect-ratio: 1 / 1; border-radius: 15%; background: url(img/ipack.webp) no-repeat; background-size: 249.82% auto; box-shadow: 0 8px 18px -6px rgba(10, 20, 80, .45); }
.ipk-cmp { display: grid; gap: 6px; margin: 4px 0 16px; }
.ipk-cmp > div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 14px; border-radius: 14px; background: var(--gray); font-size: 15px; }
.ipk-cmp span { color: var(--label); font-weight: 400; font-size: 14px; }
.ipk-cmp s { color: var(--old); font-weight: 600; }
.ipk-cmp .win { background: #e8f0ff; }
.ipk-cmp .win b { color: var(--blue); font-size: 17px; }
.ipk-cmp .save { background: #e9f8ee; }
.ipk-cmp .save b { color: #1f9d4c; }
.ipk-sheet h3 { margin-top: 18px; font-size: 19px; }
/* обе кнопки внизу одним прилипающим блоком, чтобы «Супер!» не наезжала на «Настроить под себя» */
.ipk-foot { position: sticky; bottom: 0; display: grid; gap: 8px; padding-top: 4px; background: #fff; box-shadow: 0 10px 0 10px #fff, 0 -14px 14px 0 rgba(255, 255, 255, .9); }
.ipk-foot .buy.alt { margin-top: 0; }
.ipk-sheet .sub { text-align: center; }
.ipk-bg.on .ipk-h { animation: ipkUp .7s .12s backwards cubic-bezier(.2, .9, .25, 1); }
.ipk-bg.on .ipk-warr { animation: ipkUp .7s .24s backwards cubic-bezier(.2, .9, .25, 1); }
.ipk-bg.on .ipk-warr::after { animation: ipkShine 1.1s .9s ease-in-out; }
.ipk-bg.on .ipk-t { animation: ipkPop .75s calc(.34s + var(--i) * .11s) backwards cubic-bezier(.2, 1.35, .4, 1); }
.ipk-bg.on h3, .ipk-bg.on .ipk-sheet .sub, .ipk-bg.on .ipk-cmp, .ipk-bg.on .ipk-foot { animation: ipkUp .6s .85s backwards cubic-bezier(.2, .9, .25, 1); }
@keyframes ipkUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes ipkPop { from { opacity: 0; transform: translateY(34px) scale(.7) rotate(-4deg); filter: blur(6px); } }
@keyframes ipkShine { to { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .ipk-bg.on *{ animation: none !important; } }
.buy { width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .1px; } /* полностью круглые края, как у корзины в шапке */
.buy.alt { background: var(--gray); color: var(--text); margin-top: 8px; }
.acc { margin-top: 26px; border-top: 1px solid var(--line); }
.acc a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.acc a::after { content: '›'; color: #9a9a9a; font-size: 20px; }
/* ---------- каталог как в киоске: слева колонка разделов, справа список выбранного ---------- */
body.shelled { overflow: hidden; padding-bottom: 0; }
.shell { display: flex; height: calc(100vh - var(--bar-h) - var(--tg-top)); height: calc(var(--tg-viewport-stable-height, 100dvh) - var(--bar-h) - var(--tg-top)); }
.rail { position: relative; flex: none; width: 88px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; padding: 8px 6px 70px; border-right: 1px solid var(--line); background: #fff; }
.rail::-webkit-scrollbar, .pane::-webkit-scrollbar { display: none; }
/* бегунок под активным пунктом: едет к новому с пружиной */
.rail-ind { position: absolute; left: 6px; right: 6px; top: 0; height: var(--ih, 84px); border-radius: 18px; background: var(--gray); transform: translateY(var(--iy, 8px));
  transition: transform .55s cubic-bezier(.34, 1.45, .5, 1), height .3s ease, opacity .2s; z-index: 0; }
.rail-ind::before { content: ''; position: absolute; left: -6px; top: 24%; bottom: 24%; width: 3px; border-radius: 0 3px 3px 0; background: var(--text); }
.ri { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 9px; font-size: 11px; font-weight: 500; line-height: 1.15; text-align: center; color: #8a8a8e;
  transition: color .25s; animation: railIn .65s backwards cubic-bezier(.34, 1.56, .64, 1); animation-delay: calc(var(--i, 0) * 45ms); }
.ri img { width: 46px; height: 46px; object-fit: contain; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ri.on { color: var(--text); font-weight: 600; }
.ri.on img { transform: scale(1.14); }
.ri:active img { transform: scale(.88); transition-duration: .12s; }
@keyframes railIn { from { opacity: 0; transform: translateX(-26px) scale(.9); } }
.shell.still .ri { animation: none; }  /* при возврате с другой страницы колонка появляется сразу */

.pane { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 14px 10px 90px; }
.ptitle { margin: 2px 4px 12px; }
.pt-h { font-size: 24px; font-weight: 600; letter-spacing: -.3px; line-height: 1.15; }
.ptitle p { margin: 4px 0 0; font-size: 12px; font-weight: 300; line-height: 1.4; color: var(--muted); }
.pt-sub { margin: 22px 4px 10px; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.pback { display: inline-block; margin: 0 4px 8px; font-size: 13px; font-weight: 500; color: var(--blue); }
.pane .models, .pane .sections { padding: 0; gap: 8px; }
.pane .model { padding: 10px 6px 14px; border-radius: 18px; }
.pane .model b { font-size: 13px; }
.pane .model span { font-size: 12.5px; }
.pane .model s { margin-left: 4px; }
/* вход: заголовок выезжает слева, карточки встают в 3D по очереди; выход: всё уезжает влево */
.pane.entering .ptitle { animation: titleIn .55s backwards cubic-bezier(.2, .8, .2, 1); }
.pane.entering .model { animation: cardIn .8s backwards cubic-bezier(.34, 1.56, .64, 1); animation-delay: calc(min(var(--i, 0), 9) * 50ms + 80ms); }
@keyframes cardIn { from { opacity: 0; transform: perspective(700px) rotateX(22deg) translateY(46px) scale(.92); } }
@keyframes titleIn { from { opacity: 0; transform: translateX(-14px); } }
.pane .models, .pane .ptitle { transition: opacity .16s ease-in, transform .16s ease-in; }
.pane.leaving .models, .pane.leaving .ptitle { opacity: 0; transform: translateX(-18px) scale(.98); }
@media (prefers-reduced-motion: reduce) { .rail-ind { transition: none; } .ri, .pane.entering .model, .pane.entering .ptitle { animation: none; } }

/* ---------- переход «карточка ↔ товар»: общее фото плавно перелетает на новое место ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
/* перелёт аватара: старая и новая страница не смешиваются (никакого наложения двух больших снимков), летит только аватар */
.vt-ava::view-transition-old(root) { animation: none; opacity: 0; }
.vt-ava::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-group(hero) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .85, .2, 1); z-index: 10; }
::view-transition-old(hero), ::view-transition-new(hero) { height: 100%; object-fit: contain; }

/* ---------- 3D-появление карточек и полёт товара в корзину ---------- */
.rv.rv3d { transform: perspective(700px) rotateX(24deg) translateY(50px) scale(.93); transform-origin: 50% 100%;
  transition-property: opacity, transform; transition-duration: .85s; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); } /* пружина: с лёгким перелётом */
.rv.rv3d.in { transform: none; }
.fly { position: fixed; z-index: 100; pointer-events: none; object-fit: contain; transform-origin: center; will-change: transform; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .22)); }

/* ---------- эффекты прокрутки (значения ставит app.js) ---------- */
.top { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; will-change: transform; }
.top.hide { transform: translateY(calc(-1 * var(--bar-h))); }  /* шапка уезжает вверх при прокрутке вниз */
.top.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.model .pic img { translate: 0 var(--py, 0px); }          /* отдельное свойство translate, не мешает увеличению при наведении */
.gallery .slides { transform: translateY(var(--gy, 0px)) scale(var(--gs, 1)); opacity: var(--go, 1); transform-origin: 50% 0; will-change: transform, opacity; }
.pbody { position: relative; z-index: 1; background: var(--bg); }  /* наезжает поверх уходящей галереи */
@media (prefers-reduced-motion: reduce) { .top { transition: none; } .top.hide { transform: none; } }

/* раскрывающиеся «Гарантия и возврат» и «Оплата и доставка» */
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: ''; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid #9a9a9a; border-bottom: 1.5px solid #9a9a9a; transform: rotate(45deg); transition: transform .25s; }
.acc-item[open] summary::after { transform: rotate(-135deg); }
.acc-body { padding: 0 0 18px; font-size: 14px; line-height: 1.55; color: #333; animation: accIn .3s ease; }
.acc-body h4 { margin: 16px 0 4px; font-size: 15px; font-weight: 600; color: var(--text); }
.acc-body h4.grp { margin-top: 22px; font-size: 17px; }
.acc-body p { margin: 0 0 10px; }
.acc-body ul { margin: 6px 0 10px; padding-left: 18px; }
.acc-body li { margin-bottom: 5px; }
.acc-body .small { font-size: 12px; line-height: 1.5; color: var(--muted); }
@keyframes accIn { from { opacity: .6; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acc-body { animation: none; } .acc-item summary::after { transition: none; } }


/* ---------- корзина ---------- */
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px; margin: 0 var(--gutter) 10px; background: var(--gray); border-radius: var(--radius); }
.line .pic { height: 76px; display: grid; place-items: center; }
.line img { max-height: 76px; max-width: 76px; object-fit: contain; }
.line b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.line small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 300; line-height: 1.4; }
.line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.line .sum { font-weight: 600; font-size: 16px; }
.total { display: flex; justify-content: space-between; margin: 22px var(--gutter) 14px; font-size: 20px; font-weight: 600; }
.wrap { padding: 0 var(--gutter); }
.empty { text-align: center; color: var(--muted); font-weight: 300; padding: 40px var(--gutter); }
.empty .buy { margin-top: 22px; }
.done { text-align: center; padding: 70px var(--gutter) 0; }
.done .mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--text); display: grid; place-items: center; color: #fff; font-size: 30px; }
.done h1 { margin-top: 0; }

/* ---------- профиль ---------- */
.me { text-align: center; padding-top: 30px; }
/* значок баллов — кольцо из знака айпарка цвета Burgundy (оно шире, чем выше) */
.pt-ico { display: inline-block; width: 16px; height: auto; margin-right: 5px; vertical-align: -1.5px; }
.points .pt-ico { width: 22px; margin-right: 7px; vertical-align: -3px; }
.me h1 { margin-top: 0; }
.order.fresh { animation: freshIn .4s ease backwards; }
@keyframes freshIn { from { opacity: 0; transform: translateY(8px); } }
/* подарки: купленные товары парят вокруг аватарки, у каждого своё место, ритм и фаза */
.orbit { position: relative; width: 96px; margin: 0 auto; }
.orbit .av-ring.big { margin-bottom: 16px; }
.gifts { position: absolute; left: 48px; top: 48px; width: 0; height: 0; pointer-events: none; }
.gift { position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 6px 14px -4px rgba(60, 20, 30, .3);
  translate: var(--x) var(--y); animation: giftIn .7s cubic-bezier(.3, 1.5, .5, 1) backwards, giftBob var(--t, 4s) ease-in-out var(--d, 0s) infinite; }
.gift img { width: 28px; height: 28px; object-fit: contain; }
@keyframes giftIn { from { translate: 0 0; scale: .2; opacity: 0; } }
@keyframes giftBob { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(3px, -7px) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .gift { animation: none; } }
.points { display: inline-block; margin-top: 12px; padding: 8px 18px; background: #eaf3fd; color: #24496b; border-radius: 18px; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.orders { margin-top: 30px; text-align: left; }
.cashback { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #eaf3fd; color: #24496b; }
.cashback .pt-ico { width: 26px; margin: 0; flex: none; }
.cb-t { flex: 1; min-width: 0; }
.cb-t b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.cb-t small { display: block; margin-top: 1px; font-size: 11px; font-weight: 400; opacity: .7; }
.cart-cb { margin: 0 var(--gutter) 14px; }
.cb-n { flex: none; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- карта клиента (QR) ---------- */
.idcard { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: calc(100% - 2 * var(--gutter)); margin: 22px var(--gutter) 0; padding: 14px 16px 14px 14px; border: 0; border-radius: var(--radius); text-align: left; color: #fff;
  background: linear-gradient(125deg, #1a0b10 0%, #1a2d40 52%, #24496b 100%); box-shadow: 0 10px 26px -8px rgba(47, 95, 138, .55), inset 0 1px 0 rgba(255, 255, 255, .16); transition: transform .15s; }
.idcard:active { transform: scale(.98); }
/* «позови друга»: светлая карточка с цифрами и кнопкой приглашения */
.refcard { margin: 14px var(--gutter) 0; padding: 16px; border-radius: var(--radius); background: var(--gray); }
.rf-top { display: flex; gap: 12px; align-items: flex-start; }
.rf-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #fff; font-size: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.rf-top b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.rf-top em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 1.35; color: var(--label); }
.rf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.rf-stats span { padding: 9px 4px; border-radius: 12px; background: #fff; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.25; }
.rf-stats b { display: block; font-size: 17px; font-weight: 600; color: var(--text); }
.rf-links { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.rf-links button { padding: 6px 0; border: 0; background: none; color: var(--blue); font-size: 13px; font-weight: 500; }
.rf-in { display: block; width: 100%; margin: 4px 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--gray); font-size: 18px; font-weight: 500; letter-spacing: 1px; text-align: center; text-transform: uppercase; outline: none; }
.rf-in.rv-in { text-transform: none; letter-spacing: 0; font-size: 17px; }
.ri .al { display: block; width: 15px; height: 15px; margin: 0 auto; }
.pt-h .al { display: block; width: 30px; height: 30px; }
.refcard.rvw .buy { margin-top: 14px; }
.refcard.rvw:empty { display: none; }
.rf-in:focus { border-color: var(--blue); }
/* «стать инфлюенсером»: аккуратная строка внутри карточки «Позови друга» и окно снизу с условиями, ступенями и своей ссылкой */
.rf-inf { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 12px 12px 10px; border: 0; border-radius: 14px; background: #eeeafc; color: #3b2a87; text-align: left; transition: transform .15s; }
.rf-inf:active { transform: scale(.98); }
.rf-inf .chev { flex: none; margin-left: auto; opacity: .7; transform: rotate(-45deg); }
.rf-inf-t { flex: 1; }
.rf-inf-t b { display: block; font-size: 15px; font-weight: 600; }
.rf-inf-t em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; opacity: .75; }
.inf-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #fff; font-size: 18px; box-shadow: 0 2px 8px rgba(59, 42, 135, .15); }
.inf-sheet { padding-top: 22px; }
.inf-hero { text-align: center; }
.inf-star { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 22px; background: linear-gradient(145deg, #f4f0ff, #ddd5fb); font-size: 34px; box-shadow: 0 8px 20px -6px rgba(59, 42, 135, .35); }
.inf-p { margin: 4px 2px 14px; font-size: 14px; line-height: 1.45; color: var(--label); text-align: center; }
.inf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inf-btns .buy.alt { margin-top: 0; }
.inf-bg.on .inf-star { animation: ipkPop .7s .1s backwards cubic-bezier(.2, 1.35, .4, 1); }
.inf-bg.on .inf-t { animation: ipkUp .55s calc(.2s + var(--i, 0) * .06s) backwards cubic-bezier(.2, .9, .25, 1); }
.inf-month { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.inf-month span { padding: 10px 6px; border-radius: 12px; background: var(--gray); text-align: center; font-size: 11px; color: var(--muted); line-height: 1.25; }
.inf-month b { display: block; font-size: 20px; font-weight: 600; color: var(--text); }
.inf-tiers { display: grid; gap: 6px; }
.inf-t { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 14px; background: var(--gray); font-size: 15px; transition: background .3s; }
.inf-t b { font-weight: 600; color: #3b2a87; font-variant-numeric: tabular-nums; }
.inf-t.next { background: #eeeafc; box-shadow: inset 0 0 0 1.5px rgba(59, 42, 135, .35); }
.inf-t.hit { background: #e9f8ee; }
.inf-t.hit b { color: #1f9d4c; }
.inf-t.hit span::after { content: ' ✓'; color: #1f9d4c; }
.inf-lt { margin: 16px 4px 6px; font-size: 13px; font-weight: 500; color: var(--label); }
.inf-link { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 12px; line-height: 1.4; word-break: break-all; color: var(--muted); user-select: all; }
.idcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .13) 50%, transparent 64%); transform: translateX(-100%); animation: tiSheen 4.2s ease-in-out infinite 1.4s; pointer-events: none; }
.id-qr { flex: none; width: 76px; height: 76px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.id-qr svg, .ids-qr svg { display: block; width: 100%; height: 100%; }
.id-t { flex: 1; min-width: 0; }
.id-t small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; opacity: .65; }
.id-t b { display: block; margin: 3px 0 2px; font-size: 20px; font-weight: 700; letter-spacing: .6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.id-t em { display: block; font-style: normal; font-size: 12px; font-weight: 300; line-height: 1.35; opacity: .75; }
.idcard .chev { color: #fff; transform: rotate(-45deg); margin-right: 2px; opacity: .8; }
.idsheet { text-align: center; }
.ids-k { display: block; font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.ids-qr { width: min(72vw, 280px); aspect-ratio: 1; margin: 14px auto 12px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 34px -10px rgba(0, 0, 0, .3); }
.ids-code { display: block; margin: 0 auto 6px; padding: 8px 18px; border: 0; border-radius: 999px; background: #eaf3fd; color: #2f5f8a; font-size: 24px; font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.ids-code:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .idcard::after { animation: none; } }

/* ---------- Trade-In ---------- */
/* значок «обмен»: две стрелки по кругу, цвет — currentColor */
.ti-ico { flex: none; display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11a8.5 8.5 0 0 0-15-4.6'/%3E%3Cpath d='M3.5 13a8.5 8.5 0 0 0 15 4.6'/%3E%3Cpath d='M5.5 2.5v4h4'/%3E%3Cpath d='M18.5 21.5v-4h-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11a8.5 8.5 0 0 0-15-4.6'/%3E%3Cpath d='M3.5 13a8.5 8.5 0 0 0 15 4.6'/%3E%3Cpath d='M5.5 2.5v4h4'/%3E%3Cpath d='M18.5 21.5v-4h-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.ti-x, .ti-close { position: relative; flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); }
.ti-x::before, .ti-x::after, .ti-close::before, .ti-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.ti-x::after, .ti-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* кнопка на странице iPhone: тёмная плашка с бегущим бликом, значок медленно крутится */
.ti-btn { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 13px 14px; border: 0; border-radius: 14px; text-align: left; color: #fff; background: linear-gradient(120deg, #141414 0%, #1c3247 55%, #2f5f8a 100%); box-shadow: 0 6px 18px rgba(47, 95, 138, .25); transition: transform .15s; }
.ti-btn:active { transform: scale(.98); }
.ti-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-100%); animation: tiSheen 3.2s ease-in-out infinite 1s; }
@keyframes tiSheen { 45%, 100% { transform: translateX(100%); } }
.ti-btn .ti-ico { width: 30px; height: 30px; animation: tiSpin 6s linear infinite; }
@keyframes tiSpin { to { transform: rotate(360deg); } }
.ti-t { flex: 1; min-width: 0; }
.ti-t b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .1px; }
.ti-t small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .75; }
.ti-btn .chev { color: #fff; transform: rotate(-45deg); margin-right: 4px; }
/* применённая оценка */
.ti-on { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 12px 12px 14px; border-radius: 14px; background: #eaf7ee; color: #12632e; animation: tiPop .45s cubic-bezier(.3, 1.4, .5, 1); }
.ti-on .ti-t b { font-size: 13.5px; }
@keyframes tiPop { from { transform: scale(.94); opacity: 0; } }
/* шторка-опрос */
.sheet.ti { padding-top: 14px; min-height: 62vh; }
.ti-top { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.ti-top b { font-size: 15px; font-weight: 700; }
.ti-back { min-width: 70px; border: 0; background: none; padding: 0; text-align: left; color: var(--blue); font-size: 14px; font-weight: 500; }
.ti-close { margin-left: 42px; }
.ti-prog { height: 4px; margin: 12px 0 18px; border-radius: 2px; background: var(--gray); overflow: hidden; }
.ti-prog i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, #2f5f8a, #5b8fc0); transition: width .45s cubic-bezier(.3, 1.2, .5, 1); }
.ti-step { animation: tiStep .38s cubic-bezier(.2, .9, .25, 1) backwards; }
@keyframes tiStep { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 36px)); } }
.ti h3 { margin: 0 0 4px; text-align: center; font-size: 21px; }
.ti .opt { margin-top: 16px; }
.ti .chips { flex-wrap: wrap; }
.ti-gens { display: flex; gap: 8px; margin: 14px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.ti-gens::-webkit-scrollbar { display: none; }
.ti-gen { flex: none; min-width: 54px; height: 54px; padding: 0 10px; border: 0; border-radius: 16px; background: var(--gray); color: var(--text); font-size: 19px; font-weight: 700; letter-spacing: -.3px; transition: transform .2s, background .2s, color .2s; }
.ti-gen.on { background: var(--text); color: #fff; transform: scale(1.06); }
.ti-ideal { margin: 22px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--gray); color: var(--muted); font-size: 13px; text-align: center; transition: background .3s, color .3s; }
.ti-ideal b { color: var(--text); font-size: 15px; }
.ti-ideal.on { background: #eaf3fd; color: #24496b; }
.ti-ideal.on b { color: #2f5f8a; }
.ti-opts { display: grid; gap: 8px; margin-bottom: 14px; }
.ti-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--gray); text-align: left; color: var(--text); box-shadow: inset 0 0 0 1.5px transparent; animation: tiStep .4s cubic-bezier(.2, .9, .25, 1) backwards; animation-delay: calc(var(--i) * .05s); transition: box-shadow .2s, background .2s, transform .15s; }
.ti-opt:active { transform: scale(.98); }
.ti-opt span { flex: 1; }
.ti-opt b { display: block; font-size: 15px; font-weight: 600; }
.ti-opt small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 300; }
.ti-opt i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9c9cf; transition: box-shadow .2s, background .2s; }
.ti-opt.multi i { border-radius: 7px; }
.ti-opt.on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 4px 14px rgba(0, 119, 237, .12); }
.ti-opt.on i { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
/* итог */
.ti-res { text-align: center; padding-top: 6px; }
.ti-badge { width: 74px; height: 74px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2f5f8a, #5b8fc0); box-shadow: 0 10px 30px rgba(47, 95, 138, .35); animation: tiBadge .7s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.ti-badge .ti-ico.big { width: 36px; height: 36px; animation: tiSpin 1.1s cubic-bezier(.3, 1, .5, 1) 1; }
@keyframes tiBadge { from { transform: scale(.4) rotate(-60deg); opacity: 0; } }
.ti-res > small { color: var(--muted); font-size: 13px; }
.ti-sum { margin: 2px 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -1px; color: #2f5f8a; font-variant-numeric: tabular-nums; }
.ti-new { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; margin: 4px 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 13px; }
.ti-new span { width: 100%; color: var(--muted); }
.ti-new b { font-size: 20px; font-weight: 700; }
.ti-new s { color: var(--old); }
/* в корзине */
.ti-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 8px 7px 10px; border-radius: 10px; background: #eaf7ee; color: #12632e; font-size: 12px; line-height: 1.35; }
.ti-line .ti-ico { width: 16px; height: 16px; }
.ti-line > span:not(.ti-ico) { flex: 1; min-width: 0; }
.ti-line b { display: block; font-size: 13px; }
.ti-line .ti-x { width: 22px; height: 22px; background: rgba(18, 99, 46, .1); }
.ti-line .ti-x::before, .ti-line .ti-x::after { width: 9px; }
.line .sum s { margin-right: 6px; color: var(--old); font-size: 12px; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .ti-btn::after, .ti-btn .ti-ico, .ti-step, .ti-opt, .ti-badge, .ti-badge .ti-ico.big, .ti-on { animation: none; } }
.pane.prod { padding: 0 0 90px; }
.pane.prod .pbody h1 { font-size: 21px; margin-bottom: 14px; }
.pane.prod .gallery { margin: 8px 8px 0; }
.pane.prod .pbody { padding: 16px 12px 0; }
.pane.prod .price { font-size: 20px; margin: 16px 0 12px; }
.pane.prod .crumbs { padding: 12px 12px 0; font-size: 12px; }
.pane.prod .pback { margin: 12px 12px 0; }
.pane.prod .foot { margin: 24px 12px 0; }
.pane.prod .buy { height: 46px; }
.pane.entering.prod .gallery, .pane.entering.prod .pbody, .pane.entering.prod .crumbs, .pane.entering.prod .pback { animation: prodIn .55s backwards cubic-bezier(.2, .8, .2, 1); }
.pane.entering.prod .pbody { animation-delay: .08s; }
@keyframes prodIn { from { opacity: 0; transform: translateY(18px); } }
.pane.prod { transition: opacity .16s ease-in, transform .16s ease-in; }
.pane.prod.leaving, .pane.leaving.prod { opacity: 0; transform: translateX(-14px); }
.shop-wrap { margin: 36px var(--gutter) 0; }
.shop-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: var(--radius); background: #eaf3fd; color: #24496b; text-align: left; transition: transform .15s, background .3s; }
.shop-head:active { transform: scale(.98); }
.shop-head .pt-ico { width: 30px; margin: 0; flex: none; transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.sh-t { flex: 1; }
.sh-t b { display: block; font-size: 17px; font-weight: 600; }
.sh-t small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .7; }
.chev { flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .45s cubic-bezier(.2,.9,.25,1); }
.shop-wrap.open .chev { transform: translateY(2px) rotate(225deg); }
.shop-wrap.open .shop-head .pt-ico { transform: rotate(360deg) scale(1.12); }
.shop-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.9,.25,1); }
.shop-wrap.open .shop-body { grid-template-rows: 1fr; }
.shop-in { overflow: hidden; min-height: 0; }
.shop { display: grid; gap: 10px; padding-top: 10px; }
.cart-shop { margin-top: 26px; margin-bottom: 8px; }
.orders-wrap { margin-top: 12px; }
.orders-wrap .shop-head { background: var(--gray); color: var(--text); }
.orders-wrap #ordersBox { padding-top: 10px; }
.orders-wrap .order { margin: 0 0 10px; }
.orders-wrap .sub { margin: 4px 0 6px; }
.shop .reward { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.9,.25,1); }
.shop-wrap.open .shop .reward { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .06s); }
.shop-wrap.open .shop .reward:active { transform: scale(.98); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .shop-body, .shop .reward, .chev, .shop-head .pt-ico { transition: none; } }
.rw-bar { grid-column: 1 / -1; height: 5px; margin-top: 2px; border-radius: 3px; background: rgba(36, 73, 107, .12); overflow: hidden; }
.rw-bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #6896c4, #24496b); transform-origin: left; }
.shop-wrap.open .shop .reward .rw-bar i { animation: rwFill 1s calc(.3s + var(--i) * .06s) backwards cubic-bezier(.2, .9, .25, 1); }
@keyframes rwFill { from { transform: scaleX(0); } }
.rw-cap { grid-column: 1 / -1; margin-top: -8px; font-size: 11px; color: var(--muted); }
.reward.ok .rw-cap { color: #1f9d4c; font-weight: 500; }
.reward.ok .rw-bar i { background: linear-gradient(90deg, #35c46a, #1f9d4c); }
.reward { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border: 0; border-radius: var(--radius); background: var(--gray); text-align: left; color: var(--text); transition: transform .15s, opacity .15s; }
.reward:active { transform: scale(.98); opacity: .85; }
.rw-pic { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.rw-pic img { width: 100%; height: 100%; object-fit: contain; }
.rw-t b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.rw-t small { display: block; margin-top: 3px; color: var(--muted); font-weight: 300; font-size: 12px; }
.rw-p { font-size: 14px; font-weight: 600; color: #24496b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rw-p.low { color: var(--muted); }
.rw-p .pt-ico { width: 16px; margin-right: 4px; vertical-align: -1.5px; }
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0); display: flex; align-items: flex-end; transition: background .25s; }
.sheet-bg.on { background: rgba(0,0,0,.38); }
.sheet { width: 100%; max-height: 88vh; overflow-y: auto; padding: 22px var(--gutter) calc(18px + env(safe-area-inset-bottom)); background: #fff; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.9,.25,1); }
.sheet-bg.on .sheet { transform: none; }
.sh-pic { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 24px; background: var(--gray); display: grid; place-items: center; overflow: hidden; }
.sh-pic img { width: 100%; height: 100%; object-fit: contain; }
.sheet h3 { margin: 0 0 4px; text-align: center; font-size: 22px; font-weight: 600; }
.sheet .sub { margin: 0 0 16px; }
.sh-bal { margin: 14px 0 12px; text-align: center; font-size: 13px; color: var(--muted); }
.sh-bal b { color: #24496b; }
.buy:disabled { opacity: .45; }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-bg { transition: none; } }
.order { margin: 0 var(--gutter) 10px; padding: 16px; background: var(--gray); border-radius: var(--radius); }
.order .head { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
/* админ-панель: вход в профиле, вкладки и плитки обзора; остальные разделы пока заглушки */
.adm-link { display: flex; align-items: center; gap: 12px; margin: 16px var(--gutter) 0; padding: 12px 14px; border-radius: var(--radius); background: #1d1d1f; color: #fff; transition: transform .15s; }
.adm-link:active { transform: scale(.98); }
.adm-link b { display: block; font-size: 15px; font-weight: 600; }
.adm-link em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; opacity: .65; }
.adm-link .chev { margin-left: auto; color: #fff; opacity: .7; transform: rotate(-45deg); }
.adm-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .12); font-size: 19px; }
.adm { padding: 8px var(--gutter) 24px; }
.adm h1 { margin: 6px 0 2px; font-size: 26px; font-weight: 600; letter-spacing: -.4px; }
.adm h1, .adm .sub { text-align: left; }
.adm .sub { margin: 0 0 14px; }
.adm-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
.adm-tabs .chip { flex: 1 0 auto; padding: 6px 12px; white-space: nowrap; }
.adm-body { margin-top: 14px; }
.adm-body.in { animation: ipkUp .4s cubic-bezier(.2, .9, .25, 1); }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.adm-t { padding: 16px 14px; border-radius: var(--radius); background: var(--gray); }
.adm-t b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.adm-t span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.adm-soon { padding: 36px 20px; border-radius: var(--radius); background: var(--gray); text-align: center; }
.adm-soon i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; background: #fff; font-size: 28px; font-style: normal; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.adm-soon b { display: block; font-size: 18px; font-weight: 600; }
.adm-soon p { margin: 6px 0 10px; font-size: 14px; line-height: 1.45; color: var(--label); }
.adm-soon small { font-size: 11px; color: var(--muted); }
/* история баллов: строка — причина и дата слева, сумма справа (зелёная «+», красная «−») */
.pl { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 6px; padding: 12px 14px; border-radius: 14px; background: var(--gray); }
.pl-t b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.pl-t small { display: block; margin-top: 2px; font-size: 11px; font-weight: 300; color: var(--muted); }
.pl-d { flex: none; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-d.up { color: #1f9d4c; }
.pl-d.down { color: #c23030; }
/* статус заказа: плашка и шкала из четырёх шагов */
.o-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 300; }
.o-st { padding: 3px 9px; border-radius: 10px; background: #e8e8ee; color: var(--label); font-size: 11px; font-weight: 600; }
.o-st.st-confirmed { background: #e3efff; color: #0a5fc4; }
.o-st.st-ready { background: #fff1d6; color: #9a5b00; }
.o-st.st-done { background: #e3f6e9; color: #1f8f47; }
.o-st.st-canceled { background: #fde6e6; color: #c23030; }
.o-steps { display: flex; margin-top: 14px; }
.o-steps i { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.o-steps i::before { content: ''; position: absolute; top: 4px; right: 50%; width: 100%; height: 2px; background: #dcdce2; }
.o-steps i:first-child::before { display: none; }
.o-steps b { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #dcdce2; }
.o-steps em { font-style: normal; font-size: 10px; color: var(--muted); }
.o-steps i.past::before, .o-steps i.now::before { background: #24496b; }
.o-steps i.past b, .o-steps i.now b { background: #24496b; }
.o-steps i.now b { box-shadow: 0 0 0 4px rgba(36, 73, 107, .18); }
.o-steps i.now em { color: var(--text); font-weight: 600; }
.o-cancel { margin-top: 12px; padding: 8px 10px; border-radius: 10px; background: #fde6e6; color: #c23030; font-size: 12px; font-weight: 500; text-align: center; }
.order small { display: block; margin-top: 4px; color: var(--muted); font-weight: 300; font-size: 12px; line-height: 1.5; }

/* ---------- анимации (как на айпарк.рф: появление блоков при прокрутке, зум картинки) ---------- */
/* .rv вешает app.js, когда блок ещё не виден; .in — когда он вошёл в экран */
.rv { opacity: 0; transform: translateY(24px); transition-property: opacity, transform; transition-timing-function: ease; transition-duration: .5s; }
.rv.t-title { transition-duration: 1.2s; }
.rv.t-text { transition-duration: .7s; }
.rv.in { opacity: 1; transform: none; }

.pic img, .slides img { transition: transform .4s; }
.model:active, .line:active { transform: scale(.98); transition: transform .15s; }
@media (hover: hover) {
  .model:hover .pic img, .tile:hover .pic img { transform: scale(1.09); }
}
@media (hover: none) {
  .model:active .pic img, .tile:active .pic img { transform: scale(1.06); }
}
.model, .brand, .line { transition: transform .25s; }
.buy { transition: opacity .15s, transform .15s; }
.buy:active { transform: scale(.98); opacity: .85; }
.chip, .sw { transition: border-color .15s, box-shadow .15s, opacity .15s, color .25s; }
.sw.on::after { animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .pic img, .model, .brand, .socials a, .line { transition: none; }
}

.splash { padding: 120px 24px; text-align: center; color: var(--muted); font-weight: 300; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: rgba(28, 28, 32, .78); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 .5px rgba(255, 255, 255, .12), 0 10px 28px -6px rgba(0, 0, 0, .4); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 560px) {
  body { max-width: 560px; margin: 0 auto; }
}

/* iPack PRO в корзине */
.ip-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 8px 8px 10px; border-radius: 10px; background: #e8f0fe; color: #1d3f8f; font-size: 12px; line-height: 1.35; }
.ip-line > span:not(.ip-ico) { flex: 1; min-width: 0; }
.ip-line b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.ip-line b em { font-style: normal; white-space: nowrap; }
.ip-line .ti-x { width: 22px; height: 22px; background: rgba(29, 63, 143, .1); }
.ip-line .ti-x::before, .ip-line .ti-x::after { width: 9px; }
.ip-ico { flex: none; width: 16px; height: 16px; border-radius: 4px; background: #1d3f8f; }
.ip-add { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px dashed rgba(29, 63, 143, .5); border-radius: 10px; background: transparent; color: #1d3f8f; font: inherit; font-size: 12px; text-align: left; }

/* Trade-In — вторая плашка, выглядывающая из-под плашки цены: уже её и сдвинута под неё, как стопка карточек */
.ti-btn + .price.two, .ti-on + .price.two { position: relative; z-index: 2; margin-top: -16px; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); }
.ti-btn:has(+ .price.two), .ti-on:has(+ .price.two) { position: relative; z-index: 1; width: 100%; box-sizing: border-box; margin: 22px 0 0; padding: 10px 12px 26px; gap: 10px; border-radius: 13px; }
.ti-btn:has(+ .price.two) .ti-ico { width: 22px; height: 22px; }
.ti-btn:has(+ .price.two) .ti-t b { font-size: 13.5px; }
.ti-btn:has(+ .price.two) .ti-t small { margin-top: 1px; font-size: 11px; }

/* цена после применения Trade-In: один раз «вспыхивает» */
.ti-pop { display: inline-block; color: #12632e; animation: tiPricePop .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes tiPricePop { 0% { transform: scale(.82); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* корзина: iPack и Trade-In выглядывают из-под карточки товара стопкой плашек */
.lw { margin: 0 0 12px; }
.lw .line { margin-bottom: 0; position: relative; z-index: 5; }
.lw.has-stk .line { box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); }
.stk { position: relative; z-index: calc(4 - var(--n, 0)); display: flex; align-items: center; gap: 8px; width: auto; margin: -16px var(--gutter) 0; padding: 24px 8px 9px 12px; border: 0; border-radius: 13px; font: inherit; font-size: 12px; line-height: 1.35; text-align: left; }
.stk > span:not(.ti-ico) { flex: 1; min-width: 0; }
.stk b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.stk b em { font-style: normal; white-space: nowrap; }
.stk .ti-x { width: 22px; height: 22px; }
.stk .ti-x::before, .stk .ti-x::after { width: 9px; }
.stk.ip { background: #e8f0fe; color: #1d3f8f; }
.stk.ip .ti-x { background: rgba(29, 63, 143, .1); }
.stk.ti { background: #eaf7ee; color: #12632e; }
.stk.ti .ti-x { background: rgba(18, 99, 46, .1); }
.stk.ti .ti-ico { width: 16px; height: 16px; flex: none; }
.stk.add { display: block; width: calc(100% - 2 * var(--gutter)); background: #eef2fb; color: #1d3f8f; }

/* Apple в левой колонке: вместо картинки — логотип, подпись текстом */
.ri-logo { display: grid; place-items: center; width: 46px; height: 46px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ri-logo .al { width: 30px; height: 30px; }
.ri.on .ri-logo { transform: scale(1.14); }
.ri:active .ri-logo { transform: scale(.88); transition-duration: .12s; }
.stk.add { display: flex; align-items: center; gap: 8px; padding: 22px 8px 8px 12px; }
.stk.add .add-go { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; text-align: left; }
.stk.add .ipk-i { flex: none; width: 20px; height: 20px; font-size: 12px; }

/* панель менеджера */
.mg-st { margin-bottom: 10px; }
.mg-search { display: block; width: 100%; margin: 0 0 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray); font: inherit; font-size: 15px; outline: none; box-sizing: border-box; }
.mg-card { margin-bottom: 10px; padding: 14px; border-radius: var(--radius); background: var(--gray); }
.mg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mg-top b { font-size: 16px; font-weight: 600; }
.mg-sub { margin: 3px 0 8px; font-size: 12px; color: var(--muted); }
.mg-sub em { font-style: normal; color: var(--label); }
.mg-items { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.4; }
.mg-items li { padding: 3px 0; }
.mg-items small { color: var(--muted); }
.mg-tag { display: block; width: fit-content; margin-top: 3px; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 500; }
.mg-tag.ip { background: #e8f0fe; color: #1d3f8f; }
.mg-tag.ti { background: #eaf7ee; color: #12632e; }
.mg-sum { margin-top: 8px; font-size: 17px; font-weight: 600; }
.mg-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.mg-acts button { padding: 10px 6px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.mg-acts button.on { background: #1d1d1f; color: #fff; }
.mg-acts button.bad { color: #c0392b; }
.mg-acts button:disabled { opacity: .5; }
.mg-empty { text-align: center; margin: 24px 0; }
.mg-cl { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 8px; padding: 12px 14px; border: 0; border-radius: var(--radius); background: var(--gray); font: inherit; text-align: left; }
.mg-cl b { display: block; font-size: 15px; font-weight: 600; }
.mg-cl em { font-style: normal; font-weight: 400; color: var(--muted); }
.mg-cl small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.mg-cl i { flex: none; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.mg-sheet { max-height: 88vh; overflow-y: auto; }
.mg-csub { margin: 2px 0 10px; text-align: left; }
.mg-bal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: #eaf3fd; color: #24496b; }
.mg-bal b { font-size: 24px; font-weight: 600; }
.mg-form { display: grid; gap: 8px; margin-bottom: 14px; }
.mg-form input { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray); font: inherit; font-size: 15px; outline: none; box-sizing: border-box; width: 100%; }
.mg-form small { color: var(--muted); font-size: 11px; }
.mg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mg-sheet h4 { margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
.mg-led { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.mg-led li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mg-led small { display: block; color: var(--muted); font-size: 11px; }
.mg-led b.p { color: #12632e; }
.mg-led b.m { color: #c0392b; }
.adm-tabs { flex-wrap: nowrap; }
.stk.add.tb { background: #eaf7ee; color: #12632e; }

.stk.ip { display: block; padding: 24px 12px 9px 12px; }
.stk.ip .ipr { display: flex; align-items: center; gap: 10px; }
.stk.ip .ipr em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13px; white-space: nowrap; }
.stk.ip.off .ipr em { opacity: .55; }
.stk.ip .ck { position: relative; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid rgba(29, 63, 143, .45); background: transparent; transition: background .2s, border-color .2s; }
.stk.ip .ck.on { background: #1d3f8f; border-color: #1d3f8f; }
.stk.ip .ck.on::after { content: ''; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.stk.ip .ipn { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.stk.ip .ipn b { display: block; font-size: 13px; }
.stk.ip .chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.stk.ip.open .chev { transform: rotate(-135deg) translateY(-2px); }
.stk.ip .ipk-i { flex: none; width: 20px; height: 20px; font-size: 12px; }
.stk.ip .ipl { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.stk.ip.open .ipl { grid-template-rows: 1fr; }
.stk.ip .ipl ul { overflow: hidden; margin: 0; padding: 0 0 0 32px; list-style: none; min-height: 0; }
.stk.ip.open .ipl ul { padding-top: 8px; }
.stk.ip .ipl li { position: relative; padding: 2px 0 2px 14px; font-size: 12px; }
.stk.ip .ipl li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.stk.ip .ipl ul { padding-left: 2px; }
.stk.ip { padding-right: 8px; }
.stk.ip .ipr { gap: 8px; }
.stk.ip .ck { width: 22px; height: 22px; }
.stk.ip:has(+ .stk) { padding-bottom: 24px; }

.stk.ip .ck { border: 1.6px solid rgba(29, 63, 143, .5); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(29, 63, 143, .18); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background .22s, border-color .22s, box-shadow .22s; -webkit-tap-highlight-color: transparent; }
.stk.ip .ck:active { transform: scale(.86); }
.stk.ip .ck.on { border-color: transparent; background: linear-gradient(145deg, #3b72f0, #1d3f8f); box-shadow: 0 3px 9px rgba(29, 63, 143, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.stk.ip .ck.on::after { left: 7px; top: 3.4px; width: 5.5px; height: 10px; border-width: 0 2.2px 2.2px 0; animation: ckPop .32s cubic-bezier(.3, 1.6, .5, 1); }
.stk.ip .ck:not(.on) { animation: ckPulse 2.2s ease-out infinite; }
@keyframes ckPop { from { transform: rotate(45deg) scale(0); opacity: 0; } to { transform: rotate(45deg) scale(1); opacity: 1; } }
@keyframes ckPulse { 0% { box-shadow: 0 0 0 0 rgba(29, 63, 143, .35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(29, 63, 143, 0); } }
@media (prefers-reduced-motion: reduce) { .stk.ip .ck:not(.on), .stk.ip .ck.on::after { animation: none; } }

.stk.ip { padding: 20px 8px 6px 12px; }
.stk.ip:has(+ .stk) { padding-bottom: 20px; }
.stk.ip .ck.on::after { left: 7.2px; top: 2.9px; }

.stk.ip .ck.on::after { left: 0; top: 0; width: 100%; height: 100%; border: 0; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: ckPop2 .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ckPop2 { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.stk.ip .ipl ul.ipx { padding-left: 2px; padding-right: 2px; }
.stk.ip.open .ipl ul.ipx { padding-top: 10px; }
.stk.ip .ipx li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 12.5px; border-bottom: 1px dashed rgba(29, 63, 143, .18); }
.stk.ip .ipx li::before { display: none; }
.stk.ip .ipx li span { flex: 1; min-width: 0; }
.stk.ip .ipx li s { font-size: 11.5px; opacity: .5; }
.stk.ip .ipx li b { font-size: 13px; white-space: nowrap; }
.stk.ip .ipx li.gf b { padding: 2px 8px; border-radius: 99px; background: #1d3f8f; color: #fff; font-size: 11px; letter-spacing: .02em; }
.stk.ip .ipx li.sum { border: 0; padding-top: 9px; font-weight: 700; }
.stk.ip .ipx li.sum s { font-weight: 400; }
.stk.ip .ipx li.sum b { color: #0b7a3b; }
.stk.ip .ipx li.gf2 b { color: #0b7a3b; }

.stk.ip .ck, .stk.ip .ck:not(.on) { position: relative; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; animation: none; transition: none; }
.stk.ip .ck:active { transform: none; }
.stk.ip .ck::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(29, 63, 143, .45); }
.stk.ip .ck.on::before { background: #1d3f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; box-shadow: none; }
.stk.ip .ck::after, .stk.ip .ck.on::after { content: ''; position: absolute; inset: 0; left: 0; top: 0; width: auto; height: auto; border-radius: 50%; border: 1.5px solid transparent; background: none; transform: none; animation: none; }
.stk.ip .ck.on::after { border-color: #1d3f8f; }
.stk.ip .ipx li:last-child { border-bottom: 0; }

button.points { border: 0; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.points .chev { display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 9px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(-45deg); opacity: .7; }
.pt-sheet .pt-tabs { justify-content: center; margin-bottom: 14px; }
.pt-sheet [hidden] { display: none; }
.pt-sheet .buy.alt { margin-top: 14px; }

.stk.ip .ck, .stk.ip .ck:not(.on) { width: 25px; height: 25px; margin-right: -1.5px; border: 1.6px solid rgba(29, 63, 143, .45); background: transparent; }
.stk.ip .ck.on { border-color: #1d3f8f; background: #1d3f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.stk.ip .ck::before, .stk.ip .ck::after, .stk.ip .ck.on::before, .stk.ip .ck.on::after { content: none; }
.stk.ip .ck, .stk.ip .ck:not(.on) { box-sizing: border-box; margin-right: -2px; border-width: 2px; transform: none; }
.stk.ip .ipr { gap: 8px; }

.info-wrap { margin-top: 12px; }
.info-t { padding: 14px 4px 4px; font-size: 14px; line-height: 1.45; color: var(--text); }
.info-t h5 { margin: 14px 0 4px; font-size: 14px; font-weight: 600; }
.info-t h5:first-child { margin-top: 2px; }
.info-t p { margin: 0 0 6px; color: #555; }
.info-t ul { margin: 0 0 6px; padding-left: 18px; color: #555; }
.info-t li { margin: 2px 0; }
.info-t a { color: var(--blue); text-decoration: none; }
.info-t ul.ct { list-style: none; padding: 0; }
.info-t ul.ct li { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--gray); }
.info-t ul.ct b { display: block; color: var(--text); }
.info-t ul.ct a { display: block; margin-top: 2px; font-weight: 600; }
.info-t .ct-l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.info-t .ct-l a { padding: 8px 14px; border-radius: 99px; background: var(--gray); color: var(--text); font-weight: 500; }
.info-t.ct-main { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px var(--gutter) 0; padding: 0; }
.info-t.ct-main a { flex: 1 1 calc(50% - 4px); padding: 12px 14px; border-radius: 14px; background: var(--gray); color: var(--text); text-align: center; font-size: 14px; font-weight: 500; text-decoration: none; }
.ri .ri-logo, .ri .ri-logo .al { color: var(--text); fill: var(--text); }

.co-sheet .co-f { display: block; margin: 0 0 12px; }
.co-sheet .co-f > span { display: block; margin: 0 0 6px 2px; font-size: 13px; font-weight: 500; color: #555; }
.co-sheet .co-f em { font-style: normal; font-weight: 400; color: #999; }
.co-sheet input { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--gray); color: var(--text); font: inherit; font-size: 16px; outline: none; }
.co-sheet input:focus { box-shadow: 0 0 0 2px rgba(0, 113, 227, .45); }
.co-sheet .co-st { display: flex; gap: 8px; }
.co-sheet .co-st .chip { flex: 1; padding: 13px 8px; }
.co-sheet .co-err { margin: 0 0 10px; text-align: center; color: #d12f2f; font-size: 14px; }
.co-sheet .buy.alt { margin-top: 10px; }
.co-sheet [hidden] { display: none; }

/* кабинет: «‹ айпарк» вместо маленького аватара */
.who.bk { flex: none; gap: 4px; height: 40px; margin-left: -6px; padding-right: 10px; }
.bk-ch { width: 11px; height: 11px; margin: 0 2px 0 6px; border-left: 3px solid var(--text); border-bottom: 3px solid var(--text); border-radius: 1px; transform: rotate(45deg) translate(1px, -1px); }
.bk-logo { height: 20px; width: auto; }
.who.bk:active { opacity: .5; }
.bk-logo { height: 22.1px; }

/* страница айфона: окно фото ниже на 25%, сам телефон прежнего размера (пустые края квадрата обрезаются) */
.gallery.wide .slides > div { aspect-ratio: 1 / .75; padding: 0; position: relative; overflow: hidden; }
.gallery.wide .slides img { position: absolute; left: 20px; top: 50%; width: calc(100% - 40px); max-width: none; height: auto; max-height: none; aspect-ratio: 1; margin-top: calc(-50% + 20px); }
/* iPhone: плашка цены посередине, Trade-In над ней и iPack PRO под ней — стопка из трёх */
.price.solo { position: relative; z-index: 2; display: block; margin: 22px 0 0; padding: 14px 12px; border-radius: 16px; background: var(--gray); text-align: center; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); }
.price.solo b { font-size: 30px; font-weight: 600; letter-spacing: -.4px; }
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -16px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { position: relative; z-index: 1; width: 100%; box-sizing: border-box; margin: 22px 0 0; padding: 10px 12px 26px; gap: 10px; border-radius: 13px; }
.ti-btn:has(+ .price.solo) .ti-ico { width: 22px; height: 22px; }
.ti-btn:has(+ .price.solo) .ti-t b { font-size: 13.5px; }
.ti-btn:has(+ .price.solo) .ti-t small { margin-top: 1px; font-size: 11px; }
.ip-btn { position: relative; z-index: 1; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; margin: -16px 0 14px; padding: 26px 12px 11px; border: 0; border-radius: 13px; text-align: left; color: #fff; font: inherit; background: linear-gradient(120deg, #0f1f4d 0%, #1d3f8f 60%, #3b63c4 100%); box-shadow: 0 6px 18px rgba(29, 63, 143, .28); transition: transform .15s; }
.ip-btn:active { transform: scale(.98); }
.ip-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-100%); animation: tiSheen 3.2s ease-in-out infinite 1.6s; }
.ip-ico2 { flex: none; width: 24px; height: 24px; }
.ip-btn .ti-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ip-btn .ti-t b { font-size: 13.5px; font-weight: 600; }
.ip-btn .ti-t small { margin-top: 1px; font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .78); }
.ip-btn .chev { flex: none; color: #fff; transform: rotate(-45deg); margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .ip-btn::after { animation: none; } }
/* iPack PRO — тех же размеров, что Trade-In сверху */
.ip-btn { gap: 10px; padding: 26px 12px 10px; }
.ip-ico2 { width: 22px; height: 22px; }
.ip-btn .ti-t b { font-size: 13.5px; }
.ip-btn .ti-t small { margin-top: 1px; font-size: 11px; line-height: 1.3; }
.ip-btn .ti-t b, .ip-btn .ti-t small { line-height: normal; }


.price.solo { cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.price.solo:active { transform: scale(.97); }

.stk.ip { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* корзина: плашки iPack и Trade-In стопкой за карточкой, как в референсе — каждая следующая уже предыдущей и выглядывает ниже */
.stk { margin-left: calc(var(--gutter) + 14px * (var(--n, 0) + 1)); margin-right: calc(var(--gutter) + 14px * (var(--n, 0) + 1)); box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .18), 0 0 0 .5px rgba(0, 0, 0, .04); }
.stk.add { width: auto; }
/* плашка iPack PRO одной высоты с Trade-In и без него; верхние 16px скрыты под карточкой, поэтому в видимой части строка стоит ровно по центру */
.stk.ip { padding: 28px 8px 12px 12px; }
.stk.ip:has(+ .stk) { padding-bottom: 12px; }
.stk.ip .ipr { min-height: 25px; }
.co-sheet [hidden] { display: none !important; }
.co-st { flex-wrap: wrap; }
.co-st + .co-st { margin-top: 8px; }

/* AirTag: видео с сайта Apple, где сигнал расходится кругами */
.pingv { margin: 22px 0 6px; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.pingv video { display: block; width: 100%; height: auto; }
.pingv-t { padding: 4px 16px 18px; text-align: center; }
.pingv-t b { display: block; font-size: 17px; font-weight: 600; }
.pingv-t small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.pingv { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }

/* AirTag: в галерее вместо фото видео с сайта Apple (фон белый, поэтому и плашка белая) */
.gallery.vid { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }
.gallery.vid .slides > div { position: relative; padding: 0; }
.gallery.vid .slides video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* AirTag: без рамки, брелок с ключом по центру кадра (в самом видео он сдвинут вверх и вправо) */
.gallery.vid { background: transparent; box-shadow: none; border-radius: 0; }
.gallery.vid .slides video { transform: translate(-2.5%, 9%); }
.gallery.vid .slides { -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }

/* ---------- жидкое стекло, ещё объёмнее ---------- */
/* капсула: матовое стекло с тонкой яркой кромкой сверху и мягким углублением */
.chips { background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03));
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .1), inset 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(255, 255, 255, .95), 0 1px 0 rgba(255, 255, 255, .95), 0 8px 18px -12px rgba(20, 30, 60, .25); }
/* линза: зеркальный блик сверху-слева, дисперсия по краям (розовый слева, голубой справа), мягкое свечение внутри */
.gl-ind { overflow: hidden;
  background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .22) 38%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, .08) 58%, rgba(255, 255, 255, .5) 100%);
  -webkit-backdrop-filter: blur(2.5px) saturate(250%) brightness(1.1) contrast(1.04); backdrop-filter: blur(2.5px) saturate(250%) brightness(1.1) contrast(1.04);
  box-shadow: inset 1.5px 1.5px 1px -.5px rgba(255, 255, 255, 1), inset -1.5px -1.5px 1px -.5px rgba(255, 255, 255, .75),
    inset 0 -5px 9px -5px rgba(255, 255, 255, .85),
    inset 0 0 16px rgba(255, 255, 255, .5),
    0 0 0 .5px rgba(0, 0, 0, .1), 0 8px 20px -5px rgba(20, 30, 70, .3), 0 2px 4px rgba(0, 0, 0, .1); }
/* глянцевая полоса вдоль верха линзы */
.gl-ind::after { content: ''; position: absolute; left: 9%; right: 9%; top: 2px; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); opacity: .85; }
.gl-ind.drag { box-shadow: inset 2px 2px 1px -.5px #fff, inset -2px -2px 1px -.5px rgba(255, 255, 255, .9),
    inset 0 0 20px rgba(255, 255, 255, .65),
    0 0 0 .5px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .1), 0 20px 30px -8px rgba(20, 20, 60, .38); }

/* ---------- линза с настоящим преломлением ---------- */
/* линза лежит поверх подписей: внутри копия подписей, искажённая у краёв фильтром; заливка почти непрозрачная, чтобы оригинал под ней не двоился */
.gl-ind { z-index: 2; -webkit-backdrop-filter: none; backdrop-filter: none;
  background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .2) 36%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .06) 58%, rgba(255, 255, 255, .42) 100%), #f6f6f9; }
.gl-ind.drag { background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .3) 36%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .14) 45%, rgba(255, 255, 255, .14) 58%, rgba(255, 255, 255, .55) 100%), #f9f9fc; }
.gl-view { position: absolute; inset: 0; display: block; }
.gl-clone { position: absolute; left: 0; top: 0; display: block; pointer-events: none;
  transition: transform .6s linear(0, .09 4%, .33 10%, .62 17%, .84 25%, .94 34%, .98 44%, .995 58%, 1); }
.gl-ind.drag .gl-clone { transition: none; }
.gl-t { position: absolute; display: grid; place-items: center; box-sizing: border-box; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--text); }
.gl-t.on { color: var(--blue); font-weight: 600; }
.gl-t.dis { color: #c4c4c4; }
.gl-t.near { color: var(--blue); }
.gl-ind.drag .gl-t.on:not(.near) { color: var(--text); font-weight: 500; }
.pbody .opt .chips .gl-t { padding: 6px 6px; white-space: normal; line-height: 1.15; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .gl-clone { transition: none; } }
.gl-ind, .gl-ind * { font-style: normal; }

/* панель переключателя без теней: плоская капсула, объём остаётся только у линзы */
.chips { box-shadow: none; }
/* бусины цвета без тени под ними: остаётся только тонкая кромка, чтобы светлый цвет не терялся на фоне */
.sw::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
/* тень внутри бусины: затемнение у нижнего края, чтобы цвет выглядел объёмным, ничего снаружи */
.sw::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), inset 0 -5px 8px -2px rgba(0, 0, 0, .3), inset 0 2px 3px rgba(255, 255, 255, .3); }
/* AirTag: фото не показываем, пока играет видео не началось, и видео плавно проявляется на месте фото, без скачка; если видео не загрузилось, остаётся фото */
.gallery.vid .slides > div > img { opacity: 0; }
.gallery.vid .slides > div.nov > img { opacity: 1; }
.gallery.vid .slides video { opacity: 0; transition: opacity .6s ease; }
.gallery.vid .slides video.rdy { opacity: 1; }
/* iPack PRO на странице iPhone: тот же светло-голубой, что в корзине, без блика и тени */
.ip-btn { background: #e8f0fe; color: #1d3f8f; box-shadow: none; }
.ip-btn::after { content: none; animation: none; }
.ip-btn .ip-ico2 { stroke: #1d3f8f; }
.ip-btn .ti-t small { color: rgba(29, 63, 143, .8); }
.ip-btn .chev { color: #1d3f8f; }
/* стопка Трейд Ин / цена / iPack: там, где плашки касаются цены, углы цены прямые, иначе цвет плашки выглядывает «бугорками» из-за скруглений */
.ti-btn + .price.solo, .ti-on + .price.solo { border-top-left-radius: 0; border-top-right-radius: 0; }
.price.solo:has(+ .ip-btn) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.price.solo.sq { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* верх iPack PRO и низ Трейд Ина прямые: плашки стыкуются с ценой без скруглений */
.ip-btn { border-top-left-radius: 0; border-top-right-radius: 0; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* цена снова со скруглёнными углами */
.ti-btn + .price.solo, .ti-on + .price.solo, .price.solo:has(+ .ip-btn), .price.solo.sq, .price.solo { border-radius: 16px; }
/* iPack PRO заходит под цену так же, как Трейд Ин: плашка скруглена и уходит под карточку цены глубже её скруглений */
.ip-btn { border-radius: 13px; margin-top: -26px; padding-top: 36px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { border-radius: 13px; }
/* итог: низ Трейд Ина и верх iPack PRO прямые и уходят под цену, цена скруглена */
.ip-btn { border-top-left-radius: 0; border-top-right-radius: 0; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* плашки уходят под цену до её середины (цена ~64px, половина ~32px); видимая часть плашек не меняется */
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -32px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { padding-bottom: 42px; }
.ip-btn { margin-top: -32px; padding-top: 42px; }
/* ещё глубже под цену: 48px */
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -48px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { padding-bottom: 58px; }
.ip-btn { margin-top: -48px; padding-top: 58px; }
/* iPack PRO на 5% уже, по центру */
.ip-btn { width: 95%; margin-left: auto; margin-right: auto; }
/* iPack PRO: ширина прежняя, высота на 5% меньше (~112px -> ~106px) */
.ip-btn { width: 100%; margin-left: 0; margin-right: 0; padding-top: 55px; padding-bottom: 7.5px; }
/* iPack PRO ещё на 5% ниже (~106px -> ~101px) */
.ip-btn { padding-top: 52px; padding-bottom: 5.5px; }
/* iPack PRO ещё на 8% ниже (~101px -> ~93px) */
.ip-btn { padding-top: 47px; padding-bottom: 5px; }
/* iPack PRO ниже на ~40% видимой части: выравнивание высот отключено, отступы подобраны под текст */
.ip-btn { min-height: 0; padding-top: 44px; padding-bottom: 4px; }
.ip-btn { padding-top: 40px; padding-bottom: 3px; }
/* iPack PRO +20% к высоте (80px -> ~96px) */
.ip-btn { padding-top: 46px; padding-bottom: 13px; }
/* iPack PRO на странице iPhone: та же плашка, что в корзине, без галочки; прямой верх уходит под цену. Нажатие на цену ничего не делает */
.stk.ip.pdp { z-index: 1; width: auto; margin: -24px 0 14px; padding: 36px 8px 12px 12px; border-top-left-radius: 0; border-top-right-radius: 0; box-sizing: border-box; }
.price.solo { cursor: default; }
.price.solo:active { transform: none; }
/* плашка iPack PRO в закрытом виде на 22% ниже (~73px -> ~57px) */
.stk.ip.pdp { margin-top: -14px; padding: 22px 8px 10px 12px; }
.stk.ip.pdp:has(+ .stk) { padding-bottom: 10px; }
/* Трейд Ин и iPack PRO заходят под цену ровно до её середины (цена 75px, середина ~37px) и там стыкуются прямыми краями; видимая часть iPack ещё на 12% ниже */
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -37px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { padding-bottom: 47px; }
.stk.ip.pdp { margin-top: -38px; padding: 43px 8px 7px 12px; }
.stk.ip.pdp:has(+ .stk) { padding-bottom: 7px; }
/* текст iPack по центру видимой части: отступ сверху равен заходу под цену, а строка занимает всю видимую часть и центрирует содержимое */
.stk.ip.pdp, .stk.ip.pdp:has(+ .stk) { margin-top: -38px; padding: 38px 8px 0 12px; }
.stk.ip.pdp .ipr { min-height: 38px; align-items: center; }
.stk.ip.pdp .ipl ul.ipx { padding-bottom: 0; }
.stk.ip.pdp.open .ipl ul.ipx { padding-bottom: 10px; }
/* у цены был скрытый нижний отступ 12px: из-за него плашка iPack заходила под цену не на 38px, а на 26px, и текст стоял ниже центра */
.price.solo { margin-bottom: 0; }
.pane.prod .price.solo { margin-bottom: 0; }
/* iPack PRO на странице iPhone: без раскрывашки; слева кликабельная «i», она открывает слайд про iPack */
.stk.ip.pdp { cursor: default; }
.stk.ip.pdp .ipr { gap: 10px; }
.stk.ip.pdp .ipt { display: block; flex: 1; min-width: 0; font-size: 13px; }
.stk.ip.pdp .ipk-i { flex: none; width: 24px; height: 24px; font-size: 14px; border-color: #1d3f8f; background: rgba(29, 63, 143, .08); color: #1d3f8f; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stk.ip.pdp { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stk.ip.pdp:active { opacity: .85; }
/* длинное имя: приветствие переносится на вторую строку (дальше многоточие), а у очень длинного ещё и чуть мельче; короткое остаётся в одну строку */
.who-t b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.who-t.lg b { font-size: 13.5px; }
.who-t.xl b { font-size: 13px; line-height: 1.2; }
/* кнопка возврата в кабинете: чёрная таблетка, как корзина с товаром; логотип белый и на 11% меньше (22.1px -> 19.7px) */
.who.bk { flex: none; margin: 0 auto 0 0; height: 40px; gap: 7px; padding: 0 14px 0 12px; border-radius: 20px; background: var(--text); color: #fff; }
.who.bk .bk-ch { margin: 0 2px 0 3px; border-color: #fff; }
.who.bk .bk-logo { height: 19.7px; filter: brightness(0) invert(1); }
.who.bk:active { opacity: .8; }
/* надпись на кнопке возврата; логотип ещё на 20% меньше (19.7px -> 15.8px) */
.who.bk .bk-logo { height: 15.8px; }
.who.bk .bk-t { font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; color: #fff; }
.who.bk .bk-ch { display: none; }
.who.bk { padding: 0 16px 0 14px; }
/* число товаров внутри сумки, а не отдельным кружком рядом */
.cp-bag { position: relative; display: block; flex: none; line-height: 0; }
.cart-pill.full .cp-bag img { height: 23px; }
.cart-pill.full .cp-n { position: absolute; left: 0; right: 0; top: 15px; transform: translateY(-50%); display: block; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; color: #fff; text-align: center; font-size: 10.5px; line-height: 1; font-weight: 700; }

/* ---------- заставка при открытии (≈3 с) ---------- */
html.intro-on, html.intro-on body { overflow: hidden; }
#intro { position: fixed; inset: 0; z-index: 10000; background: #0a0406; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  clip-path: circle(150% at 50% calc(46% - 50px)); color: #fff; }
#intro * { box-sizing: border-box; }
#intro.out { pointer-events: none; animation: inIris .78s cubic-bezier(.65, 0, .2, 1) forwards; }
#intro.out .in-stage { animation: inStageOut .62s cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes inIris { from { clip-path: circle(150% at 50% calc(46% - 50px)); } to { clip-path: circle(0% at 50% calc(46% - 50px)); } }
@keyframes inStageOut { to { scale: .55; opacity: 0; } }
@keyframes inFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes inSpin { from { rotate: 0deg; } to { rotate: 360deg; } }

/* фон: три мягких цветных пятна медленно плывут */
.in-bg { position: absolute; inset: 0; animation: inFade 1s both; }
.in-bg i { position: absolute; border-radius: 50%; width: 95vmax; height: 95vmax; will-change: transform; }
.in-bg .b1 { left: 50%; top: calc(46% - 50px); margin: -60vmax 0 0 -60vmax; width: 120vmax; height: 120vmax; background: radial-gradient(circle, rgba(140, 32, 56, .55), rgba(140, 32, 56, 0) 62%); animation: inDriftA 4.6s ease-in-out infinite alternate; }
.in-bg .b2 { right: -42vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(96, 20, 38, .6), rgba(96, 20, 38, 0) 62%); animation: inDriftB 5.4s ease-in-out infinite alternate; }
.in-bg .b3 { left: -10vmax; bottom: -55vmax; background: radial-gradient(circle, rgba(47, 95, 138, .7), rgba(47, 95, 138, 0) 62%); animation: inDriftC 4s ease-in-out infinite alternate; }
@keyframes inDriftA { to { transform: translate(26vmax, 18vmax) scale(1.12); } }
@keyframes inDriftB { to { transform: translate(-24vmax, -20vmax) scale(.9); } }
@keyframes inDriftC { to { transform: translate(22vmax, -14vmax) scale(1.2); } }

/* звёздная пыль */
.in-stars { position: absolute; inset: 0; }
.in-stars i { position: absolute; border-radius: 50%; background: #fff; opacity: 0; animation: inTwinkle 2s ease-in-out infinite; }
@keyframes inTwinkle { 0%, 100% { opacity: 0; scale: .5; } 50% { opacity: .85; scale: 1.25; } }

/* сцена: нулевая точка в центре, всё остальное расставлено от неё */
.in-stage { position: absolute; left: 50%; top: 46%; width: 0; height: 0; }
.in-hero { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: inRise .72s 1s cubic-bezier(.3, .9, .2, 1) both; }
@keyframes inRise { from { translate: 0 0; } to { translate: 0 -50px; } }

/* кольцо: прилетает из размытия с поворотом и пружинкой, внутри крутится радужный градиент */
.in-ringbox { position: absolute; left: -85px; top: -61px; width: 170px; height: 121.6px; animation: inRingIn 1s .1s cubic-bezier(.2, 1.25, .3, 1) both; }
@keyframes inRingIn {
  0% { opacity: 0; scale: .25; rotate: -140deg; filter: blur(14px); }
  40% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; scale: 1; rotate: 0deg; filter: blur(0); }
}
.in-ring, .in-glow { position: absolute; inset: 0; }
.in-ring { overflow: hidden; -webkit-mask: url(img/ring.svg) center / contain no-repeat; mask: url(img/ring.svg) center / contain no-repeat; }
.in-ring::before { content: ''; position: absolute; inset: -70%;
  background: conic-gradient(from 0deg, #2f5f8a, #2e5880 25%, #9cc0e3 45%, #2e5880 65%, #2f5f8a 100%);
  animation: inSpin 2.2s linear infinite; }
.in-glow { filter: blur(20px); opacity: .8; animation: inBreath 1.5s ease-in-out infinite alternate; }
@keyframes inBreath { from { opacity: .45; scale: .96; } to { opacity: .9; scale: 1.1; } }

/* волна при «приземлении» кольца */
.in-pulse { position: absolute; left: -85px; top: -61px; width: 170px; height: 121.6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); opacity: 0; animation: inPulse 1.15s .85s ease-out both; }
@keyframes inPulse { from { opacity: .75; scale: .8; } to { opacity: 0; scale: 3.4; } }

/* орбита: три точки, у первой светящийся хвост-комета */
.in-orbit { position: absolute; left: -105px; top: -105px; width: 210px; height: 210px; animation: inFade .5s .6s both, inSpin 2.6s linear infinite; }
.in-orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75) 25%, rgba(255, 255, 255, 0) 25.1%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }
.in-orbit i { position: absolute; left: 50%; top: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .85); transform-origin: 3.5px 108.5px; }
.in-orbit i:nth-child(2) { transform: rotate(120deg); background: #9cc0e3; box-shadow: 0 0 10px 2px rgba(217, 120, 138, .85); }
.in-orbit i:nth-child(3) { transform: rotate(240deg); background: #4a7fb0; box-shadow: 0 0 10px 2px rgba(74, 127, 176, .9); }

/* логотип: проявляется слева направо, потом по нему пробегает блик */
.in-wordwrap { position: absolute; left: -125px; top: 24px; width: 250px; animation: inUp .8s 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes inUp { from { translate: 0 16px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.in-word { width: 100%; aspect-ratio: 7654 / 1700; -webkit-mask: url(img/logo-a.svg) center / contain no-repeat; mask: url(img/logo-a.svg) center / contain no-repeat;
  background: linear-gradient(105deg, #8f8f9e 0%, #8f8f9e 30%, #fff 45%, #fff 55%, #8f8f9e 70%, #8f8f9e 100%); background-size: 280% 100%; background-position: 100% 0;
  clip-path: inset(0 100% 0 0); animation: inWipe .95s 1s cubic-bezier(.3, .7, .2, 1) forwards, inShine 1.1s 1.85s ease-in-out forwards; }
@keyframes inWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes inShine { from { background-position: 100% 0; } to { background-position: 0% 0; } }

.in-tag { position: absolute; left: -150px; top: 98px; width: 300px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); white-space: nowrap; animation: inTag .9s 1.5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes inTag { from { opacity: 0; translate: 0 8px; letter-spacing: .5em; } to { opacity: 1; translate: 0 0; letter-spacing: .16em; } }

/* категории по очереди «загораются» */
.in-tick { position: absolute; left: -170px; top: 132px; width: 340px; display: flex; justify-content: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.in-tick span { opacity: .2; animation: inTickOn .45s both; }
.in-tick span:nth-child(1) { animation-delay: 1.7s; }
.in-tick span:nth-child(2) { animation-delay: 1.92s; }
.in-tick span:nth-child(3) { animation-delay: 2.14s; }
.in-tick span:nth-child(4) { animation-delay: 2.36s; }
@keyframes inTickOn { from { opacity: .2; } to { opacity: 1; text-shadow: 0 0 12px rgba(255, 255, 255, .55); } }

/* полоска-загрузка */
.in-bar { position: absolute; left: 50%; bottom: calc(9% + env(safe-area-inset-bottom)); width: 120px; height: 3px; margin-left: -60px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; animation: inFade .4s .2s both; }
.in-bar::after { content: ''; display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #2f5f8a, #6c9dcb); animation: inBar 2.6s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes inBar { to { transform: scaleX(1); } }
.in-bg .b1 { animation: inCalm 3s ease-in-out infinite alternate; }
@keyframes inCalm { to { transform: scale(1.12); } }

/* компактнее */
.in-ringbox { left: -58px; top: -41.5px; width: 116px; height: 83px; }
@keyframes inRise { from { translate: 0 0; } to { translate: 0 -34px; } }
.in-wordwrap { left: -88px; width: 176px; top: 20px; }
.in-tag { top: 70px; font-size: 11px; }
@keyframes inTag { from { opacity: 0; translate: 0 6px; letter-spacing: .4em; } to { opacity: 1; translate: 0 0; letter-spacing: .14em; } }
.in-glow { filter: blur(14px); }
#intro { clip-path: circle(150% at 50% calc(46% - 34px)); }
@keyframes inIris { from { clip-path: circle(150% at 50% calc(46% - 34px)); } to { clip-path: circle(0% at 50% calc(46% - 34px)); } }

/* кольцо влетает в значок шапки: остальное гаснет, фон растворяется и открывает магазин */
#intro.fly { pointer-events: none; background: rgba(10, 4, 6, 0); transition: background .6s .1s ease; }
#intro.fly .in-wordwrap, #intro.fly .in-bg { animation: inGone .4s forwards; }
@keyframes inGone { to { opacity: 0; } }
.stk.ip.pdp { cursor: default; }
.stk.ip.pdp:active { opacity: 1; }

/* панель цены = кнопка «Добавить в корзину» */
.price[role="button"], .price.solo { cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.price[role="button"]:active, .price.solo:active { transform: scale(.98); }
.pcta { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price.solo .pcta { margin-top: 1px; }
.price.two .pcta { grid-column: 1 / -1; margin-top: 6px; text-align: center; }
.price.pl { align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: var(--gray); }
.price.pl span { font-size: 24px; font-weight: 600; letter-spacing: -.3px; }
.price.pl .pcta { text-align: right; }
/* размер панели цены остаётся прежним: надпись «Добавить в корзину» умещается внутри */
.price.solo { height: 74.5px; padding: 0 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.price.solo b { line-height: 1.1; }
.price.solo .pcta { margin-top: 3px; line-height: 1.2; }
.price.two { height: 80.6px; padding: 8px 10px 4px; align-content: center; row-gap: 0; }
.price.two .pcta { margin-top: 0; line-height: 13px; }
.price.pl { padding: 0; background: none; border-radius: 0; }
/* iPhone: цена ровно по середине панели, надпись прижата к низу */
.price.solo { justify-content: center; }
.price.solo .pcta { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; line-height: 12px; text-align: center; }

/* цена и надпись подняты на 15% высоты панели (≈11 px) */
.price.solo { padding-bottom: 22px; }
.price.solo .pcta { bottom: 17px; }

/* опущены на 6% высоты панели (≈4.5 px) */
.price.solo { padding-bottom: 13px; }
.price.solo .pcta { bottom: 12.5px; }

/* плашка цены оформлена как задник переключателя (капсула «жидкого стекла»): тонкая кромка, мягкий вертикальный градиент, размытие; без теней.
   Подложка почти белая, а не прозрачная: плашка заходит на тёмный Trade-In, и цена должна читаться */
.price.solo, .price.two { border: 1px solid rgba(118, 118, 128, .32); box-shadow: none;
  background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f8f8fa;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }

/* логотип чёрный на белой плашке: фон заставки остаётся тёмным, а чёрные буквы читаются */
.in-wordwrap { left: -98px; width: 196px; top: 22px; padding: 11px 20px; box-sizing: border-box; border-radius: 999px; background: #fff; }
.in-word { background: linear-gradient(105deg, #000 0%, #000 30%, #55555c 45%, #55555c 55%, #000 70%, #000 100%); background-size: 280% 100%; background-position: 100% 0; }
/* заставка: плашка как адресная/поисковая строка, адрес «набирается» по буквам с кареткой */
.in-wordwrap { left: -112px; width: 224px; top: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 22px 11px 18px; animation: inUp .6s .85s cubic-bezier(.2, .8, .2, 1) both, inPress .26s 2.2s ease-out; }
.in-sicon { flex: none; display: block; }
.in-wordbox { position: relative; flex: none; width: 156px; }
.in-word { width: 100%; background: #000; clip-path: inset(0 100% 0 0); animation: inType 1s 1.25s step-end forwards; }
@keyframes inType {
  0% { clip-path: inset(0 100% 0 0); }
  6% { clip-path: inset(0 88% 0 0); }
  16% { clip-path: inset(0 77% 0 0); }
  25% { clip-path: inset(0 66% 0 0); }
  38% { clip-path: inset(0 54% 0 0); }
  47% { clip-path: inset(0 43% 0 0); }
  59% { clip-path: inset(0 31% 0 0); }
  70% { clip-path: inset(0 26.5% 0 0); }
  78% { clip-path: inset(0 17% 0 0); }
  90%, 100% { clip-path: inset(0 0 0 0); }
}
.in-caret { position: absolute; left: 0; top: 14%; width: 2px; height: 72%; margin-left: 1px; border-radius: 1px; background: #4a7fb0; opacity: 0;
  animation: inBlink .9s .95s step-end infinite, inCaretMove 1s 1.25s step-end forwards, inCaretOut .2s 2.4s forwards; }
@keyframes inBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes inCaretMove {
  0% { left: 0%; } 6% { left: 11.5%; } 16% { left: 22.5%; } 25% { left: 33.5%; } 38% { left: 45.5%; }
  47% { left: 56.5%; } 59% { left: 68.5%; } 70% { left: 73%; } 78% { left: 82.5%; } 90%, 100% { left: 99.5%; }
}
@keyframes inCaretOut { to { opacity: 0; } }
@keyframes inPress { 0%, 100% { scale: 1; } 45% { scale: .965; } }
/* кольцо больше не «ездит» вверх во время набора: оно сразу садится на своё место и стоит, а строка появляется под ним после */
.in-hero { animation: none; translate: 0 -34px; }
.in-wordwrap { animation: inUp .6s 1.05s cubic-bezier(.2, .8, .2, 1) both, inPress .26s 2.2s ease-out; }
/* ---------- «Мои заказы»: кнопка в профиле и окно с заказами ---------- */
.ord-btn { display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--gutter)); margin: 12px var(--gutter) 0; padding: 12px 14px; border: 0; border-radius: var(--radius); background: var(--gray); color: var(--text); text-align: left; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.ord-btn:active { transform: scale(.98); }
.ob-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(145deg, #4a7fb0, #2f5f8a); box-shadow: 0 6px 12px -6px rgba(47, 95, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.ob-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ob-t b { font-size: 16px; font-weight: 600; }
.ob-t small { margin-top: 1px; font-size: 12px; color: var(--muted); }
.ob-n { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #24496b; color: #fff; font-size: 12px; font-weight: 700; }
.ob-n[hidden] { display: none; }
.ord-btn .chev { color: var(--text); opacity: .55; transform: rotate(-45deg); margin-right: 2px; }

.ord-sheet { min-height: 62vh; max-height: 92vh; background: #f4f4f7; padding-top: 10px; }
.ord-sheet h3 { margin-top: 6px; }
.ord-sheet > .sub { text-align: center; margin-bottom: 16px; }
.os-grab { display: block; width: 38px; height: 5px; margin: 0 auto 8px; border-radius: 3px; background: rgba(0, 0, 0, .16); }
.ord-sheet #ordersBox { display: flex; flex-direction: column; gap: 12px; }
.ord-sheet .buy.alt { margin-top: 16px; background: #fff; }
.oc { padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -14px rgba(20, 20, 40, .22); animation: ocIn .5s calc(var(--i, 0) * 70ms + 120ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.oc.fresh { animation: freshIn .4s ease backwards; }
@keyframes ocIn { from { opacity: 0; translate: 0 18px; } }
.oc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.oc-id b { display: block; font-size: 16px; font-weight: 600; }
.oc-id small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--muted); }
.oc-items { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.oc-items li { display: flex; align-items: center; gap: 12px; }
.oc-pic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gray); overflow: hidden; }
.oc-pic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.oc-nm { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.oc-nm b { flex: 1 0 100%; font-size: 14px; font-weight: 500; line-height: 1.25; }
.oc-nm small { font-size: 12px; font-weight: 400; color: var(--muted); }
.oc-items em { flex: none; font-style: normal; font-size: 13px; font-weight: 600; color: var(--label); }
.oc-tag { display: inline-block; margin-top: 2px; padding: 2px 8px; border-radius: 8px; background: #e6edfb; color: #1d3f8f; font-size: 11px; font-style: normal; font-weight: 600; }
.oc-tag.ti { background: #f3e4e8; color: #24496b; }
.oc .o-steps { margin-top: 16px; }
.oc-sum { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.oc-sum b { font-size: 18px; font-weight: 600; color: var(--text); }
.oc-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 36px 20px 24px; text-align: center; }
.oc-e-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; background: #fff; box-shadow: 0 10px 24px -14px rgba(20, 20, 40, .3); }
.oc-e-ico img { width: 34px; }
.oc-empty b { font-size: 17px; font-weight: 600; }
.oc-empty small { max-width: 240px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .oc { animation: none; } }
/* окно заказов не заезжает под кнопки Telegram сверху (закрыть / меню) и не отдаёт свайп вниз приложению Telegram */
.ord-sheet { max-height: calc(100vh - var(--tg-top) - 14px); max-height: calc(100dvh - var(--tg-top) - 14px); overscroll-behavior: contain; }
.os-grab { position: relative; }
.os-grab::after { content: ''; position: absolute; left: -60px; right: -60px; top: -12px; bottom: -14px; }
/* ---------- окна «Гарантия» и «Доставка и оплата» ---------- */
.wd-sheet { min-height: 56vh; max-height: calc(100vh - var(--tg-top) - 14px); max-height: calc(100dvh - var(--tg-top) - 14px); overscroll-behavior: contain; background: #f4f4f7; padding-top: 10px; }
.wd-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #4a7fb0, #2f5f8a); box-shadow: 0 14px 26px -16px rgba(47, 95, 138, .8); animation: ipkUp .6s .08s backwards cubic-bezier(.2, .9, .25, 1); }
.wd-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 20% 0%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); pointer-events: none; }
.wd-ico { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.wd-ht { position: relative; display: flex; flex-direction: column; }
.wd-ht b { font-size: 22px; font-weight: 600; line-height: 1.15; }
.wd-ht small { margin-top: 3px; font-size: 12.5px; opacity: .78; }
.wd-s { margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -16px rgba(20, 20, 40, .22); animation: ocIn .5s calc(var(--i, 0) * 70ms + 160ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.wd-s h5 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #24496b; }
.wd-s p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--label); }
.wd-s p:last-child, .wd-s ul:last-child { margin-bottom: 0; }
.wd-s ul { margin: 0 0 6px; padding: 0; list-style: none; }
.wd-s li { position: relative; padding: 3px 0 3px 18px; font-size: 14px; line-height: 1.45; color: var(--label); }
.wd-s li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #4a7fb0; }
.wd-sheet #wdClose { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .wd-hero, .wd-s { animation: none; } }
/* соцсети: плитки с цветными иконками */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px var(--gutter) 0; }
.ct-tile { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 12px; border-radius: 18px; background: var(--gray); color: var(--text); text-decoration: none; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.ct-tile:active { transform: scale(.97); }
.ct-tile > span { display: flex; flex-direction: column; min-width: 0; }
.ct-tile b { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.ct-tile small { margin-top: 1px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ct-vk { font-size: 15px; font-weight: 800; font-style: normal; letter-spacing: -.3px; }
.ct-tile.tg .ct-ic { background: linear-gradient(145deg, #4cc0f0, #1e8fc7); }
.ct-tile.wa .ct-ic { background: linear-gradient(145deg, #4ddb7a, #1b9d49); }
.ct-tile.vk .ct-ic { background: linear-gradient(145deg, #3b93ff, #0a58d0); }
.ct-tile.ml .ct-ic { background: linear-gradient(145deg, #4a7fb0, #2f5f8a); }
/* без иконок: название и подпись по центру плитки */
.ct-tile { justify-content: center; text-align: center; padding: 13px 12px; }
.ct-tile > span { align-items: center; }

/* плитки соцсетей как задник «жидкого стекла»: капсула с тонкой кромкой, мягким градиентом и размытием, без теней */
.ct-tile { min-height: 46px; padding: 0 14px; border-radius: 24px; border: 1px solid rgba(118, 118, 128, .32);
  background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f9f9fb;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: none; }
.ct-tile b { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- избранное и колокольчик на карточке товара ---------- */
.pact { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; gap: 8px; }
.pa-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(118, 118, 128, .28); color: #1d1d1f;
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .6)); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.pa-btn:active { transform: scale(.88); }
.pa-btn.on { color: #4a7fb0; }
.pa-btn.on svg path { fill: currentColor; }
.pa-btn.busy { opacity: .55; pointer-events: none; }
.pa-btn.on svg { animation: paPop .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes paPop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.fv-sheet #fvBox { display: flex; flex-direction: column; gap: 10px; }
.fv-h { margin: 8px 4px 0; font-size: 13px; font-weight: 600; color: #24496b; }
.fv-card { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -16px rgba(20, 20, 40, .22); animation: ocIn .45s calc(var(--i, 0) * 60ms + 100ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.fv-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.fv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fv-t b { font-size: 14px; font-weight: 500; line-height: 1.25; }
.fv-t small { margin-top: 2px; font-size: 12px; color: var(--muted); }
.fv-x { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #4a7fb0; -webkit-tap-highlight-color: transparent; }
.fv-x.on svg path { fill: currentColor; }
.fv-x:active { transform: scale(.88); }
.fv-e { color: #4a7fb0; }
.fv-e svg { width: 30px; height: 30px; }

/* ---------- пуш-панель ---------- */
.pp .pp-l { margin: 18px 2px 8px; font-size: 13px; font-weight: 600; color: #24496b; }
.pp-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chip { padding: 8px 14px; border-radius: 20px; border: 1px solid rgba(118, 118, 128, .32); background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f9f9fb; color: var(--text); font-size: 13px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.pp-chip.on { background: #2f5f8a; border-color: #2f5f8a; color: #fff; }
.pp-min { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--label); }
.pp-min input { width: 110px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(118, 118, 128, .32); background: #fff; font: inherit; font-size: 15px; color: var(--text); }
.pp-count { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 14px; color: var(--label); }
.pp-count b { color: var(--text); font-size: 17px; }
.pp-in { display: block; width: 100%; margin: 0 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(118, 118, 128, .32); background: #fff; font: inherit; font-size: 15px; line-height: 1.4; color: var(--text); resize: vertical; -webkit-appearance: none; appearance: none; }
.pp-in:focus { outline: none; border-color: #4a7fb0; }
.pp-cnt { text-align: right; font-size: 11px; color: var(--muted); }
.pp-res { display: flex; flex-direction: column; gap: 6px; }
.pp-r { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--gray); color: var(--text); font-size: 13.5px; text-align: left; }
.pp-r small { flex: none; color: var(--muted); font-size: 12px; }
.pp-prev { padding: 14px; border-radius: 18px; background: #e8edf3; }
.pp-bub { max-width: 100%; padding: 10px 12px; border-radius: 16px 16px 16px 6px; background: #fff; font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); white-space: pre-wrap; word-break: break-word; }
.pp-bub b { display: block; margin-bottom: 6px; }
.pp-bub span.ph { color: var(--old); }
.pp-pbtn { margin-top: 6px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .75); color: #2a6fd6; font-size: 14px; font-weight: 500; text-align: center; }
.pp-act { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 18px; }
.pp-act .buy.alt { margin-top: 0; }
.pp-hist { display: flex; flex-direction: column; gap: 8px; }
.pp-h { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 13px; }
.pp-h b { display: block; font-size: 14px; font-weight: 500; }
.pp-h small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.pp-h span { flex: none; font-weight: 600; }
.pp-h i { font-style: normal; font-weight: 400; color: #c23030; }
.pp-sheet { padding-top: 22px; }
.pp-sheet .pp-bub { margin: 0 0 14px; background: var(--gray); box-shadow: none; }
.pp-prog { margin-bottom: 14px; }
.pp-bar { height: 6px; border-radius: 3px; background: #ececf0; overflow: hidden; }
.pp-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2f5f8a, #6c9dcb); transition: width .4s ease; }
.pp-prog small { display: block; margin-top: 6px; text-align: center; color: var(--muted); font-size: 12px; }
.pp-min[hidden], .pp-bub b[hidden], .pp-pbtn[hidden] { display: none; }

/* сердечко и колокольчик: в одной строке с «‹ iPhone», над картинкой, а не поверх неё */
.prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prow .pback { margin-bottom: 0; }
.pane.prod .prow { padding-right: 8px; }
.pact { position: static; top: auto; right: auto; margin-top: 8px; gap: 6px; }
.pa-btn { width: 36px; height: 36px; }
.pa-btn svg { width: 19px; height: 19px; }
/* значки по центру кружков: колокольчик с язычком и сердце визуально сидели ниже середины */
#bellBtn svg { translate: 0 -1.4px; }
#favBtn svg { translate: 0 -.6px; }
.fv-x svg { translate: 0 -.5px; }


/* рассрочка */
.inst-btn { width: 100%; margin: 0 0 14px; }
.inst-row { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(0,0,0,.07); font-size: 15px; }
.inst-row:first-of-type { border-top: 0; }
.inst-row b { font-size: 17px; font-variant-numeric: tabular-nums; }
.inst-row small { font-size: 12px; font-weight: 500; color: var(--label); }
/* промокоды */
.pm-wrap.pm-me { margin: 12px var(--gutter) 0; }
.pm-wrap.pm-cart { margin: 4px var(--gutter) 0; }
.pm-box { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: var(--radius); background: var(--gray); }
.pm-box .ob-ico { width: 38px; height: 38px; border-radius: 12px; }
.pm-in { flex: 1; min-width: 0; padding: 10px 2px; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .5px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pm-in::placeholder { font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pm-in:focus { outline: none; }
.pm-go { flex: none; padding: 9px 14px; border: 0; border-radius: 14px; background: #2f5f8a; color: #fff; font-size: 13px; font-weight: 600; transition: opacity .2s; }
.pm-go:disabled { opacity: .5; }
.pm-x { flex: none; position: relative; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(118, 118, 128, .18); }
.pm-x::before, .pm-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 1px; background: var(--text); transform: rotate(45deg); }
.pm-x::after { transform: rotate(-45deg); }
.pm-msg { margin: 6px 6px 0; font-size: 13px; color: #1f7a45; }
.pm-msg.bad { color: #c23030; }
.pm-msg[hidden] { display: none; }
.pm-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px var(--gutter) -8px; font-size: 15px; color: var(--label); }
.pm-row b { font-weight: 600; color: #1f7a45; text-align: right; }
.pm-miss { margin: 10px var(--gutter) -8px; font-size: 13px; color: #b26a00; }
.oc-promo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: #eaf3fd; font-size: 13px; color: #24496b; }
.oc-promo b { font-weight: 600; }
.oc-promo em { flex-basis: 100%; font-style: normal; font-weight: 500; }
/* панель промокодов */
.pm-codew { display: flex; gap: 8px; }
.pm-codew .pp-in { flex: 1; text-transform: uppercase; }
.pm-dice { flex: none; width: 48px; margin: 0 0 8px; border: 1px solid rgba(118, 118, 128, .32); border-radius: 14px; background: #fff; font-size: 20px; }
.pm-hint { margin: 8px 2px 0; font-size: 12.5px; color: var(--muted); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.pm-grid label { display: block; font-size: 12px; color: var(--muted); }
.pm-grid label .pp-in { margin-top: 4px; }
#pmPick { margin-top: 8px; }
.pm-act { margin-top: 14px; }
.pm-act:has(#pmReset[hidden]) { grid-template-columns: 1fr; }
#pmReset[hidden] { display: none; }
.pm-list { display: flex; flex-direction: column; gap: 10px; }
.pm-item { padding: 14px; border-radius: 18px; background: var(--gray); }
.pm-item.off { opacity: .6; }
.pm-it-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-code { padding: 4px 10px; border: 1px dashed rgba(47, 95, 138, .55); border-radius: 10px; background: #fff; color: #2f5f8a; font-size: 15px; font-weight: 700; letter-spacing: .6px; }
.pm-st { font-size: 12px; color: var(--muted); }
.pm-item p { margin: 8px 0 2px; font-size: 14.5px; line-height: 1.4; }
.pm-item small { display: block; font-size: 12px; color: var(--muted); }
.pm-it-act { display: flex; gap: 8px; margin-top: 10px; }
.pm-it-act button { flex: 1; padding: 8px 6px; border: 0; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 500; color: var(--text); }
.pm-it-act .del { color: #c23030; }
.pm-it-act .del.ask { background: #c23030; color: #fff; }
/* панель цен */
.pr-q { width: 100%; box-sizing: border-box; margin: 4px 0 8px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--gray); font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pr-q:focus { outline: none; }
.pr-only { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.pr-it { padding: 0; }
.pr-it summary { display: flex; align-items: center; gap: 8px; padding: 14px; list-style: none; cursor: pointer; }
.pr-it summary::-webkit-details-marker { display: none; }
.pr-it summary span { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.pr-it summary em { flex: none; font-style: normal; font-size: 12.5px; color: var(--muted); }
.pr-n { flex: none; font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 10px; background: #2f5f8a; color: #fff; }
.pr-rows { padding: 0 14px 6px; }
.pr-row { padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .07); }
.pr-row b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-row.cu b::after { content: ' · своя цена'; font-weight: 500; color: #2f5f8a; }
.pr-f { display: flex; align-items: flex-end; gap: 8px; }
.pr-f label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.pr-f input { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pr-f input:focus { outline: 2px solid #2f5f8a; }
.pr-s { flex: none; padding: 10px 12px; border: 0; border-radius: 12px; background: #2f5f8a; color: #fff; font-size: 13px; font-weight: 600; }
.pr-s:disabled { opacity: .35; }
.pr-row small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pr-r { color: #c23030; cursor: pointer; }
.pr-f input { flex: 1; min-width: 0; }

.pr-ph { padding: 12px 0 8px; border-top: 1px solid rgba(0, 0, 0, .07); }
.pr-ph > b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-ph small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pr-pics { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-pic, .pr-add { position: relative; width: 64px; height: 64px; border-radius: 12px; background: #fff; overflow: hidden; }
.pr-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pr-x { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 15px; line-height: 22px; text-align: center; }
.pr-x.ask { background: #c23030; }
.pr-add { display: flex; align-items: center; justify-content: center; border: 1.5px dashed #2f5f8a; background: transparent; color: #2f5f8a; font-size: 26px; cursor: pointer; }
.pr-add.busy { opacity: .4; pointer-events: none; }
.pr-ph { border-top: 0; padding-top: 4px; }
.pr-ph + .pr-row { border-top: 1px solid rgba(0, 0, 0, .07); }

.pr-col { padding: 8px 0 10px; }
.pr-col > b { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-col > b em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.pr-dot { flex: none; width: 14px; height: 14px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pr-ph { padding: 4px 0 0; }
/* новые товары, категории, цвета */
.pr-tools { display: flex; gap: 8px; margin: 4px 0 10px; }
.pr-tools button { flex: 1; padding: 11px 8px; border: 0; border-radius: 14px; background: #2f5f8a; color: #fff; font-size: 14px; font-weight: 600; }
.pr-form { margin: 0 0 14px; padding: 14px; border-radius: 18px; background: var(--gray); }
.pr-form h3 { margin: 0 0 10px; font-size: 16px; }
.pr-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.pr-form input:not([type=color]):not([type=file]), .pr-form select, .pr-in { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pr-form input:focus, .pr-form select:focus, .pr-in:focus { outline: 2px solid #2f5f8a; }
.pf-grp { margin: 4px 0 12px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .07); }
.pf-grp > b { display: block; margin-bottom: 8px; font-size: 13.5px; }
.pf-grp > b em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.pf-grp > input { margin-bottom: 8px; }
.pf-r { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pf-r input { flex: 1; min-width: 0; }
.pf-r .pf-op { flex: 0 0 38%; }
.pf-r input[type=color], .pr-clr { flex: none; width: 46px; height: 42px; padding: 2px; border: 0; border-radius: 12px; background: #fff; }
.pf-t { flex: 1; font-size: 14px; }
.pf-t em { font-style: normal; font-size: 12px; color: var(--muted); }
.pf-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 17px; background: #fff; color: #c23030; font-size: 18px; }
.pf-add { padding: 8px 12px; border: 0; border-radius: 12px; background: #fff; color: #2f5f8a; font-size: 13px; font-weight: 600; }
.pf-del { flex: none; padding: 8px 12px; border: 0; border-radius: 12px; background: #fff; color: #c23030; font-size: 13px; }
.pf-del.wide { width: 100%; margin-top: 12px; }
.pf-del.ask { background: #c23030; color: #fff; }
.pr-go { width: 100%; margin-top: 10px; padding: 13px; border: 0; border-radius: 14px; background: #2f5f8a; color: #fff; font-size: 15px; font-weight: 600; }
.pr-go:disabled { opacity: .5; }
.pr-form small, .pr-addc small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pr-addc { padding: 12px 0 6px; border-top: 1px solid rgba(0, 0, 0, .07); }
.pr-addc > b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-addc .pr-in { margin-bottom: 8px; }
.pr-addc .pr-f .pr-in { margin-bottom: 0; }
.sf-file input { font-size: 13px; }
.pr-f .pr-clr { flex: none; width: 46px; height: 42px; }

.pr-it summary span { display: flex; flex-direction: column; }
.pr-it summary .pr-sec { margin: 2px 0 0; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.pr-cx { margin-left: 8px; padding: 3px 9px; border: 0; border-radius: 10px; background: #fff; color: #c23030; font-size: 11.5px; font-weight: 500; }
.pr-cx.ask { background: #c23030; color: #fff; }
.pr-col > b .pr-cx + em, .pr-col > b em { margin-left: auto; }
.pr-mv { display: flex; gap: 6px; }
.pr-mv button { flex: 1; padding: 9px 4px; border: 0; border-radius: 12px; background: #fff; color: var(--text); font-size: 12.5px; font-weight: 500; }
/* панель Trade-In */
.tp-g{margin:18px 0 8px;font-size:15px}
.tp-m{margin-bottom:10px}
.tp-row{display:flex;gap:6px;margin:6px 0;align-items:center}
.tp-row input,.tp-nn{min-width:0;padding:9px 10px;border:1px solid var(--line,#ddd);border-radius:10px;font:inherit;background:transparent;color:inherit}
.tp-l{flex:0 0 78px}.tp-p,.tp-p2{flex:1}
.tp-nn{width:100%;margin:4px 0;box-sizing:border-box}
.tp-d,.tp-s,.tp-dm,.tp-add{border:0;background:none;color:inherit;opacity:.65;font:inherit;cursor:pointer;padding:6px}
.tp-dm{font-size:12px}.tp-add{display:block;margin-top:2px}
#tpSave,#tpNew{margin-top:10px;width:100%}
/* обычная цена (без скидки) — в той же плашке с окантовкой, что и у iPhone и скидок */
.price.pl { box-sizing: border-box; min-height: 74px; padding: 12px 16px; border-radius: 16px; border: 1px solid rgba(118, 118, 128, .32); box-shadow: none;
  background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f8f8fa;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
/* надпись «Добавить в корзину» — под ценой по центру, как у iPhone */
.price.pl { flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 74.5px; text-align: center; }
.price.pl span { font-size: 30px; font-weight: 600; letter-spacing: -.4px; line-height: 1.1; }
.price.pl .pcta { text-align: center; line-height: 1.2; }
/* intro-v2:start */
/* заставка: строка поиска — «жидкое стекло»: прозрачная капсула с размытием, светлой кромкой и бликом сверху */
.in-wordwrap { background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, .15)); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(255, 255, 255, .14), inset 0 0 20px rgba(255, 255, 255, .08), 0 16px 36px -12px rgba(0, 0, 0, .6); }
.in-wordwrap::before { content: ''; position: absolute; left: 14px; right: 14px; top: 2px; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)); }
.in-sicon { stroke: rgba(255, 255, 255, .7); position: relative; }
.in-wordbox { position: relative; }
.in-word { background: #fff; }
.in-caret { background: #b9d8f5; }
/* intro-v2:end */
/* intro-hw:start */
/* заставка к Хеллоуину: те же движения, но фон угольно-фиолетовый, кольцо и свет — тыквенно-оранжевые, вместо лупы тыква */
#intro.hw { background: #08050b; }
#intro.hw .in-bg .b1 { background: radial-gradient(circle, rgba(255, 106, 0, .34), rgba(120, 40, 180, .16) 38%, rgba(120, 40, 180, 0) 64%); }
#intro.hw .in-ring::before { background: conic-gradient(from 0deg, #4a1d00, #b84a00 25%, #ffb15c 45%, #b84a00 65%, #4a1d00 100%); }
#intro.hw .in-ringbox::before { content: ''; position: absolute; inset: -70%; background: radial-gradient(circle, rgba(255, 120, 20, .24), rgba(255, 120, 20, 0) 62%); animation: inFade 1s .6s both; }
#intro.hw .in-caret { background: #ff9a3c; }
#intro.hw .in-wordwrap { border-color: rgba(255, 190, 120, .28); box-shadow: inset 0 1px 0 rgba(255, 220, 180, .55), inset 0 -1px 0 rgba(255, 170, 80, .16), inset 0 0 20px rgba(255, 150, 50, .07), 0 16px 36px -12px rgba(0, 0, 0, .7); }
#intro.hw .in-pk { position: absolute; right: 14px; top: -17px; font-size: 24px; line-height: 1; rotate: 12deg; filter: drop-shadow(0 0 10px rgba(255, 130, 20, .65)); animation: inPumpkin .7s 2.2s cubic-bezier(.2, 1.6, .4, 1) both; }
.in-pk { display: none; }
#intro.hw .in-pk { display: block; }
@keyframes inPumpkin { from { opacity: 0; scale: .2; translate: 0 10px; } to { opacity: 1; scale: 1; translate: 0 0; } }
#intro.hw .in-word { background: linear-gradient(90deg, #fff 0%, #ffe3c2 55%, #ffb25c 100%); }
/* intro-hw:end */
/* цена без плашки iPack (не iPhone): отступ до кешбека */
.pane.prod .price.solo:not(.sq) { margin-bottom: 14px; }
/* пять и больше вариантов (модели iPhone для стекла и чехлов): лента отдельных таблеток, листается пальцем; выбранная — чёрная, как кнопка корзины,
   по краям плавное затухание подсказывает, что есть что листать. Стеклянная капсула здесь не нужна: она рассчитана на 2-4 варианта */
.mrail { position: relative; display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
.mrail::-webkit-scrollbar { display: none; }
.mrail .chip { flex: none; scroll-snap-align: center; min-height: 40px; padding: 0 18px; border-radius: 999px; white-space: nowrap; font-size: 15px; font-weight: 500;
  background: var(--gray); border: 1px solid transparent; transition: background .2s, color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.mrail .chip:active { transform: scale(.96); }
.mrail .chip.on { background: #111; color: #fff; }
.mrail .chip:disabled { opacity: .35; }
/* настройка iPack: у каждого предмета таблетки с вариантами (выбранная чёрная), внизу платный третий год гарантии и итог */
.ipc-sheet { padding-top: 18px; }
.ipc-sheet h3 { margin: 0 0 4px; font-size: 20px; text-align: center; }
.ipc-sheet .sub { text-align: center; margin-bottom: 14px; }
.ipc-s { margin-bottom: 14px; }
.ipc-t { padding: 0 2px 7px; font-size: 13px; font-weight: 500; color: var(--label); }
.ipc-p { display: flex; flex-wrap: wrap; gap: 8px; }
.ipc-o { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--gray); font-size: 14.5px; font-weight: 500; color: var(--text); transition: background .2s, color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.ipc-o:active { transform: scale(.96); }
.ipc-o.on { background: #111; color: #fff; }
.ipc-o small { margin-left: 6px; opacity: .65; font-size: 12px; }
.ipc-w { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 14px; padding: 13px 14px; border: 1.5px solid rgba(29, 63, 143, .22); border-radius: 18px; background: #eef3ff; text-align: left; font: inherit; color: #1d3f8f; -webkit-tap-highlight-color: transparent; transition: border-color .2s, background .2s; }
.ipc-w span { flex: 1; min-width: 0; }
.ipc-w b { display: block; font-size: 15px; font-weight: 600; }
.ipc-w small { display: block; margin-top: 2px; font-size: 12px; opacity: .75; }
.ipc-w em { font-style: normal; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ipc-sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: rgba(29, 63, 143, .25); transition: background .2s; }
.ipc-sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: translate .2s; }
.ipc-w.on { border-color: #1d3f8f; background: #e1eaff; }
.ipc-w.on .ipc-sw { background: #1d3f8f; }
.ipc-w.on .ipc-sw::after { translate: 18px 0; }
.ipc-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 14px; margin-bottom: 12px; border-radius: 14px; background: var(--gray); font-size: 14px; }
.ipc-sum b { font-size: 18px; }
.ipc-sheet #ipcOk { position: sticky; bottom: 0; box-shadow: 0 0 0 10px #fff, 0 -12px 14px 0 rgba(255, 255, 255, .9); }
/* кнопка в раскрытой плашке iPack в корзине */
.stk.ip .ipx li.cf b { color: #1d3f8f; font-weight: 600; font-size: 11.5px; }
.stk.ip .ipx li.cfgrow { display: block; padding: 8px 0 2px; border: 0; }
.ipk-cfgb { width: 100%; min-height: 36px; border: 1.5px solid rgba(29, 63, 143, .35); border-radius: 12px; background: transparent; color: #1d3f8f; font: inherit; font-size: 13px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.ipk-cfgb:active { background: rgba(29, 63, 143, .08); }
.mg-set { color: var(--muted); }
/* «Полная настройка устройства» в корзине: плашка как «В рассрочку», но ниже промокода: значок 32 px, одна строка, справа цена и стрелка (или галочка, если услуга добавлена) */
.ord-btn.su-box { width: auto; margin: 10px var(--gutter) 0; padding: 8px 12px 8px 12px; gap: 8px; min-height: 50px; cursor: pointer; }
.su-i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1.6px solid rgba(36, 73, 107, .5); border-radius: 50%; background: transparent; color: #24496b; font: italic 700 14px/1 Georgia, 'Times New Roman', serif; -webkit-tap-highlight-color: transparent; }
.su-ck { flex: none; box-sizing: border-box; width: 25px; height: 25px; padding: 0; border: 2px solid rgba(36, 73, 107, .45); border-radius: 50%; background: transparent; transition: background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.su-ck.on { border-color: #24496b; box-shadow: 0 3px 9px rgba(36, 73, 107, .45), inset 0 1px 0 rgba(255, 255, 255, .3); background: #24496b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.su-box .ob-t b { font-size: 13.5px; line-height: 1.2; white-space: nowrap; letter-spacing: -.1px; }
.su-box em { font-style: normal; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.su-box.on { background: #f6e8eb; }
.oc-su { display: flex; justify-content: space-between; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--gray); font-size: 13px; }
.oc-su b { font-weight: 600; }
.wd-sheet #suGo { margin-top: 16px; }
.su-ck { transition: background .2s, border-color .2s, box-shadow .2s; }
/* значок «i» у iPack на карточке товара: такой же, как у «Полной настройки» в корзине (круг, курсивная «i» с засечками), цвет остаётся синим под плашку */
.stk.ip.pdp .ipk-i { width: 26px; height: 26px; border: 1.6px solid rgba(29, 63, 143, .55); background: transparent; color: #1d3f8f; font: italic 700 14px/1 Georgia, 'Times New Roman', serif; }

/* карточка товара: Trade-In, цена и iPack PRO — три отдельные плашки с отступами, а не стопка «одна под другой» (просьба владельца 05.11) */
.pane.prod .ti-btn:has(+ .price.solo), .pane.prod .ti-on:has(+ .price.solo) { margin: 22px 0 0; padding: 12px 14px; border-radius: 14px; gap: 12px; }
.pane.prod .ti-btn:has(+ .price.solo) .ti-ico { width: 26px; height: 26px; }
.pane.prod .ti-btn + .price.solo, .pane.prod .ti-on + .price.solo { margin-top: 10px; }
.pane.prod .price.solo, .pane.prod .price.solo.sq { border-radius: 16px; }
.pane.prod .price.solo.sq { margin-top: 22px; }
.pane.prod .ti-btn + .price.solo.sq, .pane.prod .ti-on + .price.solo.sq { margin-top: 10px; }
.pane.prod .stk.ip.pdp, .pane.prod .stk.ip.pdp:has(+ .stk) { margin: 10px 0 14px; padding: 6px 8px 6px 12px; border-radius: 14px; box-shadow: none; border: 1px solid rgba(29, 63, 143, .14); }
.pane.prod .stk.ip.pdp.open .ipl ul.ipx { padding-bottom: 6px; }
/* карточка товара (06.11): Трейд Ин и iPack PRO — плашки одного размера; цена с полоской «В рассрочку» прилипает к нижнему краю экрана */
.pane.prod .ti-btn, .pane.prod .ti-on { margin: 22px 0 0; padding: 12px 14px; border-radius: 14px; gap: 12px; min-height: 64px; box-sizing: border-box; }
.pane.prod .ti-btn .ti-ico { width: 26px; height: 26px; }
.pane.prod .stk.ip.ipk-btn { z-index: 1; display: flex; align-items: center; gap: 12px; min-height: 64px; box-sizing: border-box; margin: 10px 0 0; padding: 12px 12px 12px 14px; border-radius: 14px; border: 1px solid rgba(29, 63, 143, .14); box-shadow: none; font-size: 13px; cursor: default; }
.pane.prod .stk.ip.ipk-btn .ipk-i { flex: none; width: 26px; height: 26px; border: 1.6px solid rgba(29, 63, 143, .55); background: transparent; color: #1d3f8f; font: italic 700 14px/1 Georgia, 'Times New Roman', serif; cursor: pointer; }
.ipk-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ipk-tx b { font-size: 15px; font-weight: 600; }
.ipk-tx small { margin-top: 2px; font-size: 12px; line-height: 1.3; opacity: .75; }
.pane.prod .stk.ip.ipk-btn > em { flex: none; font-style: normal; font-weight: 600; font-size: 14px; }
.pane.prod .stk.ip.ipk-btn.off { opacity: .6; }
.pane.prod .cashback { margin: 10px 0 0; }
.pbar { position: sticky; bottom: 0; z-index: 6; margin: 14px 0 14px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(118, 118, 128, .28); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .06); }
.pane.prod .pbar .price.solo { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.pane.prod .pbar .price.solo:active { transform: none; background: #f4f4f6; }
.pinst { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; padding: 0 12px; border: 0; border-top: 1px solid rgba(118, 118, 128, .18); background: #eaf3fd; color: #24496b; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pinst:active { background: #dbe9f8; }
.pinst .chev { width: 7px; height: 7px; margin-left: 2px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
.pane.prod .ti-btn .ti-t b, .pane.prod .ti-on .ti-t b { font-size: 15px; }
.pane.prod .ti-btn .ti-t small, .pane.prod .ipk-tx small { font-size: 11px; line-height: 1.3; }
.pane.prod .ipk-tx small { white-space: nowrap; }
.pane.prod .stk.ip.ipk-btn { gap: 10px; }
/* 06.11: Трейд Ин и iPack ровно одной высоты; цена прижата вплотную к нижнему краю экрана, снизу у карточки нет отступа */
.pane.prod .ti-btn, .pane.prod .ti-on, .pane.prod .stk.ip.ipk-btn { height: 68px; min-height: 0; padding-top: 0; padding-bottom: 0; }
.pane.prod { padding-bottom: 0; }
.pane.prod .pbody, .pane.prod #pbody { margin-bottom: 0; padding-bottom: 0; }
.pane.prod .pbar { margin: 14px 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .25); }
.pane.prod .pbar .pinst { height: calc(38px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }/* нижняя плашка: цена слева, кнопка «В корзину» справа */
.pbrow { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: #fff; }
.pbp { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pbp b { font-size: 26px; font-weight: 600; letter-spacing: -.4px; line-height: 1.1; white-space: nowrap; }
.pbp small { margin-top: 2px; font-size: 12px; color: var(--label); }
.pbuy { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.pbuy:active { transform: scale(.96); }/* 06.11: нижняя плашка как в Яндекс Лавке — на всю ширину экрана, белая, верхние углы скруглены; слева цена, справа большая кнопка */
body > .pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; overflow: visible; border: 0; border-radius: 24px 0 0 0; background: #fff; box-shadow: -1px -4px 24px rgba(0, 0, 0, .09), 0 -1px 0 rgba(0, 0, 0, .04); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
body > .pbar .pbrow { padding: 0; gap: 14px; }
body > .pbar .pbp { gap: 3px; }
body > .pbar .pbn { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
body > .pbar .pbn b { font-size: 30px; font-weight: 700; letter-spacing: -.6px; line-height: 1.05; color: var(--text); }
body > .pbar .pbn b.sale { color: #2f5f8a; }
body > .pbar .pbn s { font-size: 16px; font-weight: 500; color: var(--old, #9a9aa0); text-decoration-color: #2f5f8a; text-decoration-thickness: 1.5px; }
body > .pbar .pinst { display: inline-flex; align-self: flex-start; width: auto; height: auto; padding: 0; border: 0; background: none; color: #2f5f8a; font-size: 13px; font-weight: 500; gap: 4px; }
body > .pbar .pinst:active { background: none; opacity: .6; }
body > .pbar .pinst .chev { width: 6px; height: 6px; border-width: 1.5px 1.5px 0 0; }
body > .pbar .pbp small { margin: 0; font-size: 12px; }
body > .pbar .pbuy { height: 60px; min-width: 46%; padding: 0 20px; border-radius: 20px; background: #bcd9f7; color: #10263a; font-size: 17px; font-weight: 600; }
body > .pbar .pbuy:active { background: #a9cdf2; }
.pane.prod { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }body > .pbar .pbn b { font-size: 25px; letter-spacing: -.5px; }
body > .pbar .pinst { white-space: nowrap; font-size: 12px; }
body > .pbar .pbuy { min-width: 0; height: 56px; padding: 0 22px; border-radius: 18px; font-size: 16px; }body > .pbar .pbuy { padding: 0 18px; }
body > .pbar .pbp { overflow: hidden; }
/* плашка цены ниже всех шторок (Trade-In, рассрочка, iPack и т.д.), а пока шторка открыта — прячем её совсем */
body > .pbar { z-index: 30; }
body > .pbar { transition: transform .32s cubic-bezier(.2, .9, .25, 1); }
/* шторка открыта — плашка уезжает вниз; закрывается (класс on снят) — выезжает обратно вместе с ней */
body:has(> .sheet-bg.on) > .pbar { transform: translateY(calc(100% + 12px)); }
/* цена чёрная; после применённого Трейд Ина — зелёная */
body > .pbar .pbn b.sale { color: var(--text); }
body > .pbar .pbn b.ti-pop { color: #1f9d4c; }body > .pbar { border-radius: 24px 24px 0 0; } /* скруглены оба верхних угла */
.pane.prod .ti-on .ti-t b { font-size: 14px; line-height: 1.25; }
.pane.prod .ti-on .ti-t small { font-size: 12px; }
/* профиль в стиле настроек Telegram (06.11) */
.me { position: relative; }
.me-panel { position: absolute; top: 0; right: 0; height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(118, 118, 128, .1); color: #8e8e93; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-panel:active { opacity: .6; }
.tg-list { display: grid; gap: 14px; margin: 18px 0 16px; }
.tg-grp { overflow: hidden; border-radius: 14px; background: #f2f2f7; }
.tg-row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px 0 12px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15.5px; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tg-row:active { background: rgba(0, 0, 0, .05); }
.tg-row + .tg-row::before { content: ''; position: absolute; top: 0; left: 56px; right: 0; height: .5px; background: rgba(60, 60, 67, .2); }
.tg-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.tg-ico.em { background: #fff; font-size: 17px; }
.tg-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-v { flex: none; color: #8e8e93; font-size: 15px; }
.tg-v [hidden] { display: none; }
.tg-row .chev { flex: none; width: 7px; height: 7px; margin-left: 2px; border: solid #c4c4c7; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.tg-sheet h3 { margin: 0 0 14px; text-align: center; }
.tg-sheet .tg-grp { margin-bottom: 14px; }
.tg-sheet .refcard { margin: 0 0 12px; }.tg-list { margin-left: var(--gutter, 16px); margin-right: var(--gutter, 16px); }
.me-panel { right: var(--gutter, 16px); }
.tg-h { margin: 4px 0 -6px 14px; font-size: 13px; font-weight: 400; color: #8e8e93; text-transform: uppercase; letter-spacing: .02em; }
/* рассрочка под ценой — маленькая кругленькая плашка с окантовкой */
body > .pbar .pbp { overflow: visible; gap: 5px; }
body > .pbar .pinst { align-items: center; padding: 3px 9px 3px 10px; border: 1px solid rgba(47, 95, 138, .3); border-radius: 999px; background: rgba(47, 95, 138, .06); font-size: 12px; line-height: 1.3; }
body > .pbar .pinst:active { background: rgba(47, 95, 138, .14); opacity: 1; }
body > .pbar .pbuy { font-size: 15.5px; padding: 0 16px; }body > .pbar .pbp { flex: 1 1 auto; min-width: 0; }
body > .pbar .pbuy { flex: 0 1 auto; padding: 0 14px; }
body > .pbar .pbuy { flex: none; width: 146px; padding: 0 8px; white-space: nowrap; } /* одна ширина и для «В корзину», и для «Добавить ещё» */
/* окно «Настроить устройства?» перед оформлением */
.sp-list { display: grid; gap: 8px; }
.sp-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px 8px 8px; border: 1px solid rgba(36, 73, 107, .14); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s; }
.sp-row.on { border-color: rgba(36, 73, 107, .45); background: #eaf3fd; }
.sp-row img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #f5f5f7; }
.sp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-t small { font-size: 12px; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row em { flex: none; font-style: normal; font-size: 13.5px; font-weight: 600; color: #24496b; }
.sp-row .su-ck { display: block; }.pm-row.su-row { margin-top: 12px; }
.pm-row.su-row b { color: var(--text); }
/* окна-шторки с кнопкой внизу: отступ над кнопкой и под ней (на iPhone снизу полоска «домой») */
.wd-sheet > .buy { margin-top: 14px; }
.wd-sheet { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.sp-t b { color: var(--text); }.ct-row { padding-left: 16px; }
.ct-row + .ct-row::before { left: 16px; }
.ct-note { margin: -4px 0 14px; text-align: center; }
/* кнопка «В корзину» на плашке цены: чёрная, как «Оформить заказ» и корзина в шапке, со значком сумки */
body > .pbar .pbuy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 56px; border-radius: 18px; background: #111; color: #fff; font-weight: 600; letter-spacing: -.1px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); }
body > .pbar .pbuy::before { content: ''; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V7a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V7a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / contain no-repeat; }
body > .pbar .pbuy:active { background: #2a2a2a; transform: scale(.97); }body > .pbar .pbuy.more::before { display: none; } /* «Добавить ещё» — без значка, иначе тесно */
/* рассрочка — строка во всю ширину под ценой и кнопкой: значок карты, «В рассрочку от … в месяц», стрелка */
body > .pbar .pinst { display: flex; align-self: stretch; align-items: center; justify-content: center; gap: 6px; width: 100%; height: auto; margin: 10px 0 0; padding: 8px 12px; border: 0; border-radius: 12px; background: #eef4fb; color: #24496b; font-size: 13px; font-weight: 500; white-space: nowrap; }
body > .pbar .pinst b { font-weight: 700; }
body > .pbar .pinst:active { background: #e1ecf8; opacity: 1; }
body > .pbar .pinst .chev { margin-left: 2px; }
.pi-ico { flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E") center / contain no-repeat; }
body > .pbar .pbn b { font-size: 27px; }
.pane.prod { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }body > .pbar .pbn b { font-size: 25px; }
body > .pbar .pbuy { width: 140px; }
body > .pbar .pbp { align-items: center; }
body > .pbar .pbn { justify-content: center; width: 100%; }
body > .pbar .pbn b { line-height: 1.1; }
/* Шрифт, цвета, радиусы и размеры сняты с айпарк.рф */
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-300.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-500.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-600.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'SFUIDISPLAY'; src: url('fonts/sf-700.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --text: #000000;
  --gray: #f6f6f6;
  --dark: #111111;
  --muted: #777777;
  --label: #666667;
  --old: #bdbdbd;
  --line: #e2e2e2;
  --blue: #0077ed;
  --radius: 20px;
  --gutter: 16px;
  --bar-h: 64px;
  /* во весь экран сверху вырез телефона и кнопки Telegram «Закрыть» / «⋯»: шапка магазина встаёт под ними */
  --tg-top: calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'SFUIDISPLAY', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- шапка ---------- */
/* шапка сплошная белая, без размытия фона: backdrop-filter дорогой для телефона и давал подлаги при переходах */
.top { position: sticky; top: 0; z-index: 20; background: #fff; padding-top: var(--tg-top); }
/* название по центру полосы с кнопками Telegram; полоса стоит на месте, шапка магазина уезжает под неё.
   Вне полноэкранного режима полосы нет — высота 0, не видно */
.tg-title { position: fixed; z-index: 21; left: 0; right: 0; top: 0; height: var(--tg-top); padding-top: var(--tg-safe-area-inset-top, 0px); box-sizing: border-box; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; letter-spacing: .5px; color: var(--text); pointer-events: none; }
.bar { height: var(--bar-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* слева: аватар с живым кольцом, приветствие и баллы */
.who { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.av-ring { position: relative; flex: none; width: 44px; height: 44px; }
/* кольцо цвета нового iPhone (Burgundy #2f5f8a) с металлическим бликом, который бежит по кругу */
.av-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: ringSpin 4.5s linear infinite;
  background: conic-gradient(from 0deg, #2f5f8a 0%, #24496b 28%, #2f5f8a 52%, #2e5880 70%, #8fb5dc 82%, #cfe2f6 87%, #8fb5dc 92%, #2f5f8a 100%); }
.av-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2c567d; opacity: 0; pointer-events: none; }
/* нажатие на аккаунт: аватар «прыгает», от кольца расходится волна */
.who.tap .av-ring { animation: avaPop .5s cubic-bezier(.34, 1.56, .64, 1); }
.who.tap .av-ring::after { animation: avaWave .65s ease-out; }
@keyframes avaPop { 0% { transform: scale(1); } 35% { transform: scale(.8); } 70% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes avaWave { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
/* профиль: большой аватар с дышащим ореолом */
.av-ring.big { display: block; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; }
.av-ring.big .av { inset: 3.5px; padding: 3px; }
.av-ring.big .av-letter { font-size: 34px; }
/* ореол «дышит» только масштабом и прозрачностью (это не нагружает отрисовку, в отличие от анимации тени) */
.av-ring.big::after { display: none; }
@keyframes halo { 0% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.55); } }
.av { position: absolute; inset: 2.5px; border-radius: 50%; background: #fff; padding: 2px; overflow: hidden; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av-letter { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--gray); font-size: 15px; font-weight: 600; color: var(--label); }
.who-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-t small { font-size: 12px; font-weight: 500; color: var(--muted); }
.wave { display: inline-block; font-style: normal; transform-origin: 70% 75%; animation: wave 2.8s ease-in-out 1s infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 8% { transform: rotate(16deg); } 16% { transform: rotate(-8deg); } 24% { transform: rotate(16deg); } 32% { transform: rotate(-4deg); } 40% { transform: rotate(10deg); } }
/* справа: корзина — пустая сумка или чёрная таблетка со счётчиком и суммой */
.cart-pill { flex: none; display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 20px; background: var(--gray); color: var(--text);
  transition: background .3s, color .3s, padding .3s; }
.cart-pill img { height: 20px; width: auto; transition: filter .3s; }
.cart-pill.full { background: var(--text); color: #fff; padding: 0 14px 0 11px; }
.cart-pill.full img { filter: invert(1); }
.cp-n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--text); font-size: 12px; font-weight: 700; }
.cp-sum { font-size: 13px; font-weight: 600; white-space: nowrap; }
.cart-pill.bump { animation: bump .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 0% { transform: scale(.85); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .av-ring::before, .av-ring.big::after, .who.tap .av-ring, .who.tap .av-ring::after, .wave, .cart-pill.bump { animation: none; } }.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gray); object-fit: cover; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--label); }

/* ---------- общие блоки ---------- */
main { min-height: 70vh; }
.crumbs { padding: 18px var(--gutter) 0; font-size: 13px; color: #9a9a9a; font-weight: 500; }
.crumbs a { color: #9a9a9a; }
.crumbs span { color: var(--text); }
h1 { margin: 28px var(--gutter) 6px; text-align: center; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; }
.sub { margin: 0 var(--gutter) 22px; text-align: center; color: var(--muted); font-weight: 300; font-size: 14px; line-height: 1.5; }
h2 { margin: 56px var(--gutter) 6px; text-align: center; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.3px; }

/* ---------- плитки категорий ---------- */
.tiles { display: flex; gap: 6px; overflow-x: auto; padding: 8px var(--gutter) 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 128px; scroll-snap-align: start; text-align: center; }
.tile .pic { height: 104px; display: grid; place-items: center; }
.tile img { max-height: 100px; max-width: 120px; object-fit: contain; }
.tile b { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; }

/* ---------- карточки брендов ---------- */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px var(--gutter) 0; }
/* карточка как на сайте: всё считается от ширины самой карточки (cqw), поэтому пропорции не ломаются на любом экране */
.brand { position: relative; display: block; overflow: hidden; border-radius: 18px; background: #f6f6f6; container-type: inline-size; text-align: center; }
.brand b, .brand small { position: absolute; left: 0; width: 100%; line-height: 1.2; }
.brand b { font-size: 16px; font-size: calc(var(--ts) / var(--W) * 100cqw); font-weight: 600; }
.brand small { font-size: 11px; font-size: calc(var(--ss) / var(--W) * 100cqw); font-weight: var(--sw); padding: 0 2%; }
.brand .bimg { position: absolute; background-color: #d1d1d1; background-repeat: no-repeat; background-position: center; background-size: cover; }
.brand.dark { grid-column: 1 / -1; background: #121212; color: #fff; }
.brand.dark b { font-weight: 700; }
.brand.dark small { color: #737373; }
.brand.dark .bimg { background-color: #2e2e2e; }
/* как на сайте: при наведении фото увеличивается на 10% за 0,1 с, у Ray Ban ещё и опускается на 10 px (от ширины 376) */
.brand .bimg { transition: transform .1s linear; backface-visibility: hidden; }
@media (hover: hover) {
  .brand:hover .bimg { transform: scale(1.1); }
  .brand[href="#/c/rayban"]:hover .bimg { transform: translateY(calc(10 / 376 * 100cqw)) scale(1.1); }
}
@media (hover: none) {
  .brand:active .bimg { transform: scale(1.1); }
  .brand[href="#/c/rayban"]:active .bimg { transform: translateY(calc(10 / 376 * 100cqw)) scale(1.1); }
}

/* ---------- соцсети и контакты ---------- */
/* кнопки соцсетей как на сайте: плашка 250×70, иконка слева выступает за край; по краям и между кнопками оставлено место под иконки */
/* на телефоне кнопки того же размера, что на сайте (250×70), по одной в строке: так иконки не налезают на текст;
   между кнопками оставлено место под иконки, которые выступают за край */
.socials { display: grid; grid-template-columns: min(250px, 100%); justify-content: center; gap: 34px; padding: 30px var(--gutter) 6px; }
@media (min-width: 640px) { .socials { grid-template-columns: repeat(2, 250px); gap: 34px 60px; } }
.socials a { position: relative; display: grid; place-items: center; aspect-ratio: 250 / 70; container-type: inline-size; border-radius: 20px; background: #f6f6f6; color: #000; font-size: 13px; font-weight: 500; line-height: 1.2;
  transition: background-color .2s ease-in-out, color .2s ease-in-out; }
.socials a i { position: absolute; z-index: 1; background: no-repeat center / contain; pointer-events: none; }
/* при наведении плашка темнеет, текст белеет (на телефоне — пока палец на кнопке) */
@media (hover: hover) { .socials a:hover { background: #484848; color: #fff; } }
@media (hover: none) { .socials a:active { background: #484848; color: #fff; } }
.foot { margin: 24px var(--gutter) 0; display: grid; gap: 14px; }
.foot .row b { display: block; font-size: 17px; font-weight: 600; }
.foot .row span { display: block; color: var(--muted); font-weight: 300; margin-top: 2px; }
.foot a.link { display: inline-block; margin-right: 18px; font-weight: 500; }
.credit { margin: 6px var(--gutter) 8px; color: #2f5f8a; font-weight: 300; font-size: 14.85px; line-height: 1.5; }
.credit a { color: inherit; font-weight: 500; text-decoration: none; }
.foot small { color: #9a9a9a; font-weight: 300; font-size: 11px; line-height: 1.5; }

/* ---------- каталог раздела ---------- */
.models { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 4px var(--gutter) 0; }
.model { background: var(--gray); border-radius: var(--radius); padding: 14px 10px 18px; text-align: center; display: flex; flex-direction: column; }
/* рамка фото строго квадратная, а само фото лежит внутри неё: пока картинка не догрузилась (lazy), карточка не растёт и не прыгает */
.model .pic { position: relative; flex: none; width: 100%; aspect-ratio: 1 / 1; }
.model .pic img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); max-width: none; object-fit: contain; }
.model b { font-size: 15px; font-weight: 600; line-height: 1.25; margin-top: 4px; letter-spacing: -.1px; }
.model span { margin-top: 6px; font-size: 14px; font-weight: 500; }
.model s { color: var(--old); margin-left: 6px; font-weight: 500; }
.sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 4px var(--gutter) 0; }
.sections .model b { font-size: 17px; margin-top: 0; }
.sections .model span { color: var(--muted); font-weight: 300; font-size: 12px; }

/* ---------- товар ---------- */
.gallery { margin: 14px var(--gutter) 0; background: var(--gray); border-radius: var(--radius); position: relative; overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides > div { flex: none; width: 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 20px; }
.slides img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #c8c8c8; transition: background .15s; }
.dots i.on { background: var(--text); }
.pbody { padding: 22px var(--gutter) 0; }
.pbody h1 { margin: 0 0 18px; text-align: left; font-size: 26px; line-height: 1.35; letter-spacing: -.3px; }
.opt { margin-bottom: 16px; }
.opt .name { font-size: 13px; font-weight: 500; color: var(--label); padding-bottom: 7px; }
.opt .name em { font-style: normal; color: var(--text); }
.chips, .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
/* «жидкое стекло», как нижняя панель Telegram: капсула — матовое углубление, выбранный вариант — выпуклая стеклянная линза, которая перетекает (placeGlass).
   Объём держится на трёх вещах: яркая кромка сверху, мягкая тёмная кромка снизу и двухслойная тень (контактная + рассеянная) */
.chips { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 24px;
  border: 1px solid rgba(118, 118, 128, .32);
  background: linear-gradient(180deg, rgba(118, 118, 128, .052), rgba(118, 118, 128, .022));
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .09), inset 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(255, 255, 255, .9), 0 1px 0 rgba(255, 255, 255, .9); }
.chip { position: relative; z-index: 1; min-height: 34px; padding: 6px 15px; border: 0; border-radius: 20px; background: transparent; font-size: 13px; font-weight: 500; color: var(--text); }
/* память и SIM/eSIM — как сегментированный переключатель iOS: одна строка на всю ширину, варианты равной ширины, линза едет между ними */
.pbody .opt .chips { display: flex; flex-wrap: nowrap; width: 100%; }
.pbody .opt .chips .chip { flex: 1 1 0; min-width: 0; padding: 6px 6px; white-space: normal; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.pbody .opt .chips:has(button:only-of-type) { display: inline-flex; width: auto; }
.pbody .opt .chips:has(button:only-of-type) .chip { flex: none; padding: 6px 22px; }
.chip.on { color: var(--blue); font-weight: 600; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.chips.has-ind .chip.on { background: transparent; box-shadow: none; }
.chips.has-ind { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.chip.near { color: var(--blue); }
.chips:has(.near) .chip.on:not(.near) { color: var(--text); font-weight: 500; }
.chip:disabled { color: #c4c4c4; }
/* линза: блик сверху, цветная дисперсия по краям (розовый слева, голубой справа), внутреннее свечение и тень под ней */
.gl-ind { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 20px; pointer-events: none;
  /* iOS 26: прозрачное стекло, а не белая плашка — сквозь линзу виден фон, края светятся (сверху-слева ярче, снизу-справа мягче) */
  background: linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .16) 42%, rgba(255, 255, 255, .1) 58%, rgba(255, 255, 255, .5) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(220%) brightness(1.08); backdrop-filter: blur(3px) saturate(220%) brightness(1.08);
  box-shadow: inset 1.5px 1.5px 1px -.5px rgba(255, 255, 255, .95), inset -1.5px -1.5px 1px -.5px rgba(255, 255, 255, .7), inset 0 0 14px rgba(255, 255, 255, .45),
    0 0 0 .5px rgba(0, 0, 0, .09), 0 6px 16px -4px rgba(20, 30, 60, .22), 0 1px 3px rgba(0, 0, 0, .08);
  transition: translate .6s linear(0, .09 4%, .33 10%, .62 17%, .84 25%, .94 34%, .98 44%, .995 58%, 1), width .22s ease-out, height .3s, scale .45s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s, background .25s; }
/* глянцевая полоса вдоль верха линзы */
.gl-ind::after { content: none; }
/* перелёт на другой вариант, как на iPhone: линза сразу «вздувается», вытягивается по ходу движения (--st растёт с расстоянием), пружинит и оседает */
.gl-ind.go { animation: glMove .68s linear(0, .09 4%, .33 10%, .62 17%, .86 25%, 1.03 34%, 1.07 40%, 1.04 48%, .99 58%, .995 70%, 1); }
@keyframes glMove {
  0% { scale: 1.1 1.1; }
  28% { scale: calc(1.14 + var(--st, .2)) calc(1.12 - var(--st, .2) * .5); }
  62% { scale: calc(1.03 - var(--st, .2) * .15) calc(1.05 + var(--st, .2) * .25); }
  100% { scale: 1 1; }
}
/* пока линзу тянут: она приподнимается, растёт и отбрасывает длинную тень, а пальцем не закрывается */
.gl-ind.drag { transition: width .25s, height .3s, scale .25s cubic-bezier(.3, 1.35, .5, 1), box-shadow .25s; scale: 1.16;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .3) 42%, rgba(255, 255, 255, .22) 58%, rgba(255, 255, 255, .66) 100%);
  box-shadow: inset 2px 2px 1px -.5px #fff, inset -2px -2px 1px -.5px rgba(255, 255, 255, .85), inset 0 0 18px rgba(255, 255, 255, .6),
    0 0 0 .5px rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .1), 0 16px 26px -6px rgba(20, 20, 50, .34); }
@media (prefers-reduced-motion: reduce) { .gl-ind { transition: none; } .gl-ind.go { animation: none; } }
/* цвет — стеклянная бусина: блик сверху-слева, объём по краю, мягкая тень снизу */
/* кружок цвета лежит внутри рамки 36×36: кольцо выбранного цвета не выступает за левую линию, и вся колонка (название цвета, кружки, переключатели) стоит по одному краю */
.swatches { gap: 2px; }
.sw { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 0; background: none; position: relative; }
.sw::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 3px 7px -2px rgba(0, 0, 0, .3); }
.sw.on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--blue); }
.sw:disabled { opacity: .3; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 14px; font-size: 22px; font-weight: 600; }
.price s { color: var(--old); }
/* со скидкой: плашка из двух равных половин (зачёркнутая цена с «!» слева, настоящая справа) и стрелка между ними */
.price.two { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px; padding: 12px 10px; border-radius: 16px; background: var(--gray); }
.price .pc { display: flex; align-items: center; gap: 6px; min-width: 0; }
.price .pc small { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 400; color: var(--muted); }
.price .pc s { display: block; font-size: 14px; font-weight: 500; }
.price .pc.new { justify-content: flex-end; text-align: right; }
.price .pc.new b { display: block; font-size: 24.9px; font-weight: 600; letter-spacing: -.3px; }
.price .parr { width: 20px; height: 20px; margin: 0 -2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); position: relative; }
.price .parr::after { content: ''; position: absolute; left: 6px; top: 7px; width: 6px; height: 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
/* «!» возле зачёркнутой цены — объяснение про iPack */
.ipk-i { align-self: center; position: relative; width: 22px; height: 22px; padding: 0; border: 1.5px solid var(--blue); border-radius: 50%; background: rgba(0, 122, 255, .08); color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.ipk-i:active { transform: scale(.9); }
/* окно iPack: синий макет с плитками (картинка нарезана на четыре части), плитки выпрыгивают по очереди */
.ipk-sheet { padding-top: 16px; }
.ipk-card { padding: 22px 14px 14px; border-radius: 22px; text-align: center; color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #7399e0 0%, #5877c9 48%, #3a47a2 100%); }
.ipk-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 40% at 50% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); pointer-events: none; }
.ipk-h { display: block; font-size: 38px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.ipk-warr { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 12px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 22px; font-size: 18px; font-weight: 300; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ipk-warr::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); }
.ipk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ipk-t { display: block; aspect-ratio: 1 / 1; border-radius: 15%; background: url(img/ipack.webp) no-repeat; background-size: 249.82% auto; box-shadow: 0 8px 18px -6px rgba(10, 20, 80, .45); }
.ipk-cmp { display: grid; gap: 6px; margin: 4px 0 16px; }
.ipk-cmp > div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 14px; border-radius: 14px; background: var(--gray); font-size: 15px; }
.ipk-cmp span { color: var(--label); font-weight: 400; font-size: 14px; }
.ipk-cmp s { color: var(--old); font-weight: 600; }
.ipk-cmp .win { background: #e8f0ff; }
.ipk-cmp .win b { color: var(--blue); font-size: 17px; }
.ipk-cmp .save { background: #e9f8ee; }
.ipk-cmp .save b { color: #1f9d4c; }
.ipk-sheet h3 { margin-top: 18px; font-size: 19px; }
/* обе кнопки внизу одним прилипающим блоком, чтобы «Супер!» не наезжала на «Настроить под себя» */
.ipk-foot { position: sticky; bottom: 0; display: grid; gap: 8px; padding-top: 4px; background: #fff; box-shadow: 0 10px 0 10px #fff, 0 -14px 14px 0 rgba(255, 255, 255, .9); }
.ipk-foot .buy.alt { margin-top: 0; }
.ipk-sheet .sub { text-align: center; }
.ipk-bg.on .ipk-h { animation: ipkUp .7s .12s backwards cubic-bezier(.2, .9, .25, 1); }
.ipk-bg.on .ipk-warr { animation: ipkUp .7s .24s backwards cubic-bezier(.2, .9, .25, 1); }
.ipk-bg.on .ipk-warr::after { animation: ipkShine 1.1s .9s ease-in-out; }
.ipk-bg.on .ipk-t { animation: ipkPop .75s calc(.34s + var(--i) * .11s) backwards cubic-bezier(.2, 1.35, .4, 1); }
.ipk-bg.on h3, .ipk-bg.on .ipk-sheet .sub, .ipk-bg.on .ipk-cmp, .ipk-bg.on .ipk-foot { animation: ipkUp .6s .85s backwards cubic-bezier(.2, .9, .25, 1); }
@keyframes ipkUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes ipkPop { from { opacity: 0; transform: translateY(34px) scale(.7) rotate(-4deg); filter: blur(6px); } }
@keyframes ipkShine { to { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .ipk-bg.on *{ animation: none !important; } }
.buy { width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .1px; } /* полностью круглые края, как у корзины в шапке */
.buy.alt { background: var(--gray); color: var(--text); margin-top: 8px; }
.acc { margin-top: 26px; border-top: 1px solid var(--line); }
.acc a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.acc a::after { content: '›'; color: #9a9a9a; font-size: 20px; }
/* ---------- каталог как в киоске: слева колонка разделов, справа список выбранного ---------- */
body.shelled { overflow: hidden; padding-bottom: 0; }
.shell { display: flex; height: calc(100vh - var(--bar-h) - var(--tg-top)); height: calc(var(--tg-viewport-stable-height, 100dvh) - var(--bar-h) - var(--tg-top)); }
.rail { position: relative; flex: none; width: 88px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; padding: 8px 6px 70px; border-right: 1px solid var(--line); background: #fff; }
.rail::-webkit-scrollbar, .pane::-webkit-scrollbar { display: none; }
/* бегунок под активным пунктом: едет к новому с пружиной */
.rail-ind { position: absolute; left: 6px; right: 6px; top: 0; height: var(--ih, 84px); border-radius: 18px; background: var(--gray); transform: translateY(var(--iy, 8px));
  transition: transform .55s cubic-bezier(.34, 1.45, .5, 1), height .3s ease, opacity .2s; z-index: 0; }
.rail-ind::before { content: ''; position: absolute; left: -6px; top: 24%; bottom: 24%; width: 3px; border-radius: 0 3px 3px 0; background: var(--text); }
.ri { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 9px; font-size: 11px; font-weight: 500; line-height: 1.15; text-align: center; color: #8a8a8e;
  transition: color .25s; animation: railIn .65s backwards cubic-bezier(.34, 1.56, .64, 1); animation-delay: calc(var(--i, 0) * 45ms); }
.ri img { width: 46px; height: 46px; object-fit: contain; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ri.on { color: var(--text); font-weight: 600; }
.ri.on img { transform: scale(1.14); }
.ri:active img { transform: scale(.88); transition-duration: .12s; }
@keyframes railIn { from { opacity: 0; transform: translateX(-26px) scale(.9); } }
.shell.still .ri { animation: none; }  /* при возврате с другой страницы колонка появляется сразу */

.pane { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 14px 10px 90px; }
.ptitle { margin: 2px 4px 12px; }
.pt-h { font-size: 24px; font-weight: 600; letter-spacing: -.3px; line-height: 1.15; }
.ptitle p { margin: 4px 0 0; font-size: 12px; font-weight: 300; line-height: 1.4; color: var(--muted); }
.pt-sub { margin: 22px 4px 10px; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.pback { display: inline-block; margin: 0 4px 8px; font-size: 13px; font-weight: 500; color: var(--blue); }
.pane .models, .pane .sections { padding: 0; gap: 8px; }
.pane .model { padding: 10px 6px 14px; border-radius: 18px; }
.pane .model b { font-size: 13px; }
.pane .model span { font-size: 12.5px; }
.pane .model s { margin-left: 4px; }
/* вход: заголовок выезжает слева, карточки встают в 3D по очереди; выход: всё уезжает влево */
.pane.entering .ptitle { animation: titleIn .55s backwards cubic-bezier(.2, .8, .2, 1); }
.pane.entering .model { animation: cardIn .8s backwards cubic-bezier(.34, 1.56, .64, 1); animation-delay: calc(min(var(--i, 0), 9) * 50ms + 80ms); }
@keyframes cardIn { from { opacity: 0; transform: perspective(700px) rotateX(22deg) translateY(46px) scale(.92); } }
@keyframes titleIn { from { opacity: 0; transform: translateX(-14px); } }
.pane .models, .pane .ptitle { transition: opacity .16s ease-in, transform .16s ease-in; }
.pane.leaving .models, .pane.leaving .ptitle { opacity: 0; transform: translateX(-18px) scale(.98); }
@media (prefers-reduced-motion: reduce) { .rail-ind { transition: none; } .ri, .pane.entering .model, .pane.entering .ptitle { animation: none; } }

/* ---------- переход «карточка ↔ товар»: общее фото плавно перелетает на новое место ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
/* перелёт аватара: старая и новая страница не смешиваются (никакого наложения двух больших снимков), летит только аватар */
.vt-ava::view-transition-old(root) { animation: none; opacity: 0; }
.vt-ava::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-group(hero) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .85, .2, 1); z-index: 10; }
::view-transition-old(hero), ::view-transition-new(hero) { height: 100%; object-fit: contain; }

/* ---------- 3D-появление карточек и полёт товара в корзину ---------- */
.rv.rv3d { transform: perspective(700px) rotateX(24deg) translateY(50px) scale(.93); transform-origin: 50% 100%;
  transition-property: opacity, transform; transition-duration: .85s; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); } /* пружина: с лёгким перелётом */
.rv.rv3d.in { transform: none; }
.fly { position: fixed; z-index: 100; pointer-events: none; object-fit: contain; transform-origin: center; will-change: transform; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .22)); }

/* ---------- эффекты прокрутки (значения ставит app.js) ---------- */
.top { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; will-change: transform; }
.top.hide { transform: translateY(calc(-1 * var(--bar-h))); }  /* шапка уезжает вверх при прокрутке вниз */
.top.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.model .pic img { translate: 0 var(--py, 0px); }          /* отдельное свойство translate, не мешает увеличению при наведении */
.gallery .slides { transform: translateY(var(--gy, 0px)) scale(var(--gs, 1)); opacity: var(--go, 1); transform-origin: 50% 0; will-change: transform, opacity; }
.pbody { position: relative; z-index: 1; background: var(--bg); }  /* наезжает поверх уходящей галереи */
@media (prefers-reduced-motion: reduce) { .top { transition: none; } .top.hide { transform: none; } }

/* раскрывающиеся «Гарантия и возврат» и «Оплата и доставка» */
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: ''; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid #9a9a9a; border-bottom: 1.5px solid #9a9a9a; transform: rotate(45deg); transition: transform .25s; }
.acc-item[open] summary::after { transform: rotate(-135deg); }
.acc-body { padding: 0 0 18px; font-size: 14px; line-height: 1.55; color: #333; animation: accIn .3s ease; }
.acc-body h4 { margin: 16px 0 4px; font-size: 15px; font-weight: 600; color: var(--text); }
.acc-body h4.grp { margin-top: 22px; font-size: 17px; }
.acc-body p { margin: 0 0 10px; }
.acc-body ul { margin: 6px 0 10px; padding-left: 18px; }
.acc-body li { margin-bottom: 5px; }
.acc-body .small { font-size: 12px; line-height: 1.5; color: var(--muted); }
@keyframes accIn { from { opacity: .6; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acc-body { animation: none; } .acc-item summary::after { transition: none; } }


/* ---------- корзина ---------- */
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px; margin: 0 var(--gutter) 10px; background: var(--gray); border-radius: var(--radius); }
.line .pic { height: 76px; display: grid; place-items: center; }
.line img { max-height: 76px; max-width: 76px; object-fit: contain; }
.line b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.line small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 300; line-height: 1.4; }
.line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.line .sum { font-weight: 600; font-size: 16px; }
.total { display: flex; justify-content: space-between; margin: 22px var(--gutter) 14px; font-size: 20px; font-weight: 600; }
.wrap { padding: 0 var(--gutter); }
.empty { text-align: center; color: var(--muted); font-weight: 300; padding: 40px var(--gutter); }
.empty .buy { margin-top: 22px; }
.done { text-align: center; padding: 70px var(--gutter) 0; }
.done .mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--text); display: grid; place-items: center; color: #fff; font-size: 30px; }
.done h1 { margin-top: 0; }

/* ---------- профиль ---------- */
.me { text-align: center; padding-top: 30px; }
/* значок баллов — кольцо из знака айпарка цвета Burgundy (оно шире, чем выше) */
.pt-ico { display: inline-block; width: 16px; height: auto; margin-right: 5px; vertical-align: -1.5px; }
.points .pt-ico { width: 22px; margin-right: 7px; vertical-align: -3px; }
.me h1 { margin-top: 0; }
.order.fresh { animation: freshIn .4s ease backwards; }
@keyframes freshIn { from { opacity: 0; transform: translateY(8px); } }
/* подарки: купленные товары парят вокруг аватарки, у каждого своё место, ритм и фаза */
.orbit { position: relative; width: 96px; margin: 0 auto; }
.orbit .av-ring.big { margin-bottom: 16px; }
.gifts { position: absolute; left: 48px; top: 48px; width: 0; height: 0; pointer-events: none; }
.gift { position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 6px 14px -4px rgba(60, 20, 30, .3);
  translate: var(--x) var(--y); animation: giftIn .7s cubic-bezier(.3, 1.5, .5, 1) backwards, giftBob var(--t, 4s) ease-in-out var(--d, 0s) infinite; }
.gift img { width: 28px; height: 28px; object-fit: contain; }
@keyframes giftIn { from { translate: 0 0; scale: .2; opacity: 0; } }
@keyframes giftBob { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(3px, -7px) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .gift { animation: none; } }
.points { display: inline-block; margin-top: 12px; padding: 8px 18px; background: #eaf3fd; color: #24496b; border-radius: 18px; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.orders { margin-top: 30px; text-align: left; }
.cashback { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #eaf3fd; color: #24496b; }
.cashback .pt-ico { width: 26px; margin: 0; flex: none; }
.cb-t { flex: 1; min-width: 0; }
.cb-t b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.cb-t small { display: block; margin-top: 1px; font-size: 11px; font-weight: 400; opacity: .7; }
.cart-cb { margin: 0 var(--gutter) 14px; }
.cb-n { flex: none; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- карта клиента (QR) ---------- */
.idcard { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: calc(100% - 2 * var(--gutter)); margin: 22px var(--gutter) 0; padding: 14px 16px 14px 14px; border: 0; border-radius: var(--radius); text-align: left; color: #fff;
  background: linear-gradient(125deg, #1a0b10 0%, #1a2d40 52%, #24496b 100%); box-shadow: 0 10px 26px -8px rgba(47, 95, 138, .55), inset 0 1px 0 rgba(255, 255, 255, .16); transition: transform .15s; }
.idcard:active { transform: scale(.98); }
/* «позови друга»: светлая карточка с цифрами и кнопкой приглашения */
.refcard { margin: 14px var(--gutter) 0; padding: 16px; border-radius: var(--radius); background: var(--gray); }
.rf-top { display: flex; gap: 12px; align-items: flex-start; }
.rf-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #fff; font-size: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.rf-top b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.rf-top em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 1.35; color: var(--label); }
.rf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.rf-stats span { padding: 9px 4px; border-radius: 12px; background: #fff; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.25; }
.rf-stats b { display: block; font-size: 17px; font-weight: 600; color: var(--text); }
.rf-links { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.rf-links button { padding: 6px 0; border: 0; background: none; color: var(--blue); font-size: 13px; font-weight: 500; }
.rf-in { display: block; width: 100%; margin: 4px 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--gray); font-size: 18px; font-weight: 500; letter-spacing: 1px; text-align: center; text-transform: uppercase; outline: none; }
.rf-in.rv-in { text-transform: none; letter-spacing: 0; font-size: 17px; }
.ri .al { display: block; width: 15px; height: 15px; margin: 0 auto; }
.pt-h .al { display: block; width: 30px; height: 30px; }
.refcard.rvw .buy { margin-top: 14px; }
.refcard.rvw:empty { display: none; }
.rf-in:focus { border-color: var(--blue); }
/* «стать инфлюенсером»: аккуратная строка внутри карточки «Позови друга» и окно снизу с условиями, ступенями и своей ссылкой */
.rf-inf { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 12px 12px 10px; border: 0; border-radius: 14px; background: #eeeafc; color: #3b2a87; text-align: left; transition: transform .15s; }
.rf-inf:active { transform: scale(.98); }
.rf-inf .chev { flex: none; margin-left: auto; opacity: .7; transform: rotate(-45deg); }
.rf-inf-t { flex: 1; }
.rf-inf-t b { display: block; font-size: 15px; font-weight: 600; }
.rf-inf-t em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; opacity: .75; }
.inf-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #fff; font-size: 18px; box-shadow: 0 2px 8px rgba(59, 42, 135, .15); }
.inf-sheet { padding-top: 22px; }
.inf-hero { text-align: center; }
.inf-star { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 22px; background: linear-gradient(145deg, #f4f0ff, #ddd5fb); font-size: 34px; box-shadow: 0 8px 20px -6px rgba(59, 42, 135, .35); }
.inf-p { margin: 4px 2px 14px; font-size: 14px; line-height: 1.45; color: var(--label); text-align: center; }
.inf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inf-btns .buy.alt { margin-top: 0; }
.inf-bg.on .inf-star { animation: ipkPop .7s .1s backwards cubic-bezier(.2, 1.35, .4, 1); }
.inf-bg.on .inf-t { animation: ipkUp .55s calc(.2s + var(--i, 0) * .06s) backwards cubic-bezier(.2, .9, .25, 1); }
.inf-month { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.inf-month span { padding: 10px 6px; border-radius: 12px; background: var(--gray); text-align: center; font-size: 11px; color: var(--muted); line-height: 1.25; }
.inf-month b { display: block; font-size: 20px; font-weight: 600; color: var(--text); }
.inf-tiers { display: grid; gap: 6px; }
.inf-t { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 14px; background: var(--gray); font-size: 15px; transition: background .3s; }
.inf-t b { font-weight: 600; color: #3b2a87; font-variant-numeric: tabular-nums; }
.inf-t.next { background: #eeeafc; box-shadow: inset 0 0 0 1.5px rgba(59, 42, 135, .35); }
.inf-t.hit { background: #e9f8ee; }
.inf-t.hit b { color: #1f9d4c; }
.inf-t.hit span::after { content: ' ✓'; color: #1f9d4c; }
.inf-lt { margin: 16px 4px 6px; font-size: 13px; font-weight: 500; color: var(--label); }
.inf-link { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 12px; line-height: 1.4; word-break: break-all; color: var(--muted); user-select: all; }
.idcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .13) 50%, transparent 64%); transform: translateX(-100%); animation: tiSheen 4.2s ease-in-out infinite 1.4s; pointer-events: none; }
.id-qr { flex: none; width: 76px; height: 76px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.id-qr svg, .ids-qr svg { display: block; width: 100%; height: 100%; }
.id-t { flex: 1; min-width: 0; }
.id-t small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; opacity: .65; }
.id-t b { display: block; margin: 3px 0 2px; font-size: 20px; font-weight: 700; letter-spacing: .6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.id-t em { display: block; font-style: normal; font-size: 12px; font-weight: 300; line-height: 1.35; opacity: .75; }
.idcard .chev { color: #fff; transform: rotate(-45deg); margin-right: 2px; opacity: .8; }
.idsheet { text-align: center; }
.ids-k { display: block; font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.ids-qr { width: min(72vw, 280px); aspect-ratio: 1; margin: 14px auto 12px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 34px -10px rgba(0, 0, 0, .3); }
.ids-code { display: block; margin: 0 auto 6px; padding: 8px 18px; border: 0; border-radius: 999px; background: #eaf3fd; color: #2f5f8a; font-size: 24px; font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.ids-code:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .idcard::after { animation: none; } }

/* ---------- Trade-In ---------- */
/* значок «обмен»: две стрелки по кругу, цвет — currentColor */
.ti-ico { flex: none; display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11a8.5 8.5 0 0 0-15-4.6'/%3E%3Cpath d='M3.5 13a8.5 8.5 0 0 0 15 4.6'/%3E%3Cpath d='M5.5 2.5v4h4'/%3E%3Cpath d='M18.5 21.5v-4h-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11a8.5 8.5 0 0 0-15-4.6'/%3E%3Cpath d='M3.5 13a8.5 8.5 0 0 0 15 4.6'/%3E%3Cpath d='M5.5 2.5v4h4'/%3E%3Cpath d='M18.5 21.5v-4h-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.ti-x, .ti-close { position: relative; flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); }
.ti-x::before, .ti-x::after, .ti-close::before, .ti-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.ti-x::after, .ti-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* кнопка на странице iPhone: тёмная плашка с бегущим бликом, значок медленно крутится */
.ti-btn { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 13px 14px; border: 0; border-radius: 14px; text-align: left; color: #fff; background: linear-gradient(120deg, #141414 0%, #1c3247 55%, #2f5f8a 100%); box-shadow: 0 6px 18px rgba(47, 95, 138, .25); transition: transform .15s; }
.ti-btn:active { transform: scale(.98); }
.ti-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-100%); animation: tiSheen 3.2s ease-in-out infinite 1s; }
@keyframes tiSheen { 45%, 100% { transform: translateX(100%); } }
.ti-btn .ti-ico { width: 30px; height: 30px; animation: tiSpin 6s linear infinite; }
@keyframes tiSpin { to { transform: rotate(360deg); } }
.ti-t { flex: 1; min-width: 0; }
.ti-t b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .1px; }
.ti-t small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .75; }
.ti-btn .chev { color: #fff; transform: rotate(-45deg); margin-right: 4px; }
/* применённая оценка */
.ti-on { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 12px 12px 14px; border-radius: 14px; background: #eaf7ee; color: #12632e; animation: tiPop .45s cubic-bezier(.3, 1.4, .5, 1); }
.ti-on .ti-t b { font-size: 13.5px; }
@keyframes tiPop { from { transform: scale(.94); opacity: 0; } }
/* шторка-опрос */
.sheet.ti { padding-top: 14px; min-height: 62vh; }
.ti-top { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.ti-top b { font-size: 15px; font-weight: 700; }
.ti-back { min-width: 70px; border: 0; background: none; padding: 0; text-align: left; color: var(--blue); font-size: 14px; font-weight: 500; }
.ti-close { margin-left: 42px; }
.ti-prog { height: 4px; margin: 12px 0 18px; border-radius: 2px; background: var(--gray); overflow: hidden; }
.ti-prog i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, #2f5f8a, #5b8fc0); transition: width .45s cubic-bezier(.3, 1.2, .5, 1); }
.ti-step { animation: tiStep .38s cubic-bezier(.2, .9, .25, 1) backwards; }
@keyframes tiStep { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 36px)); } }
.ti h3 { margin: 0 0 4px; text-align: center; font-size: 21px; }
.ti .opt { margin-top: 16px; }
.ti .chips { flex-wrap: wrap; }
.ti-gens { display: flex; gap: 8px; margin: 14px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.ti-gens::-webkit-scrollbar { display: none; }
.ti-gen { flex: none; min-width: 54px; height: 54px; padding: 0 10px; border: 0; border-radius: 16px; background: var(--gray); color: var(--text); font-size: 19px; font-weight: 700; letter-spacing: -.3px; transition: transform .2s, background .2s, color .2s; }
.ti-gen.on { background: var(--text); color: #fff; transform: scale(1.06); }
.ti-ideal { margin: 22px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--gray); color: var(--muted); font-size: 13px; text-align: center; transition: background .3s, color .3s; }
.ti-ideal b { color: var(--text); font-size: 15px; }
.ti-ideal.on { background: #eaf3fd; color: #24496b; }
.ti-ideal.on b { color: #2f5f8a; }
.ti-opts { display: grid; gap: 8px; margin-bottom: 14px; }
.ti-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--gray); text-align: left; color: var(--text); box-shadow: inset 0 0 0 1.5px transparent; animation: tiStep .4s cubic-bezier(.2, .9, .25, 1) backwards; animation-delay: calc(var(--i) * .05s); transition: box-shadow .2s, background .2s, transform .15s; }
.ti-opt:active { transform: scale(.98); }
.ti-opt span { flex: 1; }
.ti-opt b { display: block; font-size: 15px; font-weight: 600; }
.ti-opt small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 300; }
.ti-opt i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9c9cf; transition: box-shadow .2s, background .2s; }
.ti-opt.multi i { border-radius: 7px; }
.ti-opt.on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 4px 14px rgba(0, 119, 237, .12); }
.ti-opt.on i { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
/* итог */
.ti-res { text-align: center; padding-top: 6px; }
.ti-badge { width: 74px; height: 74px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2f5f8a, #5b8fc0); box-shadow: 0 10px 30px rgba(47, 95, 138, .35); animation: tiBadge .7s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.ti-badge .ti-ico.big { width: 36px; height: 36px; animation: tiSpin 1.1s cubic-bezier(.3, 1, .5, 1) 1; }
@keyframes tiBadge { from { transform: scale(.4) rotate(-60deg); opacity: 0; } }
.ti-res > small { color: var(--muted); font-size: 13px; }
.ti-sum { margin: 2px 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -1px; color: #2f5f8a; font-variant-numeric: tabular-nums; }
.ti-new { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; margin: 4px 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 13px; }
.ti-new span { width: 100%; color: var(--muted); }
.ti-new b { font-size: 20px; font-weight: 700; }
.ti-new s { color: var(--old); }
/* в корзине */
.ti-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 8px 7px 10px; border-radius: 10px; background: #eaf7ee; color: #12632e; font-size: 12px; line-height: 1.35; }
.ti-line .ti-ico { width: 16px; height: 16px; }
.ti-line > span:not(.ti-ico) { flex: 1; min-width: 0; }
.ti-line b { display: block; font-size: 13px; }
.ti-line .ti-x { width: 22px; height: 22px; background: rgba(18, 99, 46, .1); }
.ti-line .ti-x::before, .ti-line .ti-x::after { width: 9px; }
.line .sum s { margin-right: 6px; color: var(--old); font-size: 12px; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .ti-btn::after, .ti-btn .ti-ico, .ti-step, .ti-opt, .ti-badge, .ti-badge .ti-ico.big, .ti-on { animation: none; } }
.pane.prod { padding: 0 0 90px; }
.pane.prod .pbody h1 { font-size: 21px; margin-bottom: 14px; }
.pane.prod .gallery { margin: 8px 8px 0; }
.pane.prod .pbody { padding: 16px 12px 0; }
.pane.prod .price { font-size: 20px; margin: 16px 0 12px; }
.pane.prod .crumbs { padding: 12px 12px 0; font-size: 12px; }
.pane.prod .pback { margin: 12px 12px 0; }
.pane.prod .foot { margin: 24px 12px 0; }
.pane.prod .buy { height: 46px; }
.pane.entering.prod .gallery, .pane.entering.prod .pbody, .pane.entering.prod .crumbs, .pane.entering.prod .pback { animation: prodIn .55s backwards cubic-bezier(.2, .8, .2, 1); }
.pane.entering.prod .pbody { animation-delay: .08s; }
@keyframes prodIn { from { opacity: 0; transform: translateY(18px); } }
.pane.prod { transition: opacity .16s ease-in, transform .16s ease-in; }
.pane.prod.leaving, .pane.leaving.prod { opacity: 0; transform: translateX(-14px); }
.shop-wrap { margin: 36px var(--gutter) 0; }
.shop-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: var(--radius); background: #eaf3fd; color: #24496b; text-align: left; transition: transform .15s, background .3s; }
.shop-head:active { transform: scale(.98); }
.shop-head .pt-ico { width: 30px; margin: 0; flex: none; transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.sh-t { flex: 1; }
.sh-t b { display: block; font-size: 17px; font-weight: 600; }
.sh-t small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .7; }
.chev { flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .45s cubic-bezier(.2,.9,.25,1); }
.shop-wrap.open .chev { transform: translateY(2px) rotate(225deg); }
.shop-wrap.open .shop-head .pt-ico { transform: rotate(360deg) scale(1.12); }
.shop-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.9,.25,1); }
.shop-wrap.open .shop-body { grid-template-rows: 1fr; }
.shop-in { overflow: hidden; min-height: 0; }
.shop { display: grid; gap: 10px; padding-top: 10px; }
.cart-shop { margin-top: 26px; margin-bottom: 8px; }
.orders-wrap { margin-top: 12px; }
.orders-wrap .shop-head { background: var(--gray); color: var(--text); }
.orders-wrap #ordersBox { padding-top: 10px; }
.orders-wrap .order { margin: 0 0 10px; }
.orders-wrap .sub { margin: 4px 0 6px; }
.shop .reward { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.9,.25,1); }
.shop-wrap.open .shop .reward { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .06s); }
.shop-wrap.open .shop .reward:active { transform: scale(.98); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .shop-body, .shop .reward, .chev, .shop-head .pt-ico { transition: none; } }
.rw-bar { grid-column: 1 / -1; height: 5px; margin-top: 2px; border-radius: 3px; background: rgba(36, 73, 107, .12); overflow: hidden; }
.rw-bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #6896c4, #24496b); transform-origin: left; }
.shop-wrap.open .shop .reward .rw-bar i { animation: rwFill 1s calc(.3s + var(--i) * .06s) backwards cubic-bezier(.2, .9, .25, 1); }
@keyframes rwFill { from { transform: scaleX(0); } }
.rw-cap { grid-column: 1 / -1; margin-top: -8px; font-size: 11px; color: var(--muted); }
.reward.ok .rw-cap { color: #1f9d4c; font-weight: 500; }
.reward.ok .rw-bar i { background: linear-gradient(90deg, #35c46a, #1f9d4c); }
.reward { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border: 0; border-radius: var(--radius); background: var(--gray); text-align: left; color: var(--text); transition: transform .15s, opacity .15s; }
.reward:active { transform: scale(.98); opacity: .85; }
.rw-pic { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.rw-pic img { width: 100%; height: 100%; object-fit: contain; }
.rw-t b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.rw-t small { display: block; margin-top: 3px; color: var(--muted); font-weight: 300; font-size: 12px; }
.rw-p { font-size: 14px; font-weight: 600; color: #24496b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rw-p.low { color: var(--muted); }
.rw-p .pt-ico { width: 16px; margin-right: 4px; vertical-align: -1.5px; }
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0); display: flex; align-items: flex-end; transition: background .25s; }
.sheet-bg.on { background: rgba(0,0,0,.38); }
.sheet { width: 100%; max-height: 88vh; overflow-y: auto; padding: 22px var(--gutter) calc(18px + env(safe-area-inset-bottom)); background: #fff; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.9,.25,1); }
.sheet-bg.on .sheet { transform: none; }
.sh-pic { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 24px; background: var(--gray); display: grid; place-items: center; overflow: hidden; }
.sh-pic img { width: 100%; height: 100%; object-fit: contain; }
.sheet h3 { margin: 0 0 4px; text-align: center; font-size: 22px; font-weight: 600; }
.sheet .sub { margin: 0 0 16px; }
.sh-bal { margin: 14px 0 12px; text-align: center; font-size: 13px; color: var(--muted); }
.sh-bal b { color: #24496b; }
.buy:disabled { opacity: .45; }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-bg { transition: none; } }
.order { margin: 0 var(--gutter) 10px; padding: 16px; background: var(--gray); border-radius: var(--radius); }
.order .head { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
/* админ-панель: вход в профиле, вкладки и плитки обзора; остальные разделы пока заглушки */
.adm-link { display: flex; align-items: center; gap: 12px; margin: 16px var(--gutter) 0; padding: 12px 14px; border-radius: var(--radius); background: #1d1d1f; color: #fff; transition: transform .15s; }
.adm-link:active { transform: scale(.98); }
.adm-link b { display: block; font-size: 15px; font-weight: 600; }
.adm-link em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; opacity: .65; }
.adm-link .chev { margin-left: auto; color: #fff; opacity: .7; transform: rotate(-45deg); }
.adm-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .12); font-size: 19px; }
.adm { padding: 8px var(--gutter) 24px; }
.adm h1 { margin: 6px 0 2px; font-size: 26px; font-weight: 600; letter-spacing: -.4px; }
.adm h1, .adm .sub { text-align: left; }
.adm .sub { margin: 0 0 14px; }
.adm-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
.adm-tabs .chip { flex: 1 0 auto; padding: 6px 12px; white-space: nowrap; }
.adm-body { margin-top: 14px; }
.adm-body.in { animation: ipkUp .4s cubic-bezier(.2, .9, .25, 1); }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.adm-t { padding: 16px 14px; border-radius: var(--radius); background: var(--gray); }
.adm-t b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.adm-t span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.adm-soon { padding: 36px 20px; border-radius: var(--radius); background: var(--gray); text-align: center; }
.adm-soon i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; background: #fff; font-size: 28px; font-style: normal; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.adm-soon b { display: block; font-size: 18px; font-weight: 600; }
.adm-soon p { margin: 6px 0 10px; font-size: 14px; line-height: 1.45; color: var(--label); }
.adm-soon small { font-size: 11px; color: var(--muted); }
/* история баллов: строка — причина и дата слева, сумма справа (зелёная «+», красная «−») */
.pl { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 6px; padding: 12px 14px; border-radius: 14px; background: var(--gray); }
.pl-t b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.pl-t small { display: block; margin-top: 2px; font-size: 11px; font-weight: 300; color: var(--muted); }
.pl-d { flex: none; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-d.up { color: #1f9d4c; }
.pl-d.down { color: #c23030; }
/* статус заказа: плашка и шкала из четырёх шагов */
.o-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 300; }
.o-st { padding: 3px 9px; border-radius: 10px; background: #e8e8ee; color: var(--label); font-size: 11px; font-weight: 600; }
.o-st.st-confirmed { background: #e3efff; color: #0a5fc4; }
.o-st.st-ready { background: #fff1d6; color: #9a5b00; }
.o-st.st-done { background: #e3f6e9; color: #1f8f47; }
.o-st.st-canceled { background: #fde6e6; color: #c23030; }
.o-steps { display: flex; margin-top: 14px; }
.o-steps i { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.o-steps i::before { content: ''; position: absolute; top: 4px; right: 50%; width: 100%; height: 2px; background: #dcdce2; }
.o-steps i:first-child::before { display: none; }
.o-steps b { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #dcdce2; }
.o-steps em { font-style: normal; font-size: 10px; color: var(--muted); }
.o-steps i.past::before, .o-steps i.now::before { background: #24496b; }
.o-steps i.past b, .o-steps i.now b { background: #24496b; }
.o-steps i.now b { box-shadow: 0 0 0 4px rgba(36, 73, 107, .18); }
.o-steps i.now em { color: var(--text); font-weight: 600; }
.o-cancel { margin-top: 12px; padding: 8px 10px; border-radius: 10px; background: #fde6e6; color: #c23030; font-size: 12px; font-weight: 500; text-align: center; }
.order small { display: block; margin-top: 4px; color: var(--muted); font-weight: 300; font-size: 12px; line-height: 1.5; }

/* ---------- анимации (как на айпарк.рф: появление блоков при прокрутке, зум картинки) ---------- */
/* .rv вешает app.js, когда блок ещё не виден; .in — когда он вошёл в экран */
.rv { opacity: 0; transform: translateY(24px); transition-property: opacity, transform; transition-timing-function: ease; transition-duration: .5s; }
.rv.t-title { transition-duration: 1.2s; }
.rv.t-text { transition-duration: .7s; }
.rv.in { opacity: 1; transform: none; }

.pic img, .slides img { transition: transform .4s; }
.model:active, .line:active { transform: scale(.98); transition: transform .15s; }
@media (hover: hover) {
  .model:hover .pic img, .tile:hover .pic img { transform: scale(1.09); }
}
@media (hover: none) {
  .model:active .pic img, .tile:active .pic img { transform: scale(1.06); }
}
.model, .brand, .line { transition: transform .25s; }
.buy { transition: opacity .15s, transform .15s; }
.buy:active { transform: scale(.98); opacity: .85; }
.chip, .sw { transition: border-color .15s, box-shadow .15s, opacity .15s, color .25s; }
.sw.on::after { animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .pic img, .model, .brand, .socials a, .line { transition: none; }
}

.splash { padding: 120px 24px; text-align: center; color: var(--muted); font-weight: 300; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: rgba(28, 28, 32, .78); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 .5px rgba(255, 255, 255, .12), 0 10px 28px -6px rgba(0, 0, 0, .4); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 560px) {
  body { max-width: 560px; margin: 0 auto; }
}

/* iPack PRO в корзине */
.ip-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 8px 8px 10px; border-radius: 10px; background: #e8f0fe; color: #1d3f8f; font-size: 12px; line-height: 1.35; }
.ip-line > span:not(.ip-ico) { flex: 1; min-width: 0; }
.ip-line b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.ip-line b em { font-style: normal; white-space: nowrap; }
.ip-line .ti-x { width: 22px; height: 22px; background: rgba(29, 63, 143, .1); }
.ip-line .ti-x::before, .ip-line .ti-x::after { width: 9px; }
.ip-ico { flex: none; width: 16px; height: 16px; border-radius: 4px; background: #1d3f8f; }
.ip-add { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px dashed rgba(29, 63, 143, .5); border-radius: 10px; background: transparent; color: #1d3f8f; font: inherit; font-size: 12px; text-align: left; }

/* Trade-In — вторая плашка, выглядывающая из-под плашки цены: уже её и сдвинута под неё, как стопка карточек */
.ti-btn + .price.two, .ti-on + .price.two { position: relative; z-index: 2; margin-top: -16px; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); }
.ti-btn:has(+ .price.two), .ti-on:has(+ .price.two) { position: relative; z-index: 1; width: 100%; box-sizing: border-box; margin: 22px 0 0; padding: 10px 12px 26px; gap: 10px; border-radius: 13px; }
.ti-btn:has(+ .price.two) .ti-ico { width: 22px; height: 22px; }
.ti-btn:has(+ .price.two) .ti-t b { font-size: 13.5px; }
.ti-btn:has(+ .price.two) .ti-t small { margin-top: 1px; font-size: 11px; }

/* цена после применения Trade-In: один раз «вспыхивает» */
.ti-pop { display: inline-block; color: #12632e; animation: tiPricePop .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes tiPricePop { 0% { transform: scale(.82); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* корзина: iPack и Trade-In выглядывают из-под карточки товара стопкой плашек */
.lw { margin: 0 0 12px; }
.lw .line { margin-bottom: 0; position: relative; z-index: 5; }
.lw.has-stk .line { box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); }
.stk { position: relative; z-index: calc(4 - var(--n, 0)); display: flex; align-items: center; gap: 8px; width: auto; margin: -16px var(--gutter) 0; padding: 24px 8px 9px 12px; border: 0; border-radius: 13px; font: inherit; font-size: 12px; line-height: 1.35; text-align: left; }
.stk > span:not(.ti-ico) { flex: 1; min-width: 0; }
.stk b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.stk b em { font-style: normal; white-space: nowrap; }
.stk .ti-x { width: 22px; height: 22px; }
.stk .ti-x::before, .stk .ti-x::after { width: 9px; }
.stk.ip { background: #e8f0fe; color: #1d3f8f; }
.stk.ip .ti-x { background: rgba(29, 63, 143, .1); }
.stk.ti { background: #eaf7ee; color: #12632e; }
.stk.ti .ti-x { background: rgba(18, 99, 46, .1); }
.stk.ti .ti-ico { width: 16px; height: 16px; flex: none; }
.stk.add { display: block; width: calc(100% - 2 * var(--gutter)); background: #eef2fb; color: #1d3f8f; }

/* Apple в левой колонке: вместо картинки — логотип, подпись текстом */
.ri-logo { display: grid; place-items: center; width: 46px; height: 46px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ri-logo .al { width: 30px; height: 30px; }
.ri.on .ri-logo { transform: scale(1.14); }
.ri:active .ri-logo { transform: scale(.88); transition-duration: .12s; }
.stk.add { display: flex; align-items: center; gap: 8px; padding: 22px 8px 8px 12px; }
.stk.add .add-go { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; text-align: left; }
.stk.add .ipk-i { flex: none; width: 20px; height: 20px; font-size: 12px; }

/* панель менеджера */
.mg-st { margin-bottom: 10px; }
.mg-search { display: block; width: 100%; margin: 0 0 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray); font: inherit; font-size: 15px; outline: none; box-sizing: border-box; }
.mg-card { margin-bottom: 10px; padding: 14px; border-radius: var(--radius); background: var(--gray); }
.mg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mg-top b { font-size: 16px; font-weight: 600; }
.mg-sub { margin: 3px 0 8px; font-size: 12px; color: var(--muted); }
.mg-sub em { font-style: normal; color: var(--label); }
.mg-items { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.4; }
.mg-items li { padding: 3px 0; }
.mg-items small { color: var(--muted); }
.mg-tag { display: block; width: fit-content; margin-top: 3px; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 500; }
.mg-tag.ip { background: #e8f0fe; color: #1d3f8f; }
.mg-tag.ti { background: #eaf7ee; color: #12632e; }
.mg-sum { margin-top: 8px; font-size: 17px; font-weight: 600; }
.mg-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.mg-acts button { padding: 10px 6px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.mg-acts button.on { background: #1d1d1f; color: #fff; }
.mg-acts button.bad { color: #c0392b; }
.mg-acts button:disabled { opacity: .5; }
.mg-empty { text-align: center; margin: 24px 0; }
.mg-cl { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 8px; padding: 12px 14px; border: 0; border-radius: var(--radius); background: var(--gray); font: inherit; text-align: left; }
.mg-cl b { display: block; font-size: 15px; font-weight: 600; }
.mg-cl em { font-style: normal; font-weight: 400; color: var(--muted); }
.mg-cl small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.mg-cl i { flex: none; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.mg-sheet { max-height: 88vh; overflow-y: auto; }
.mg-csub { margin: 2px 0 10px; text-align: left; }
.mg-bal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: #eaf3fd; color: #24496b; }
.mg-bal b { font-size: 24px; font-weight: 600; }
.mg-form { display: grid; gap: 8px; margin-bottom: 14px; }
.mg-form input { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray); font: inherit; font-size: 15px; outline: none; box-sizing: border-box; width: 100%; }
.mg-form small { color: var(--muted); font-size: 11px; }
.mg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mg-sheet h4 { margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
.mg-led { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.mg-led li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mg-led small { display: block; color: var(--muted); font-size: 11px; }
.mg-led b.p { color: #12632e; }
.mg-led b.m { color: #c0392b; }
.adm-tabs { flex-wrap: nowrap; }
.stk.add.tb { background: #eaf7ee; color: #12632e; }

.stk.ip { display: block; padding: 24px 12px 9px 12px; }
.stk.ip .ipr { display: flex; align-items: center; gap: 10px; }
.stk.ip .ipr em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13px; white-space: nowrap; }
.stk.ip.off .ipr em { opacity: .55; }
.stk.ip .ck { position: relative; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid rgba(29, 63, 143, .45); background: transparent; transition: background .2s, border-color .2s; }
.stk.ip .ck.on { background: #1d3f8f; border-color: #1d3f8f; }
.stk.ip .ck.on::after { content: ''; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.stk.ip .ipn { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.stk.ip .ipn b { display: block; font-size: 13px; }
.stk.ip .chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.stk.ip.open .chev { transform: rotate(-135deg) translateY(-2px); }
.stk.ip .ipk-i { flex: none; width: 20px; height: 20px; font-size: 12px; }
.stk.ip .ipl { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.stk.ip.open .ipl { grid-template-rows: 1fr; }
.stk.ip .ipl ul { overflow: hidden; margin: 0; padding: 0 0 0 32px; list-style: none; min-height: 0; }
.stk.ip.open .ipl ul { padding-top: 8px; }
.stk.ip .ipl li { position: relative; padding: 2px 0 2px 14px; font-size: 12px; }
.stk.ip .ipl li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.stk.ip .ipl ul { padding-left: 2px; }
.stk.ip { padding-right: 8px; }
.stk.ip .ipr { gap: 8px; }
.stk.ip .ck { width: 22px; height: 22px; }
.stk.ip:has(+ .stk) { padding-bottom: 24px; }

.stk.ip .ck { border: 1.6px solid rgba(29, 63, 143, .5); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(29, 63, 143, .18); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background .22s, border-color .22s, box-shadow .22s; -webkit-tap-highlight-color: transparent; }
.stk.ip .ck:active { transform: scale(.86); }
.stk.ip .ck.on { border-color: transparent; background: linear-gradient(145deg, #3b72f0, #1d3f8f); box-shadow: 0 3px 9px rgba(29, 63, 143, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.stk.ip .ck.on::after { left: 7px; top: 3.4px; width: 5.5px; height: 10px; border-width: 0 2.2px 2.2px 0; animation: ckPop .32s cubic-bezier(.3, 1.6, .5, 1); }
.stk.ip .ck:not(.on) { animation: ckPulse 2.2s ease-out infinite; }
@keyframes ckPop { from { transform: rotate(45deg) scale(0); opacity: 0; } to { transform: rotate(45deg) scale(1); opacity: 1; } }
@keyframes ckPulse { 0% { box-shadow: 0 0 0 0 rgba(29, 63, 143, .35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(29, 63, 143, 0); } }
@media (prefers-reduced-motion: reduce) { .stk.ip .ck:not(.on), .stk.ip .ck.on::after { animation: none; } }

.stk.ip { padding: 20px 8px 6px 12px; }
.stk.ip:has(+ .stk) { padding-bottom: 20px; }
.stk.ip .ck.on::after { left: 7.2px; top: 2.9px; }

.stk.ip .ck.on::after { left: 0; top: 0; width: 100%; height: 100%; border: 0; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: ckPop2 .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ckPop2 { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.stk.ip .ipl ul.ipx { padding-left: 2px; padding-right: 2px; }
.stk.ip.open .ipl ul.ipx { padding-top: 10px; }
.stk.ip .ipx li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 12.5px; border-bottom: 1px dashed rgba(29, 63, 143, .18); }
.stk.ip .ipx li::before { display: none; }
.stk.ip .ipx li span { flex: 1; min-width: 0; }
.stk.ip .ipx li s { font-size: 11.5px; opacity: .5; }
.stk.ip .ipx li b { font-size: 13px; white-space: nowrap; }
.stk.ip .ipx li.gf b { padding: 2px 8px; border-radius: 99px; background: #1d3f8f; color: #fff; font-size: 11px; letter-spacing: .02em; }
.stk.ip .ipx li.sum { border: 0; padding-top: 9px; font-weight: 700; }
.stk.ip .ipx li.sum s { font-weight: 400; }
.stk.ip .ipx li.sum b { color: #0b7a3b; }
.stk.ip .ipx li.gf2 b { color: #0b7a3b; }

.stk.ip .ck, .stk.ip .ck:not(.on) { position: relative; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; animation: none; transition: none; }
.stk.ip .ck:active { transform: none; }
.stk.ip .ck::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(29, 63, 143, .45); }
.stk.ip .ck.on::before { background: #1d3f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; box-shadow: none; }
.stk.ip .ck::after, .stk.ip .ck.on::after { content: ''; position: absolute; inset: 0; left: 0; top: 0; width: auto; height: auto; border-radius: 50%; border: 1.5px solid transparent; background: none; transform: none; animation: none; }
.stk.ip .ck.on::after { border-color: #1d3f8f; }
.stk.ip .ipx li:last-child { border-bottom: 0; }

button.points { border: 0; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.points .chev { display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 9px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(-45deg); opacity: .7; }
.pt-sheet .pt-tabs { justify-content: center; margin-bottom: 14px; }
.pt-sheet [hidden] { display: none; }
.pt-sheet .buy.alt { margin-top: 14px; }

.stk.ip .ck, .stk.ip .ck:not(.on) { width: 25px; height: 25px; margin-right: -1.5px; border: 1.6px solid rgba(29, 63, 143, .45); background: transparent; }
.stk.ip .ck.on { border-color: #1d3f8f; background: #1d3f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.stk.ip .ck::before, .stk.ip .ck::after, .stk.ip .ck.on::before, .stk.ip .ck.on::after { content: none; }
.stk.ip .ck, .stk.ip .ck:not(.on) { box-sizing: border-box; margin-right: -2px; border-width: 2px; transform: none; }
.stk.ip .ipr { gap: 8px; }

.info-wrap { margin-top: 12px; }
.info-t { padding: 14px 4px 4px; font-size: 14px; line-height: 1.45; color: var(--text); }
.info-t h5 { margin: 14px 0 4px; font-size: 14px; font-weight: 600; }
.info-t h5:first-child { margin-top: 2px; }
.info-t p { margin: 0 0 6px; color: #555; }
.info-t ul { margin: 0 0 6px; padding-left: 18px; color: #555; }
.info-t li { margin: 2px 0; }
.info-t a { color: var(--blue); text-decoration: none; }
.info-t ul.ct { list-style: none; padding: 0; }
.info-t ul.ct li { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--gray); }
.info-t ul.ct b { display: block; color: var(--text); }
.info-t ul.ct a { display: block; margin-top: 2px; font-weight: 600; }
.info-t .ct-l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.info-t .ct-l a { padding: 8px 14px; border-radius: 99px; background: var(--gray); color: var(--text); font-weight: 500; }
.info-t.ct-main { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px var(--gutter) 0; padding: 0; }
.info-t.ct-main a { flex: 1 1 calc(50% - 4px); padding: 12px 14px; border-radius: 14px; background: var(--gray); color: var(--text); text-align: center; font-size: 14px; font-weight: 500; text-decoration: none; }
.ri .ri-logo, .ri .ri-logo .al { color: var(--text); fill: var(--text); }

.co-sheet .co-f { display: block; margin: 0 0 12px; }
.co-sheet .co-f > span { display: block; margin: 0 0 6px 2px; font-size: 13px; font-weight: 500; color: #555; }
.co-sheet .co-f em { font-style: normal; font-weight: 400; color: #999; }
.co-sheet input { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--gray); color: var(--text); font: inherit; font-size: 16px; outline: none; }
.co-sheet input:focus { box-shadow: 0 0 0 2px rgba(0, 113, 227, .45); }
.co-sheet .co-st { display: flex; gap: 8px; }
.co-sheet .co-st .chip { flex: 1; padding: 13px 8px; }
.co-sheet .co-err { margin: 0 0 10px; text-align: center; color: #d12f2f; font-size: 14px; }
.co-sheet .buy.alt { margin-top: 10px; }
.co-sheet [hidden] { display: none; }

/* кабинет: «‹ айпарк» вместо маленького аватара */
.who.bk { flex: none; gap: 4px; height: 40px; margin-left: -6px; padding-right: 10px; }
.bk-ch { width: 11px; height: 11px; margin: 0 2px 0 6px; border-left: 3px solid var(--text); border-bottom: 3px solid var(--text); border-radius: 1px; transform: rotate(45deg) translate(1px, -1px); }
.bk-logo { height: 20px; width: auto; }
.who.bk:active { opacity: .5; }
.bk-logo { height: 22.1px; }

/* страница айфона: окно фото ниже на 25%, сам телефон прежнего размера (пустые края квадрата обрезаются) */
.gallery.wide .slides > div { aspect-ratio: 1 / .75; padding: 0; position: relative; overflow: hidden; }
.gallery.wide .slides img { position: absolute; left: 20px; top: 50%; width: calc(100% - 40px); max-width: none; height: auto; max-height: none; aspect-ratio: 1; margin-top: calc(-50% + 20px); }
/* iPhone: плашка цены посередине, Trade-In над ней и iPack PRO под ней — стопка из трёх */
.price.solo { position: relative; z-index: 2; display: block; margin: 22px 0 0; padding: 14px 12px; border-radius: 16px; background: var(--gray); text-align: center; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); }
.price.solo b { font-size: 30px; font-weight: 600; letter-spacing: -.4px; }
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -16px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { position: relative; z-index: 1; width: 100%; box-sizing: border-box; margin: 22px 0 0; padding: 10px 12px 26px; gap: 10px; border-radius: 13px; }
.ti-btn:has(+ .price.solo) .ti-ico { width: 22px; height: 22px; }
.ti-btn:has(+ .price.solo) .ti-t b { font-size: 13.5px; }
.ti-btn:has(+ .price.solo) .ti-t small { margin-top: 1px; font-size: 11px; }
.ip-btn { position: relative; z-index: 1; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; margin: -16px 0 14px; padding: 26px 12px 11px; border: 0; border-radius: 13px; text-align: left; color: #fff; font: inherit; background: linear-gradient(120deg, #0f1f4d 0%, #1d3f8f 60%, #3b63c4 100%); box-shadow: 0 6px 18px rgba(29, 63, 143, .28); transition: transform .15s; }
.ip-btn:active { transform: scale(.98); }
.ip-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-100%); animation: tiSheen 3.2s ease-in-out infinite 1.6s; }
.ip-ico2 { flex: none; width: 24px; height: 24px; }
.ip-btn .ti-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ip-btn .ti-t b { font-size: 13.5px; font-weight: 600; }
.ip-btn .ti-t small { margin-top: 1px; font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .78); }
.ip-btn .chev { flex: none; color: #fff; transform: rotate(-45deg); margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .ip-btn::after { animation: none; } }
/* iPack PRO — тех же размеров, что Trade-In сверху */
.ip-btn { gap: 10px; padding: 26px 12px 10px; }
.ip-ico2 { width: 22px; height: 22px; }
.ip-btn .ti-t b { font-size: 13.5px; }
.ip-btn .ti-t small { margin-top: 1px; font-size: 11px; line-height: 1.3; }
.ip-btn .ti-t b, .ip-btn .ti-t small { line-height: normal; }


.price.solo { cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.price.solo:active { transform: scale(.97); }

.stk.ip { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* корзина: плашки iPack и Trade-In стопкой за карточкой, как в референсе — каждая следующая уже предыдущей и выглядывает ниже */
.stk { margin-left: calc(var(--gutter) + 14px * (var(--n, 0) + 1)); margin-right: calc(var(--gutter) + 14px * (var(--n, 0) + 1)); box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .18), 0 0 0 .5px rgba(0, 0, 0, .04); }
.stk.add { width: auto; }
/* плашка iPack PRO одной высоты с Trade-In и без него; верхние 16px скрыты под карточкой, поэтому в видимой части строка стоит ровно по центру */
.stk.ip { padding: 28px 8px 12px 12px; }
.stk.ip:has(+ .stk) { padding-bottom: 12px; }
.stk.ip .ipr { min-height: 25px; }
.co-sheet [hidden] { display: none !important; }
.co-st { flex-wrap: wrap; }
.co-st + .co-st { margin-top: 8px; }

/* AirTag: видео с сайта Apple, где сигнал расходится кругами */
.pingv { margin: 22px 0 6px; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.pingv video { display: block; width: 100%; height: auto; }
.pingv-t { padding: 4px 16px 18px; text-align: center; }
.pingv-t b { display: block; font-size: 17px; font-weight: 600; }
.pingv-t small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.pingv { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }

/* AirTag: в галерее вместо фото видео с сайта Apple (фон белый, поэтому и плашка белая) */
.gallery.vid { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }
.gallery.vid .slides > div { position: relative; padding: 0; }
.gallery.vid .slides video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* AirTag: без рамки, брелок с ключом по центру кадра (в самом видео он сдвинут вверх и вправо) */
.gallery.vid { background: transparent; box-shadow: none; border-radius: 0; }
.gallery.vid .slides video { transform: translate(-2.5%, 9%); }
.gallery.vid .slides { -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }

/* ---------- жидкое стекло, ещё объёмнее ---------- */
/* капсула: матовое стекло с тонкой яркой кромкой сверху и мягким углублением */
.chips { background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03));
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .1), inset 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(255, 255, 255, .95), 0 1px 0 rgba(255, 255, 255, .95), 0 8px 18px -12px rgba(20, 30, 60, .25); }
/* линза: зеркальный блик сверху-слева, дисперсия по краям (розовый слева, голубой справа), мягкое свечение внутри */
.gl-ind { overflow: hidden;
  background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .22) 38%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, .08) 58%, rgba(255, 255, 255, .5) 100%);
  -webkit-backdrop-filter: blur(2.5px) saturate(250%) brightness(1.1) contrast(1.04); backdrop-filter: blur(2.5px) saturate(250%) brightness(1.1) contrast(1.04);
  box-shadow: inset 1.5px 1.5px 1px -.5px rgba(255, 255, 255, 1), inset -1.5px -1.5px 1px -.5px rgba(255, 255, 255, .75),
    inset 0 -5px 9px -5px rgba(255, 255, 255, .85),
    inset 0 0 16px rgba(255, 255, 255, .5),
    0 0 0 .5px rgba(0, 0, 0, .1), 0 8px 20px -5px rgba(20, 30, 70, .3), 0 2px 4px rgba(0, 0, 0, .1); }
/* глянцевая полоса вдоль верха линзы */
.gl-ind::after { content: ''; position: absolute; left: 9%; right: 9%; top: 2px; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); opacity: .85; }
.gl-ind.drag { box-shadow: inset 2px 2px 1px -.5px #fff, inset -2px -2px 1px -.5px rgba(255, 255, 255, .9),
    inset 0 0 20px rgba(255, 255, 255, .65),
    0 0 0 .5px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .1), 0 20px 30px -8px rgba(20, 20, 60, .38); }

/* ---------- линза с настоящим преломлением ---------- */
/* линза лежит поверх подписей: внутри копия подписей, искажённая у краёв фильтром; заливка почти непрозрачная, чтобы оригинал под ней не двоился */
.gl-ind { z-index: 2; -webkit-backdrop-filter: none; backdrop-filter: none;
  background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .2) 36%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .06) 58%, rgba(255, 255, 255, .42) 100%), #f6f6f9; }
.gl-ind.drag { background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .3) 36%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .14) 45%, rgba(255, 255, 255, .14) 58%, rgba(255, 255, 255, .55) 100%), #f9f9fc; }
.gl-view { position: absolute; inset: 0; display: block; }
.gl-clone { position: absolute; left: 0; top: 0; display: block; pointer-events: none;
  transition: transform .6s linear(0, .09 4%, .33 10%, .62 17%, .84 25%, .94 34%, .98 44%, .995 58%, 1); }
.gl-ind.drag .gl-clone { transition: none; }
.gl-t { position: absolute; display: grid; place-items: center; box-sizing: border-box; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--text); }
.gl-t.on { color: var(--blue); font-weight: 600; }
.gl-t.dis { color: #c4c4c4; }
.gl-t.near { color: var(--blue); }
.gl-ind.drag .gl-t.on:not(.near) { color: var(--text); font-weight: 500; }
.pbody .opt .chips .gl-t { padding: 6px 6px; white-space: normal; line-height: 1.15; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .gl-clone { transition: none; } }
.gl-ind, .gl-ind * { font-style: normal; }

/* панель переключателя без теней: плоская капсула, объём остаётся только у линзы */
.chips { box-shadow: none; }
/* бусины цвета без тени под ними: остаётся только тонкая кромка, чтобы светлый цвет не терялся на фоне */
.sw::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
/* тень внутри бусины: затемнение у нижнего края, чтобы цвет выглядел объёмным, ничего снаружи */
.sw::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), inset 0 -5px 8px -2px rgba(0, 0, 0, .3), inset 0 2px 3px rgba(255, 255, 255, .3); }
/* AirTag: фото не показываем, пока играет видео не началось, и видео плавно проявляется на месте фото, без скачка; если видео не загрузилось, остаётся фото */
.gallery.vid .slides > div > img { opacity: 0; }
.gallery.vid .slides > div.nov > img { opacity: 1; }
.gallery.vid .slides video { opacity: 0; transition: opacity .6s ease; }
.gallery.vid .slides video.rdy { opacity: 1; }
/* iPack PRO на странице iPhone: тот же светло-голубой, что в корзине, без блика и тени */
.ip-btn { background: #e8f0fe; color: #1d3f8f; box-shadow: none; }
.ip-btn::after { content: none; animation: none; }
.ip-btn .ip-ico2 { stroke: #1d3f8f; }
.ip-btn .ti-t small { color: rgba(29, 63, 143, .8); }
.ip-btn .chev { color: #1d3f8f; }
/* стопка Трейд Ин / цена / iPack: там, где плашки касаются цены, углы цены прямые, иначе цвет плашки выглядывает «бугорками» из-за скруглений */
.ti-btn + .price.solo, .ti-on + .price.solo { border-top-left-radius: 0; border-top-right-radius: 0; }
.price.solo:has(+ .ip-btn) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.price.solo.sq { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* верх iPack PRO и низ Трейд Ина прямые: плашки стыкуются с ценой без скруглений */
.ip-btn { border-top-left-radius: 0; border-top-right-radius: 0; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* цена снова со скруглёнными углами */
.ti-btn + .price.solo, .ti-on + .price.solo, .price.solo:has(+ .ip-btn), .price.solo.sq, .price.solo { border-radius: 16px; }
/* iPack PRO заходит под цену так же, как Трейд Ин: плашка скруглена и уходит под карточку цены глубже её скруглений */
.ip-btn { border-radius: 13px; margin-top: -26px; padding-top: 36px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { border-radius: 13px; }
/* итог: низ Трейд Ина и верх iPack PRO прямые и уходят под цену, цена скруглена */
.ip-btn { border-top-left-radius: 0; border-top-right-radius: 0; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* плашки уходят под цену до её середины (цена ~64px, половина ~32px); видимая часть плашек не меняется */
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -32px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { padding-bottom: 42px; }
.ip-btn { margin-top: -32px; padding-top: 42px; }
/* ещё глубже под цену: 48px */
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -48px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { padding-bottom: 58px; }
.ip-btn { margin-top: -48px; padding-top: 58px; }
/* iPack PRO на 5% уже, по центру */
.ip-btn { width: 95%; margin-left: auto; margin-right: auto; }
/* iPack PRO: ширина прежняя, высота на 5% меньше (~112px -> ~106px) */
.ip-btn { width: 100%; margin-left: 0; margin-right: 0; padding-top: 55px; padding-bottom: 7.5px; }
/* iPack PRO ещё на 5% ниже (~106px -> ~101px) */
.ip-btn { padding-top: 52px; padding-bottom: 5.5px; }
/* iPack PRO ещё на 8% ниже (~101px -> ~93px) */
.ip-btn { padding-top: 47px; padding-bottom: 5px; }
/* iPack PRO ниже на ~40% видимой части: выравнивание высот отключено, отступы подобраны под текст */
.ip-btn { min-height: 0; padding-top: 44px; padding-bottom: 4px; }
.ip-btn { padding-top: 40px; padding-bottom: 3px; }
/* iPack PRO +20% к высоте (80px -> ~96px) */
.ip-btn { padding-top: 46px; padding-bottom: 13px; }
/* iPack PRO на странице iPhone: та же плашка, что в корзине, без галочки; прямой верх уходит под цену. Нажатие на цену ничего не делает */
.stk.ip.pdp { z-index: 1; width: auto; margin: -24px 0 14px; padding: 36px 8px 12px 12px; border-top-left-radius: 0; border-top-right-radius: 0; box-sizing: border-box; }
.price.solo { cursor: default; }
.price.solo:active { transform: none; }
/* плашка iPack PRO в закрытом виде на 22% ниже (~73px -> ~57px) */
.stk.ip.pdp { margin-top: -14px; padding: 22px 8px 10px 12px; }
.stk.ip.pdp:has(+ .stk) { padding-bottom: 10px; }
/* Трейд Ин и iPack PRO заходят под цену ровно до её середины (цена 75px, середина ~37px) и там стыкуются прямыми краями; видимая часть iPack ещё на 12% ниже */
.ti-btn + .price.solo, .ti-on + .price.solo { margin-top: -37px; }
.ti-btn:has(+ .price.solo), .ti-on:has(+ .price.solo) { padding-bottom: 47px; }
.stk.ip.pdp { margin-top: -38px; padding: 43px 8px 7px 12px; }
.stk.ip.pdp:has(+ .stk) { padding-bottom: 7px; }
/* текст iPack по центру видимой части: отступ сверху равен заходу под цену, а строка занимает всю видимую часть и центрирует содержимое */
.stk.ip.pdp, .stk.ip.pdp:has(+ .stk) { margin-top: -38px; padding: 38px 8px 0 12px; }
.stk.ip.pdp .ipr { min-height: 38px; align-items: center; }
.stk.ip.pdp .ipl ul.ipx { padding-bottom: 0; }
.stk.ip.pdp.open .ipl ul.ipx { padding-bottom: 10px; }
/* у цены был скрытый нижний отступ 12px: из-за него плашка iPack заходила под цену не на 38px, а на 26px, и текст стоял ниже центра */
.price.solo { margin-bottom: 0; }
.pane.prod .price.solo { margin-bottom: 0; }
/* iPack PRO на странице iPhone: без раскрывашки; слева кликабельная «i», она открывает слайд про iPack */
.stk.ip.pdp { cursor: default; }
.stk.ip.pdp .ipr { gap: 10px; }
.stk.ip.pdp .ipt { display: block; flex: 1; min-width: 0; font-size: 13px; }
.stk.ip.pdp .ipk-i { flex: none; width: 24px; height: 24px; font-size: 14px; border-color: #1d3f8f; background: rgba(29, 63, 143, .08); color: #1d3f8f; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stk.ip.pdp { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stk.ip.pdp:active { opacity: .85; }
/* длинное имя: приветствие переносится на вторую строку (дальше многоточие), а у очень длинного ещё и чуть мельче; короткое остаётся в одну строку */
.who-t b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.who-t.lg b { font-size: 13.5px; }
.who-t.xl b { font-size: 13px; line-height: 1.2; }
/* кнопка возврата в кабинете: чёрная таблетка, как корзина с товаром; логотип белый и на 11% меньше (22.1px -> 19.7px) */
.who.bk { flex: none; margin: 0 auto 0 0; height: 40px; gap: 7px; padding: 0 14px 0 12px; border-radius: 20px; background: var(--text); color: #fff; }
.who.bk .bk-ch { margin: 0 2px 0 3px; border-color: #fff; }
.who.bk .bk-logo { height: 19.7px; filter: brightness(0) invert(1); }
.who.bk:active { opacity: .8; }
/* надпись на кнопке возврата; логотип ещё на 20% меньше (19.7px -> 15.8px) */
.who.bk .bk-logo { height: 15.8px; }
.who.bk .bk-t { font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; color: #fff; }
.who.bk .bk-ch { display: none; }
.who.bk { padding: 0 16px 0 14px; }
/* число товаров внутри сумки, а не отдельным кружком рядом */
.cp-bag { position: relative; display: block; flex: none; line-height: 0; }
.cart-pill.full .cp-bag img { height: 23px; }
.cart-pill.full .cp-n { position: absolute; left: 0; right: 0; top: 15px; transform: translateY(-50%); display: block; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; color: #fff; text-align: center; font-size: 10.5px; line-height: 1; font-weight: 700; }

/* ---------- заставка при открытии (≈3 с) ---------- */
html.intro-on, html.intro-on body { overflow: hidden; }
#intro { position: fixed; inset: 0; z-index: 10000; background: #0a0406; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  clip-path: circle(150% at 50% calc(46% - 50px)); color: #fff; }
#intro * { box-sizing: border-box; }
#intro.out { pointer-events: none; animation: inIris .78s cubic-bezier(.65, 0, .2, 1) forwards; }
#intro.out .in-stage { animation: inStageOut .62s cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes inIris { from { clip-path: circle(150% at 50% calc(46% - 50px)); } to { clip-path: circle(0% at 50% calc(46% - 50px)); } }
@keyframes inStageOut { to { scale: .55; opacity: 0; } }
@keyframes inFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes inSpin { from { rotate: 0deg; } to { rotate: 360deg; } }

/* фон: три мягких цветных пятна медленно плывут */
.in-bg { position: absolute; inset: 0; animation: inFade 1s both; }
.in-bg i { position: absolute; border-radius: 50%; width: 95vmax; height: 95vmax; will-change: transform; }
.in-bg .b1 { left: 50%; top: calc(46% - 50px); margin: -60vmax 0 0 -60vmax; width: 120vmax; height: 120vmax; background: radial-gradient(circle, rgba(140, 32, 56, .55), rgba(140, 32, 56, 0) 62%); animation: inDriftA 4.6s ease-in-out infinite alternate; }
.in-bg .b2 { right: -42vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(96, 20, 38, .6), rgba(96, 20, 38, 0) 62%); animation: inDriftB 5.4s ease-in-out infinite alternate; }
.in-bg .b3 { left: -10vmax; bottom: -55vmax; background: radial-gradient(circle, rgba(47, 95, 138, .7), rgba(47, 95, 138, 0) 62%); animation: inDriftC 4s ease-in-out infinite alternate; }
@keyframes inDriftA { to { transform: translate(26vmax, 18vmax) scale(1.12); } }
@keyframes inDriftB { to { transform: translate(-24vmax, -20vmax) scale(.9); } }
@keyframes inDriftC { to { transform: translate(22vmax, -14vmax) scale(1.2); } }

/* звёздная пыль */
.in-stars { position: absolute; inset: 0; }
.in-stars i { position: absolute; border-radius: 50%; background: #fff; opacity: 0; animation: inTwinkle 2s ease-in-out infinite; }
@keyframes inTwinkle { 0%, 100% { opacity: 0; scale: .5; } 50% { opacity: .85; scale: 1.25; } }

/* сцена: нулевая точка в центре, всё остальное расставлено от неё */
.in-stage { position: absolute; left: 50%; top: 46%; width: 0; height: 0; }
.in-hero { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: inRise .72s 1s cubic-bezier(.3, .9, .2, 1) both; }
@keyframes inRise { from { translate: 0 0; } to { translate: 0 -50px; } }

/* кольцо: прилетает из размытия с поворотом и пружинкой, внутри крутится радужный градиент */
.in-ringbox { position: absolute; left: -85px; top: -61px; width: 170px; height: 121.6px; animation: inRingIn 1s .1s cubic-bezier(.2, 1.25, .3, 1) both; }
@keyframes inRingIn {
  0% { opacity: 0; scale: .25; rotate: -140deg; filter: blur(14px); }
  40% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; scale: 1; rotate: 0deg; filter: blur(0); }
}
.in-ring, .in-glow { position: absolute; inset: 0; }
.in-ring { overflow: hidden; -webkit-mask: url(img/ring.svg) center / contain no-repeat; mask: url(img/ring.svg) center / contain no-repeat; }
.in-ring::before { content: ''; position: absolute; inset: -70%;
  background: conic-gradient(from 0deg, #2f5f8a, #2e5880 25%, #9cc0e3 45%, #2e5880 65%, #2f5f8a 100%);
  animation: inSpin 2.2s linear infinite; }
.in-glow { filter: blur(20px); opacity: .8; animation: inBreath 1.5s ease-in-out infinite alternate; }
@keyframes inBreath { from { opacity: .45; scale: .96; } to { opacity: .9; scale: 1.1; } }

/* волна при «приземлении» кольца */
.in-pulse { position: absolute; left: -85px; top: -61px; width: 170px; height: 121.6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); opacity: 0; animation: inPulse 1.15s .85s ease-out both; }
@keyframes inPulse { from { opacity: .75; scale: .8; } to { opacity: 0; scale: 3.4; } }

/* орбита: три точки, у первой светящийся хвост-комета */
.in-orbit { position: absolute; left: -105px; top: -105px; width: 210px; height: 210px; animation: inFade .5s .6s both, inSpin 2.6s linear infinite; }
.in-orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75) 25%, rgba(255, 255, 255, 0) 25.1%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }
.in-orbit i { position: absolute; left: 50%; top: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .85); transform-origin: 3.5px 108.5px; }
.in-orbit i:nth-child(2) { transform: rotate(120deg); background: #9cc0e3; box-shadow: 0 0 10px 2px rgba(217, 120, 138, .85); }
.in-orbit i:nth-child(3) { transform: rotate(240deg); background: #4a7fb0; box-shadow: 0 0 10px 2px rgba(74, 127, 176, .9); }

/* логотип: проявляется слева направо, потом по нему пробегает блик */
.in-wordwrap { position: absolute; left: -125px; top: 24px; width: 250px; animation: inUp .8s 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes inUp { from { translate: 0 16px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.in-word { width: 100%; aspect-ratio: 7654 / 1700; -webkit-mask: url(img/logo-a.svg) center / contain no-repeat; mask: url(img/logo-a.svg) center / contain no-repeat;
  background: linear-gradient(105deg, #8f8f9e 0%, #8f8f9e 30%, #fff 45%, #fff 55%, #8f8f9e 70%, #8f8f9e 100%); background-size: 280% 100%; background-position: 100% 0;
  clip-path: inset(0 100% 0 0); animation: inWipe .95s 1s cubic-bezier(.3, .7, .2, 1) forwards, inShine 1.1s 1.85s ease-in-out forwards; }
@keyframes inWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes inShine { from { background-position: 100% 0; } to { background-position: 0% 0; } }

.in-tag { position: absolute; left: -150px; top: 98px; width: 300px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); white-space: nowrap; animation: inTag .9s 1.5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes inTag { from { opacity: 0; translate: 0 8px; letter-spacing: .5em; } to { opacity: 1; translate: 0 0; letter-spacing: .16em; } }

/* категории по очереди «загораются» */
.in-tick { position: absolute; left: -170px; top: 132px; width: 340px; display: flex; justify-content: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.in-tick span { opacity: .2; animation: inTickOn .45s both; }
.in-tick span:nth-child(1) { animation-delay: 1.7s; }
.in-tick span:nth-child(2) { animation-delay: 1.92s; }
.in-tick span:nth-child(3) { animation-delay: 2.14s; }
.in-tick span:nth-child(4) { animation-delay: 2.36s; }
@keyframes inTickOn { from { opacity: .2; } to { opacity: 1; text-shadow: 0 0 12px rgba(255, 255, 255, .55); } }

/* полоска-загрузка */
.in-bar { position: absolute; left: 50%; bottom: calc(9% + env(safe-area-inset-bottom)); width: 120px; height: 3px; margin-left: -60px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; animation: inFade .4s .2s both; }
.in-bar::after { content: ''; display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #2f5f8a, #6c9dcb); animation: inBar 2.6s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes inBar { to { transform: scaleX(1); } }
.in-bg .b1 { animation: inCalm 3s ease-in-out infinite alternate; }
@keyframes inCalm { to { transform: scale(1.12); } }

/* компактнее */
.in-ringbox { left: -58px; top: -41.5px; width: 116px; height: 83px; }
@keyframes inRise { from { translate: 0 0; } to { translate: 0 -34px; } }
.in-wordwrap { left: -88px; width: 176px; top: 20px; }
.in-tag { top: 70px; font-size: 11px; }
@keyframes inTag { from { opacity: 0; translate: 0 6px; letter-spacing: .4em; } to { opacity: 1; translate: 0 0; letter-spacing: .14em; } }
.in-glow { filter: blur(14px); }
#intro { clip-path: circle(150% at 50% calc(46% - 34px)); }
@keyframes inIris { from { clip-path: circle(150% at 50% calc(46% - 34px)); } to { clip-path: circle(0% at 50% calc(46% - 34px)); } }

/* кольцо влетает в значок шапки: остальное гаснет, фон растворяется и открывает магазин */
#intro.fly { pointer-events: none; background: rgba(10, 4, 6, 0); transition: background .6s .1s ease; }
#intro.fly .in-wordwrap, #intro.fly .in-bg { animation: inGone .4s forwards; }
@keyframes inGone { to { opacity: 0; } }
.stk.ip.pdp { cursor: default; }
.stk.ip.pdp:active { opacity: 1; }

/* панель цены = кнопка «Добавить в корзину» */
.price[role="button"], .price.solo { cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.price[role="button"]:active, .price.solo:active { transform: scale(.98); }
.pcta { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price.solo .pcta { margin-top: 1px; }
.price.two .pcta { grid-column: 1 / -1; margin-top: 6px; text-align: center; }
.price.pl { align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: var(--gray); }
.price.pl span { font-size: 24px; font-weight: 600; letter-spacing: -.3px; }
.price.pl .pcta { text-align: right; }
/* размер панели цены остаётся прежним: надпись «Добавить в корзину» умещается внутри */
.price.solo { height: 74.5px; padding: 0 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.price.solo b { line-height: 1.1; }
.price.solo .pcta { margin-top: 3px; line-height: 1.2; }
.price.two { height: 80.6px; padding: 8px 10px 4px; align-content: center; row-gap: 0; }
.price.two .pcta { margin-top: 0; line-height: 13px; }
.price.pl { padding: 0; background: none; border-radius: 0; }
/* iPhone: цена ровно по середине панели, надпись прижата к низу */
.price.solo { justify-content: center; }
.price.solo .pcta { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; line-height: 12px; text-align: center; }

/* цена и надпись подняты на 15% высоты панели (≈11 px) */
.price.solo { padding-bottom: 22px; }
.price.solo .pcta { bottom: 17px; }

/* опущены на 6% высоты панели (≈4.5 px) */
.price.solo { padding-bottom: 13px; }
.price.solo .pcta { bottom: 12.5px; }

/* плашка цены оформлена как задник переключателя (капсула «жидкого стекла»): тонкая кромка, мягкий вертикальный градиент, размытие; без теней.
   Подложка почти белая, а не прозрачная: плашка заходит на тёмный Trade-In, и цена должна читаться */
.price.solo, .price.two { border: 1px solid rgba(118, 118, 128, .32); box-shadow: none;
  background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f8f8fa;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }

/* логотип чёрный на белой плашке: фон заставки остаётся тёмным, а чёрные буквы читаются */
.in-wordwrap { left: -98px; width: 196px; top: 22px; padding: 11px 20px; box-sizing: border-box; border-radius: 999px; background: #fff; }
.in-word { background: linear-gradient(105deg, #000 0%, #000 30%, #55555c 45%, #55555c 55%, #000 70%, #000 100%); background-size: 280% 100%; background-position: 100% 0; }
/* заставка: плашка как адресная/поисковая строка, адрес «набирается» по буквам с кареткой */
.in-wordwrap { left: -112px; width: 224px; top: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 22px 11px 18px; animation: inUp .6s .85s cubic-bezier(.2, .8, .2, 1) both, inPress .26s 2.2s ease-out; }
.in-sicon { flex: none; display: block; }
.in-wordbox { position: relative; flex: none; width: 156px; }
.in-word { width: 100%; background: #000; clip-path: inset(0 100% 0 0); animation: inType 1s 1.25s step-end forwards; }
@keyframes inType {
  0% { clip-path: inset(0 100% 0 0); }
  6% { clip-path: inset(0 88% 0 0); }
  16% { clip-path: inset(0 77% 0 0); }
  25% { clip-path: inset(0 66% 0 0); }
  38% { clip-path: inset(0 54% 0 0); }
  47% { clip-path: inset(0 43% 0 0); }
  59% { clip-path: inset(0 31% 0 0); }
  70% { clip-path: inset(0 26.5% 0 0); }
  78% { clip-path: inset(0 17% 0 0); }
  90%, 100% { clip-path: inset(0 0 0 0); }
}
.in-caret { position: absolute; left: 0; top: 14%; width: 2px; height: 72%; margin-left: 1px; border-radius: 1px; background: #4a7fb0; opacity: 0;
  animation: inBlink .9s .95s step-end infinite, inCaretMove 1s 1.25s step-end forwards, inCaretOut .2s 2.4s forwards; }
@keyframes inBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes inCaretMove {
  0% { left: 0%; } 6% { left: 11.5%; } 16% { left: 22.5%; } 25% { left: 33.5%; } 38% { left: 45.5%; }
  47% { left: 56.5%; } 59% { left: 68.5%; } 70% { left: 73%; } 78% { left: 82.5%; } 90%, 100% { left: 99.5%; }
}
@keyframes inCaretOut { to { opacity: 0; } }
@keyframes inPress { 0%, 100% { scale: 1; } 45% { scale: .965; } }
/* кольцо больше не «ездит» вверх во время набора: оно сразу садится на своё место и стоит, а строка появляется под ним после */
.in-hero { animation: none; translate: 0 -34px; }
.in-wordwrap { animation: inUp .6s 1.05s cubic-bezier(.2, .8, .2, 1) both, inPress .26s 2.2s ease-out; }
/* ---------- «Мои заказы»: кнопка в профиле и окно с заказами ---------- */
.ord-btn { display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--gutter)); margin: 12px var(--gutter) 0; padding: 12px 14px; border: 0; border-radius: var(--radius); background: var(--gray); color: var(--text); text-align: left; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.ord-btn:active { transform: scale(.98); }
.ob-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(145deg, #4a7fb0, #2f5f8a); box-shadow: 0 6px 12px -6px rgba(47, 95, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.ob-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ob-t b { font-size: 16px; font-weight: 600; }
.ob-t small { margin-top: 1px; font-size: 12px; color: var(--muted); }
.ob-n { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #24496b; color: #fff; font-size: 12px; font-weight: 700; }
.ob-n[hidden] { display: none; }
.ord-btn .chev { color: var(--text); opacity: .55; transform: rotate(-45deg); margin-right: 2px; }

.ord-sheet { min-height: 62vh; max-height: 92vh; background: #f4f4f7; padding-top: 10px; }
.ord-sheet h3 { margin-top: 6px; }
.ord-sheet > .sub { text-align: center; margin-bottom: 16px; }
.os-grab { display: block; width: 38px; height: 5px; margin: 0 auto 8px; border-radius: 3px; background: rgba(0, 0, 0, .16); }
.ord-sheet #ordersBox { display: flex; flex-direction: column; gap: 12px; }
.ord-sheet .buy.alt { margin-top: 16px; background: #fff; }
.oc { padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -14px rgba(20, 20, 40, .22); animation: ocIn .5s calc(var(--i, 0) * 70ms + 120ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.oc.fresh { animation: freshIn .4s ease backwards; }
@keyframes ocIn { from { opacity: 0; translate: 0 18px; } }
.oc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.oc-id b { display: block; font-size: 16px; font-weight: 600; }
.oc-id small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--muted); }
.oc-items { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.oc-items li { display: flex; align-items: center; gap: 12px; }
.oc-pic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gray); overflow: hidden; }
.oc-pic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.oc-nm { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.oc-nm b { flex: 1 0 100%; font-size: 14px; font-weight: 500; line-height: 1.25; }
.oc-nm small { font-size: 12px; font-weight: 400; color: var(--muted); }
.oc-items em { flex: none; font-style: normal; font-size: 13px; font-weight: 600; color: var(--label); }
.oc-tag { display: inline-block; margin-top: 2px; padding: 2px 8px; border-radius: 8px; background: #e6edfb; color: #1d3f8f; font-size: 11px; font-style: normal; font-weight: 600; }
.oc-tag.ti { background: #f3e4e8; color: #24496b; }
.oc .o-steps { margin-top: 16px; }
.oc-sum { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.oc-sum b { font-size: 18px; font-weight: 600; color: var(--text); }
.oc-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 36px 20px 24px; text-align: center; }
.oc-e-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; background: #fff; box-shadow: 0 10px 24px -14px rgba(20, 20, 40, .3); }
.oc-e-ico img { width: 34px; }
.oc-empty b { font-size: 17px; font-weight: 600; }
.oc-empty small { max-width: 240px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .oc { animation: none; } }
/* окно заказов не заезжает под кнопки Telegram сверху (закрыть / меню) и не отдаёт свайп вниз приложению Telegram */
.ord-sheet { max-height: calc(100vh - var(--tg-top) - 14px); max-height: calc(100dvh - var(--tg-top) - 14px); overscroll-behavior: contain; }
.os-grab { position: relative; }
.os-grab::after { content: ''; position: absolute; left: -60px; right: -60px; top: -12px; bottom: -14px; }
/* ---------- окна «Гарантия» и «Доставка и оплата» ---------- */
.wd-sheet { min-height: 56vh; max-height: calc(100vh - var(--tg-top) - 14px); max-height: calc(100dvh - var(--tg-top) - 14px); overscroll-behavior: contain; background: #f4f4f7; padding-top: 10px; }
.wd-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #4a7fb0, #2f5f8a); box-shadow: 0 14px 26px -16px rgba(47, 95, 138, .8); animation: ipkUp .6s .08s backwards cubic-bezier(.2, .9, .25, 1); }
.wd-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 20% 0%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); pointer-events: none; }
.wd-ico { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.wd-ht { position: relative; display: flex; flex-direction: column; }
.wd-ht b { font-size: 22px; font-weight: 600; line-height: 1.15; }
.wd-ht small { margin-top: 3px; font-size: 12.5px; opacity: .78; }
.wd-s { margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -16px rgba(20, 20, 40, .22); animation: ocIn .5s calc(var(--i, 0) * 70ms + 160ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.wd-s h5 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #24496b; }
.wd-s p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--label); }
.wd-s p:last-child, .wd-s ul:last-child { margin-bottom: 0; }
.wd-s ul { margin: 0 0 6px; padding: 0; list-style: none; }
.wd-s li { position: relative; padding: 3px 0 3px 18px; font-size: 14px; line-height: 1.45; color: var(--label); }
.wd-s li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #4a7fb0; }
.wd-sheet #wdClose { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .wd-hero, .wd-s { animation: none; } }
/* соцсети: плитки с цветными иконками */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px var(--gutter) 0; }
.ct-tile { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 12px; border-radius: 18px; background: var(--gray); color: var(--text); text-decoration: none; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.ct-tile:active { transform: scale(.97); }
.ct-tile > span { display: flex; flex-direction: column; min-width: 0; }
.ct-tile b { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.ct-tile small { margin-top: 1px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ct-vk { font-size: 15px; font-weight: 800; font-style: normal; letter-spacing: -.3px; }
.ct-tile.tg .ct-ic { background: linear-gradient(145deg, #4cc0f0, #1e8fc7); }
.ct-tile.wa .ct-ic { background: linear-gradient(145deg, #4ddb7a, #1b9d49); }
.ct-tile.vk .ct-ic { background: linear-gradient(145deg, #3b93ff, #0a58d0); }
.ct-tile.ml .ct-ic { background: linear-gradient(145deg, #4a7fb0, #2f5f8a); }
/* без иконок: название и подпись по центру плитки */
.ct-tile { justify-content: center; text-align: center; padding: 13px 12px; }
.ct-tile > span { align-items: center; }

/* плитки соцсетей как задник «жидкого стекла»: капсула с тонкой кромкой, мягким градиентом и размытием, без теней */
.ct-tile { min-height: 46px; padding: 0 14px; border-radius: 24px; border: 1px solid rgba(118, 118, 128, .32);
  background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f9f9fb;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: none; }
.ct-tile b { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- избранное и колокольчик на карточке товара ---------- */
.pact { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; gap: 8px; }
.pa-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(118, 118, 128, .28); color: #1d1d1f;
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .6)); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.pa-btn:active { transform: scale(.88); }
.pa-btn.on { color: #4a7fb0; }
.pa-btn.on svg path { fill: currentColor; }
.pa-btn.busy { opacity: .55; pointer-events: none; }
.pa-btn.on svg { animation: paPop .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes paPop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.fv-sheet #fvBox { display: flex; flex-direction: column; gap: 10px; }
.fv-h { margin: 8px 4px 0; font-size: 13px; font-weight: 600; color: #24496b; }
.fv-card { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -16px rgba(20, 20, 40, .22); animation: ocIn .45s calc(var(--i, 0) * 60ms + 100ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.fv-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.fv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fv-t b { font-size: 14px; font-weight: 500; line-height: 1.25; }
.fv-t small { margin-top: 2px; font-size: 12px; color: var(--muted); }
.fv-x { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #4a7fb0; -webkit-tap-highlight-color: transparent; }
.fv-x.on svg path { fill: currentColor; }
.fv-x:active { transform: scale(.88); }
.fv-e { color: #4a7fb0; }
.fv-e svg { width: 30px; height: 30px; }

/* ---------- пуш-панель ---------- */
.pp .pp-l { margin: 18px 2px 8px; font-size: 13px; font-weight: 600; color: #24496b; }
.pp-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chip { padding: 8px 14px; border-radius: 20px; border: 1px solid rgba(118, 118, 128, .32); background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f9f9fb; color: var(--text); font-size: 13px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.pp-chip.on { background: #2f5f8a; border-color: #2f5f8a; color: #fff; }
.pp-min { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--label); }
.pp-min input { width: 110px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(118, 118, 128, .32); background: #fff; font: inherit; font-size: 15px; color: var(--text); }
.pp-count { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 14px; color: var(--label); }
.pp-count b { color: var(--text); font-size: 17px; }
.pp-in { display: block; width: 100%; margin: 0 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(118, 118, 128, .32); background: #fff; font: inherit; font-size: 15px; line-height: 1.4; color: var(--text); resize: vertical; -webkit-appearance: none; appearance: none; }
.pp-in:focus { outline: none; border-color: #4a7fb0; }
.pp-cnt { text-align: right; font-size: 11px; color: var(--muted); }
.pp-res { display: flex; flex-direction: column; gap: 6px; }
.pp-r { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--gray); color: var(--text); font-size: 13.5px; text-align: left; }
.pp-r small { flex: none; color: var(--muted); font-size: 12px; }
.pp-prev { padding: 14px; border-radius: 18px; background: #e8edf3; }
.pp-bub { max-width: 100%; padding: 10px 12px; border-radius: 16px 16px 16px 6px; background: #fff; font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); white-space: pre-wrap; word-break: break-word; }
.pp-bub b { display: block; margin-bottom: 6px; }
.pp-bub span.ph { color: var(--old); }
.pp-pbtn { margin-top: 6px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .75); color: #2a6fd6; font-size: 14px; font-weight: 500; text-align: center; }
.pp-act { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 18px; }
.pp-act .buy.alt { margin-top: 0; }
.pp-hist { display: flex; flex-direction: column; gap: 8px; }
.pp-h { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gray); font-size: 13px; }
.pp-h b { display: block; font-size: 14px; font-weight: 500; }
.pp-h small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.pp-h span { flex: none; font-weight: 600; }
.pp-h i { font-style: normal; font-weight: 400; color: #c23030; }
.pp-sheet { padding-top: 22px; }
.pp-sheet .pp-bub { margin: 0 0 14px; background: var(--gray); box-shadow: none; }
.pp-prog { margin-bottom: 14px; }
.pp-bar { height: 6px; border-radius: 3px; background: #ececf0; overflow: hidden; }
.pp-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2f5f8a, #6c9dcb); transition: width .4s ease; }
.pp-prog small { display: block; margin-top: 6px; text-align: center; color: var(--muted); font-size: 12px; }
.pp-min[hidden], .pp-bub b[hidden], .pp-pbtn[hidden] { display: none; }

/* сердечко и колокольчик: в одной строке с «‹ iPhone», над картинкой, а не поверх неё */
.prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prow .pback { margin-bottom: 0; }
.pane.prod .prow { padding-right: 8px; }
.pact { position: static; top: auto; right: auto; margin-top: 8px; gap: 6px; }
.pa-btn { width: 36px; height: 36px; }
.pa-btn svg { width: 19px; height: 19px; }
/* значки по центру кружков: колокольчик с язычком и сердце визуально сидели ниже середины */
#bellBtn svg { translate: 0 -1.4px; }
#favBtn svg { translate: 0 -.6px; }
.fv-x svg { translate: 0 -.5px; }


/* рассрочка */
.inst-btn { width: 100%; margin: 0 0 14px; }
.inst-row { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(0,0,0,.07); font-size: 15px; }
.inst-row:first-of-type { border-top: 0; }
.inst-row b { font-size: 17px; font-variant-numeric: tabular-nums; }
.inst-row small { font-size: 12px; font-weight: 500; color: var(--label); }
/* промокоды */
.pm-wrap.pm-me { margin: 12px var(--gutter) 0; }
.pm-wrap.pm-cart { margin: 4px var(--gutter) 0; }
.pm-box { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: var(--radius); background: var(--gray); }
.pm-box .ob-ico { width: 38px; height: 38px; border-radius: 12px; }
.pm-in { flex: 1; min-width: 0; padding: 10px 2px; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .5px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pm-in::placeholder { font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pm-in:focus { outline: none; }
.pm-go { flex: none; padding: 9px 14px; border: 0; border-radius: 14px; background: #2f5f8a; color: #fff; font-size: 13px; font-weight: 600; transition: opacity .2s; }
.pm-go:disabled { opacity: .5; }
.pm-x { flex: none; position: relative; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(118, 118, 128, .18); }
.pm-x::before, .pm-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 1px; background: var(--text); transform: rotate(45deg); }
.pm-x::after { transform: rotate(-45deg); }
.pm-msg { margin: 6px 6px 0; font-size: 13px; color: #1f7a45; }
.pm-msg.bad { color: #c23030; }
.pm-msg[hidden] { display: none; }
.pm-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px var(--gutter) -8px; font-size: 15px; color: var(--label); }
.pm-row b { font-weight: 600; color: #1f7a45; text-align: right; }
.pm-miss { margin: 10px var(--gutter) -8px; font-size: 13px; color: #b26a00; }
.oc-promo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: #eaf3fd; font-size: 13px; color: #24496b; }
.oc-promo b { font-weight: 600; }
.oc-promo em { flex-basis: 100%; font-style: normal; font-weight: 500; }
/* панель промокодов */
.pm-codew { display: flex; gap: 8px; }
.pm-codew .pp-in { flex: 1; text-transform: uppercase; }
.pm-dice { flex: none; width: 48px; margin: 0 0 8px; border: 1px solid rgba(118, 118, 128, .32); border-radius: 14px; background: #fff; font-size: 20px; }
.pm-hint { margin: 8px 2px 0; font-size: 12.5px; color: var(--muted); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.pm-grid label { display: block; font-size: 12px; color: var(--muted); }
.pm-grid label .pp-in { margin-top: 4px; }
#pmPick { margin-top: 8px; }
.pm-act { margin-top: 14px; }
.pm-act:has(#pmReset[hidden]) { grid-template-columns: 1fr; }
#pmReset[hidden] { display: none; }
.pm-list { display: flex; flex-direction: column; gap: 10px; }
.pm-item { padding: 14px; border-radius: 18px; background: var(--gray); }
.pm-item.off { opacity: .6; }
.pm-it-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-code { padding: 4px 10px; border: 1px dashed rgba(47, 95, 138, .55); border-radius: 10px; background: #fff; color: #2f5f8a; font-size: 15px; font-weight: 700; letter-spacing: .6px; }
.pm-st { font-size: 12px; color: var(--muted); }
.pm-item p { margin: 8px 0 2px; font-size: 14.5px; line-height: 1.4; }
.pm-item small { display: block; font-size: 12px; color: var(--muted); }
.pm-it-act { display: flex; gap: 8px; margin-top: 10px; }
.pm-it-act button { flex: 1; padding: 8px 6px; border: 0; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 500; color: var(--text); }
.pm-it-act .del { color: #c23030; }
.pm-it-act .del.ask { background: #c23030; color: #fff; }
/* панель цен */
.pr-q { width: 100%; box-sizing: border-box; margin: 4px 0 8px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--gray); font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pr-q:focus { outline: none; }
.pr-only { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.pr-it { padding: 0; }
.pr-it summary { display: flex; align-items: center; gap: 8px; padding: 14px; list-style: none; cursor: pointer; }
.pr-it summary::-webkit-details-marker { display: none; }
.pr-it summary span { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.pr-it summary em { flex: none; font-style: normal; font-size: 12.5px; color: var(--muted); }
.pr-n { flex: none; font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 10px; background: #2f5f8a; color: #fff; }
.pr-rows { padding: 0 14px 6px; }
.pr-row { padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .07); }
.pr-row b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-row.cu b::after { content: ' · своя цена'; font-weight: 500; color: #2f5f8a; }
.pr-f { display: flex; align-items: flex-end; gap: 8px; }
.pr-f label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.pr-f input { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pr-f input:focus { outline: 2px solid #2f5f8a; }
.pr-s { flex: none; padding: 10px 12px; border: 0; border-radius: 12px; background: #2f5f8a; color: #fff; font-size: 13px; font-weight: 600; }
.pr-s:disabled { opacity: .35; }
.pr-row small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pr-r { color: #c23030; cursor: pointer; }
.pr-f input { flex: 1; min-width: 0; }

.pr-ph { padding: 12px 0 8px; border-top: 1px solid rgba(0, 0, 0, .07); }
.pr-ph > b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-ph small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pr-pics { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-pic, .pr-add { position: relative; width: 64px; height: 64px; border-radius: 12px; background: #fff; overflow: hidden; }
.pr-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pr-x { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 15px; line-height: 22px; text-align: center; }
.pr-x.ask { background: #c23030; }
.pr-add { display: flex; align-items: center; justify-content: center; border: 1.5px dashed #2f5f8a; background: transparent; color: #2f5f8a; font-size: 26px; cursor: pointer; }
.pr-add.busy { opacity: .4; pointer-events: none; }
.pr-ph { border-top: 0; padding-top: 4px; }
.pr-ph + .pr-row { border-top: 1px solid rgba(0, 0, 0, .07); }

.pr-col { padding: 8px 0 10px; }
.pr-col > b { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-col > b em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.pr-dot { flex: none; width: 14px; height: 14px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pr-ph { padding: 4px 0 0; }
/* новые товары, категории, цвета */
.pr-tools { display: flex; gap: 8px; margin: 4px 0 10px; }
.pr-tools button { flex: 1; padding: 11px 8px; border: 0; border-radius: 14px; background: #2f5f8a; color: #fff; font-size: 14px; font-weight: 600; }
.pr-form { margin: 0 0 14px; padding: 14px; border-radius: 18px; background: var(--gray); }
.pr-form h3 { margin: 0 0 10px; font-size: 16px; }
.pr-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.pr-form input:not([type=color]):not([type=file]), .pr-form select, .pr-in { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; }
.pr-form input:focus, .pr-form select:focus, .pr-in:focus { outline: 2px solid #2f5f8a; }
.pf-grp { margin: 4px 0 12px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .07); }
.pf-grp > b { display: block; margin-bottom: 8px; font-size: 13.5px; }
.pf-grp > b em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.pf-grp > input { margin-bottom: 8px; }
.pf-r { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pf-r input { flex: 1; min-width: 0; }
.pf-r .pf-op { flex: 0 0 38%; }
.pf-r input[type=color], .pr-clr { flex: none; width: 46px; height: 42px; padding: 2px; border: 0; border-radius: 12px; background: #fff; }
.pf-t { flex: 1; font-size: 14px; }
.pf-t em { font-style: normal; font-size: 12px; color: var(--muted); }
.pf-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 17px; background: #fff; color: #c23030; font-size: 18px; }
.pf-add { padding: 8px 12px; border: 0; border-radius: 12px; background: #fff; color: #2f5f8a; font-size: 13px; font-weight: 600; }
.pf-del { flex: none; padding: 8px 12px; border: 0; border-radius: 12px; background: #fff; color: #c23030; font-size: 13px; }
.pf-del.wide { width: 100%; margin-top: 12px; }
.pf-del.ask { background: #c23030; color: #fff; }
.pr-go { width: 100%; margin-top: 10px; padding: 13px; border: 0; border-radius: 14px; background: #2f5f8a; color: #fff; font-size: 15px; font-weight: 600; }
.pr-go:disabled { opacity: .5; }
.pr-form small, .pr-addc small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pr-addc { padding: 12px 0 6px; border-top: 1px solid rgba(0, 0, 0, .07); }
.pr-addc > b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.pr-addc .pr-in { margin-bottom: 8px; }
.pr-addc .pr-f .pr-in { margin-bottom: 0; }
.sf-file input { font-size: 13px; }
.pr-f .pr-clr { flex: none; width: 46px; height: 42px; }

.pr-it summary span { display: flex; flex-direction: column; }
.pr-it summary .pr-sec { margin: 2px 0 0; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.pr-cx { margin-left: 8px; padding: 3px 9px; border: 0; border-radius: 10px; background: #fff; color: #c23030; font-size: 11.5px; font-weight: 500; }
.pr-cx.ask { background: #c23030; color: #fff; }
.pr-col > b .pr-cx + em, .pr-col > b em { margin-left: auto; }
.pr-mv { display: flex; gap: 6px; }
.pr-mv button { flex: 1; padding: 9px 4px; border: 0; border-radius: 12px; background: #fff; color: var(--text); font-size: 12.5px; font-weight: 500; }
/* панель Trade-In */
.tp-g{margin:18px 0 8px;font-size:15px}
.tp-m{margin-bottom:10px}
.tp-row{display:flex;gap:6px;margin:6px 0;align-items:center}
.tp-row input,.tp-nn{min-width:0;padding:9px 10px;border:1px solid var(--line,#ddd);border-radius:10px;font:inherit;background:transparent;color:inherit}
.tp-l{flex:0 0 78px}.tp-p,.tp-p2{flex:1}
.tp-nn{width:100%;margin:4px 0;box-sizing:border-box}
.tp-d,.tp-s,.tp-dm,.tp-add{border:0;background:none;color:inherit;opacity:.65;font:inherit;cursor:pointer;padding:6px}
.tp-dm{font-size:12px}.tp-add{display:block;margin-top:2px}
#tpSave,#tpNew{margin-top:10px;width:100%}
/* обычная цена (без скидки) — в той же плашке с окантовкой, что и у iPhone и скидок */
.price.pl { box-sizing: border-box; min-height: 74px; padding: 12px 16px; border-radius: 16px; border: 1px solid rgba(118, 118, 128, .32); box-shadow: none;
  background: linear-gradient(180deg, rgba(118, 118, 128, .07), rgba(255, 255, 255, .35) 55%, rgba(118, 118, 128, .03)), #f8f8fa;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
/* надпись «Добавить в корзину» — под ценой по центру, как у iPhone */
.price.pl { flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 74.5px; text-align: center; }
.price.pl span { font-size: 30px; font-weight: 600; letter-spacing: -.4px; line-height: 1.1; }
.price.pl .pcta { text-align: center; line-height: 1.2; }
/* intro-v2:start */
/* заставка: строка поиска — «жидкое стекло»: прозрачная капсула с размытием, светлой кромкой и бликом сверху */
.in-wordwrap { background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, .15)); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(255, 255, 255, .14), inset 0 0 20px rgba(255, 255, 255, .08), 0 16px 36px -12px rgba(0, 0, 0, .6); }
.in-wordwrap::before { content: ''; position: absolute; left: 14px; right: 14px; top: 2px; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)); }
.in-sicon { stroke: rgba(255, 255, 255, .7); position: relative; }
.in-wordbox { position: relative; }
.in-word { background: #fff; }
.in-caret { background: #b9d8f5; }
/* intro-v2:end */
/* intro-hw:start */
/* заставка к Хеллоуину: те же движения, но фон угольно-фиолетовый, кольцо и свет — тыквенно-оранжевые, вместо лупы тыква */
#intro.hw { background: #08050b; }
#intro.hw .in-bg .b1 { background: radial-gradient(circle, rgba(255, 106, 0, .34), rgba(120, 40, 180, .16) 38%, rgba(120, 40, 180, 0) 64%); }
#intro.hw .in-ring::before { background: conic-gradient(from 0deg, #4a1d00, #b84a00 25%, #ffb15c 45%, #b84a00 65%, #4a1d00 100%); }
#intro.hw .in-ringbox::before { content: ''; position: absolute; inset: -70%; background: radial-gradient(circle, rgba(255, 120, 20, .24), rgba(255, 120, 20, 0) 62%); animation: inFade 1s .6s both; }
#intro.hw .in-caret { background: #ff9a3c; }
#intro.hw .in-wordwrap { border-color: rgba(255, 190, 120, .28); box-shadow: inset 0 1px 0 rgba(255, 220, 180, .55), inset 0 -1px 0 rgba(255, 170, 80, .16), inset 0 0 20px rgba(255, 150, 50, .07), 0 16px 36px -12px rgba(0, 0, 0, .7); }
#intro.hw .in-pk { position: absolute; right: 14px; top: -17px; font-size: 24px; line-height: 1; rotate: 12deg; filter: drop-shadow(0 0 10px rgba(255, 130, 20, .65)); animation: inPumpkin .7s 2.2s cubic-bezier(.2, 1.6, .4, 1) both; }
.in-pk { display: none; }
#intro.hw .in-pk { display: block; }
@keyframes inPumpkin { from { opacity: 0; scale: .2; translate: 0 10px; } to { opacity: 1; scale: 1; translate: 0 0; } }
#intro.hw .in-word { background: linear-gradient(90deg, #fff 0%, #ffe3c2 55%, #ffb25c 100%); }
/* intro-hw:end */
/* цена без плашки iPack (не iPhone): отступ до кешбека */
.pane.prod .price.solo:not(.sq) { margin-bottom: 14px; }
/* пять и больше вариантов (модели iPhone для стекла и чехлов): лента отдельных таблеток, листается пальцем; выбранная — чёрная, как кнопка корзины,
   по краям плавное затухание подсказывает, что есть что листать. Стеклянная капсула здесь не нужна: она рассчитана на 2-4 варианта */
.mrail { position: relative; display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
.mrail::-webkit-scrollbar { display: none; }
.mrail .chip { flex: none; scroll-snap-align: center; min-height: 40px; padding: 0 18px; border-radius: 999px; white-space: nowrap; font-size: 15px; font-weight: 500;
  background: var(--gray); border: 1px solid transparent; transition: background .2s, color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.mrail .chip:active { transform: scale(.96); }
.mrail .chip.on { background: #111; color: #fff; }
.mrail .chip:disabled { opacity: .35; }
/* настройка iPack: у каждого предмета таблетки с вариантами (выбранная чёрная), внизу платный третий год гарантии и итог */
.ipc-sheet { padding-top: 18px; }
.ipc-sheet h3 { margin: 0 0 4px; font-size: 20px; text-align: center; }
.ipc-sheet .sub { text-align: center; margin-bottom: 14px; }
.ipc-s { margin-bottom: 14px; }
.ipc-t { padding: 0 2px 7px; font-size: 13px; font-weight: 500; color: var(--label); }
.ipc-p { display: flex; flex-wrap: wrap; gap: 8px; }
.ipc-o { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--gray); font-size: 14.5px; font-weight: 500; color: var(--text); transition: background .2s, color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.ipc-o:active { transform: scale(.96); }
.ipc-o.on { background: #111; color: #fff; }
.ipc-o small { margin-left: 6px; opacity: .65; font-size: 12px; }
.ipc-w { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 14px; padding: 13px 14px; border: 1.5px solid rgba(29, 63, 143, .22); border-radius: 18px; background: #eef3ff; text-align: left; font: inherit; color: #1d3f8f; -webkit-tap-highlight-color: transparent; transition: border-color .2s, background .2s; }
.ipc-w span { flex: 1; min-width: 0; }
.ipc-w b { display: block; font-size: 15px; font-weight: 600; }
.ipc-w small { display: block; margin-top: 2px; font-size: 12px; opacity: .75; }
.ipc-w em { font-style: normal; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ipc-sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: rgba(29, 63, 143, .25); transition: background .2s; }
.ipc-sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: translate .2s; }
.ipc-w.on { border-color: #1d3f8f; background: #e1eaff; }
.ipc-w.on .ipc-sw { background: #1d3f8f; }
.ipc-w.on .ipc-sw::after { translate: 18px 0; }
.ipc-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 14px; margin-bottom: 12px; border-radius: 14px; background: var(--gray); font-size: 14px; }
.ipc-sum b { font-size: 18px; }
.ipc-sheet #ipcOk { position: sticky; bottom: 0; box-shadow: 0 0 0 10px #fff, 0 -12px 14px 0 rgba(255, 255, 255, .9); }
/* кнопка в раскрытой плашке iPack в корзине */
.stk.ip .ipx li.cf b { color: #1d3f8f; font-weight: 600; font-size: 11.5px; }
.stk.ip .ipx li.cfgrow { display: block; padding: 8px 0 2px; border: 0; }
.ipk-cfgb { width: 100%; min-height: 36px; border: 1.5px solid rgba(29, 63, 143, .35); border-radius: 12px; background: transparent; color: #1d3f8f; font: inherit; font-size: 13px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.ipk-cfgb:active { background: rgba(29, 63, 143, .08); }
.mg-set { color: var(--muted); }
/* «Полная настройка устройства» в корзине: плашка как «В рассрочку», но ниже промокода: значок 32 px, одна строка, справа цена и стрелка (или галочка, если услуга добавлена) */
.ord-btn.su-box { width: auto; margin: 10px var(--gutter) 0; padding: 8px 12px 8px 12px; gap: 8px; min-height: 50px; cursor: pointer; }
.su-i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1.6px solid rgba(36, 73, 107, .5); border-radius: 50%; background: transparent; color: #24496b; font: italic 700 14px/1 Georgia, 'Times New Roman', serif; -webkit-tap-highlight-color: transparent; }
.su-ck { flex: none; box-sizing: border-box; width: 25px; height: 25px; padding: 0; border: 2px solid rgba(36, 73, 107, .45); border-radius: 50%; background: transparent; transition: background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.su-ck.on { border-color: #24496b; box-shadow: 0 3px 9px rgba(36, 73, 107, .45), inset 0 1px 0 rgba(255, 255, 255, .3); background: #24496b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.su-box .ob-t b { font-size: 13.5px; line-height: 1.2; white-space: nowrap; letter-spacing: -.1px; }
.su-box em { font-style: normal; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.su-box.on { background: #f6e8eb; }
.oc-su { display: flex; justify-content: space-between; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--gray); font-size: 13px; }
.oc-su b { font-weight: 600; }
.wd-sheet #suGo { margin-top: 16px; }
.su-ck { transition: background .2s, border-color .2s, box-shadow .2s; }
/* значок «i» у iPack на карточке товара: такой же, как у «Полной настройки» в корзине (круг, курсивная «i» с засечками), цвет остаётся синим под плашку */
.stk.ip.pdp .ipk-i { width: 26px; height: 26px; border: 1.6px solid rgba(29, 63, 143, .55); background: transparent; color: #1d3f8f; font: italic 700 14px/1 Georgia, 'Times New Roman', serif; }

/* карточка товара: Trade-In, цена и iPack PRO — три отдельные плашки с отступами, а не стопка «одна под другой» (просьба владельца 05.11) */
.pane.prod .ti-btn:has(+ .price.solo), .pane.prod .ti-on:has(+ .price.solo) { margin: 22px 0 0; padding: 12px 14px; border-radius: 14px; gap: 12px; }
.pane.prod .ti-btn:has(+ .price.solo) .ti-ico { width: 26px; height: 26px; }
.pane.prod .ti-btn + .price.solo, .pane.prod .ti-on + .price.solo { margin-top: 10px; }
.pane.prod .price.solo, .pane.prod .price.solo.sq { border-radius: 16px; }
.pane.prod .price.solo.sq { margin-top: 22px; }
.pane.prod .ti-btn + .price.solo.sq, .pane.prod .ti-on + .price.solo.sq { margin-top: 10px; }
.pane.prod .stk.ip.pdp, .pane.prod .stk.ip.pdp:has(+ .stk) { margin: 10px 0 14px; padding: 6px 8px 6px 12px; border-radius: 14px; box-shadow: none; border: 1px solid rgba(29, 63, 143, .14); }
.pane.prod .stk.ip.pdp.open .ipl ul.ipx { padding-bottom: 6px; }
/* карточка товара (06.11): Трейд Ин и iPack PRO — плашки одного размера; цена с полоской «В рассрочку» прилипает к нижнему краю экрана */
.pane.prod .ti-btn, .pane.prod .ti-on { margin: 22px 0 0; padding: 12px 14px; border-radius: 14px; gap: 12px; min-height: 64px; box-sizing: border-box; }
.pane.prod .ti-btn .ti-ico { width: 26px; height: 26px; }
.pane.prod .stk.ip.ipk-btn { z-index: 1; display: flex; align-items: center; gap: 12px; min-height: 64px; box-sizing: border-box; margin: 10px 0 0; padding: 12px 12px 12px 14px; border-radius: 14px; border: 1px solid rgba(29, 63, 143, .14); box-shadow: none; font-size: 13px; cursor: default; }
.pane.prod .stk.ip.ipk-btn .ipk-i { flex: none; width: 26px; height: 26px; border: 1.6px solid rgba(29, 63, 143, .55); background: transparent; color: #1d3f8f; font: italic 700 14px/1 Georgia, 'Times New Roman', serif; cursor: pointer; }
.ipk-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ipk-tx b { font-size: 15px; font-weight: 600; }
.ipk-tx small { margin-top: 2px; font-size: 12px; line-height: 1.3; opacity: .75; }
.pane.prod .stk.ip.ipk-btn > em { flex: none; font-style: normal; font-weight: 600; font-size: 14px; }
.pane.prod .stk.ip.ipk-btn.off { opacity: .6; }
.pane.prod .cashback { margin: 10px 0 0; }
.pbar { position: sticky; bottom: 0; z-index: 6; margin: 14px 0 14px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(118, 118, 128, .28); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .06); }
.pane.prod .pbar .price.solo { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.pane.prod .pbar .price.solo:active { transform: none; background: #f4f4f6; }
.pinst { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; padding: 0 12px; border: 0; border-top: 1px solid rgba(118, 118, 128, .18); background: #eaf3fd; color: #24496b; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pinst:active { background: #dbe9f8; }
.pinst .chev { width: 7px; height: 7px; margin-left: 2px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
.pane.prod .ti-btn .ti-t b, .pane.prod .ti-on .ti-t b { font-size: 15px; }
.pane.prod .ti-btn .ti-t small, .pane.prod .ipk-tx small { font-size: 11px; line-height: 1.3; }
.pane.prod .ipk-tx small { white-space: nowrap; }
.pane.prod .stk.ip.ipk-btn { gap: 10px; }
/* 06.11: Трейд Ин и iPack ровно одной высоты; цена прижата вплотную к нижнему краю экрана, снизу у карточки нет отступа */
.pane.prod .ti-btn, .pane.prod .ti-on, .pane.prod .stk.ip.ipk-btn { height: 68px; min-height: 0; padding-top: 0; padding-bottom: 0; }
.pane.prod { padding-bottom: 0; }
.pane.prod .pbody, .pane.prod #pbody { margin-bottom: 0; padding-bottom: 0; }
.pane.prod .pbar { margin: 14px 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .25); }
.pane.prod .pbar .pinst { height: calc(38px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }/* нижняя плашка: цена слева, кнопка «В корзину» справа */
.pbrow { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: #fff; }
.pbp { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pbp b { font-size: 26px; font-weight: 600; letter-spacing: -.4px; line-height: 1.1; white-space: nowrap; }
.pbp small { margin-top: 2px; font-size: 12px; color: var(--label); }
.pbuy { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.pbuy:active { transform: scale(.96); }/* 06.11: нижняя плашка как в Яндекс Лавке — на всю ширину экрана, белая, верхние углы скруглены; слева цена, справа большая кнопка */
body > .pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; overflow: visible; border: 0; border-radius: 24px 0 0 0; background: #fff; box-shadow: -1px -4px 24px rgba(0, 0, 0, .09), 0 -1px 0 rgba(0, 0, 0, .04); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
body > .pbar .pbrow { padding: 0; gap: 14px; }
body > .pbar .pbp { gap: 3px; }
body > .pbar .pbn { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
body > .pbar .pbn b { font-size: 30px; font-weight: 700; letter-spacing: -.6px; line-height: 1.05; color: var(--text); }
body > .pbar .pbn b.sale { color: #2f5f8a; }
body > .pbar .pbn s { font-size: 16px; font-weight: 500; color: var(--old, #9a9aa0); text-decoration-color: #2f5f8a; text-decoration-thickness: 1.5px; }
body > .pbar .pinst { display: inline-flex; align-self: flex-start; width: auto; height: auto; padding: 0; border: 0; background: none; color: #2f5f8a; font-size: 13px; font-weight: 500; gap: 4px; }
body > .pbar .pinst:active { background: none; opacity: .6; }
body > .pbar .pinst .chev { width: 6px; height: 6px; border-width: 1.5px 1.5px 0 0; }
body > .pbar .pbp small { margin: 0; font-size: 12px; }
body > .pbar .pbuy { height: 60px; min-width: 46%; padding: 0 20px; border-radius: 20px; background: #bcd9f7; color: #10263a; font-size: 17px; font-weight: 600; }
body > .pbar .pbuy:active { background: #a9cdf2; }
.pane.prod { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }body > .pbar .pbn b { font-size: 25px; letter-spacing: -.5px; }
body > .pbar .pinst { white-space: nowrap; font-size: 12px; }
body > .pbar .pbuy { min-width: 0; height: 56px; padding: 0 22px; border-radius: 18px; font-size: 16px; }body > .pbar .pbuy { padding: 0 18px; }
body > .pbar .pbp { overflow: hidden; }
/* плашка цены ниже всех шторок (Trade-In, рассрочка, iPack и т.д.), а пока шторка открыта — прячем её совсем */
body > .pbar { z-index: 30; }
body > .pbar { transition: transform .32s cubic-bezier(.2, .9, .25, 1); }
/* шторка открыта — плашка уезжает вниз; закрывается (класс on снят) — выезжает обратно вместе с ней */
body:has(> .sheet-bg.on) > .pbar { transform: translateY(calc(100% + 12px)); }
/* цена чёрная; после применённого Трейд Ина — зелёная */
body > .pbar .pbn b.sale { color: var(--text); }
body > .pbar .pbn b.ti-pop { color: #1f9d4c; }body > .pbar { border-radius: 24px 24px 0 0; } /* скруглены оба верхних угла */
.pane.prod .ti-on .ti-t b { font-size: 14px; line-height: 1.25; }
.pane.prod .ti-on .ti-t small { font-size: 12px; }
/* профиль в стиле настроек Telegram (06.11) */
.me { position: relative; }
.me-panel { position: absolute; top: 0; right: 0; height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(118, 118, 128, .1); color: #8e8e93; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-panel:active { opacity: .6; }
.tg-list { display: grid; gap: 14px; margin: 18px 0 16px; }
.tg-grp { overflow: hidden; border-radius: 14px; background: #f2f2f7; }
.tg-row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px 0 12px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15.5px; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tg-row:active { background: rgba(0, 0, 0, .05); }
.tg-row + .tg-row::before { content: ''; position: absolute; top: 0; left: 56px; right: 0; height: .5px; background: rgba(60, 60, 67, .2); }
.tg-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.tg-ico.em { background: #fff; font-size: 17px; }
.tg-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-v { flex: none; color: #8e8e93; font-size: 15px; }
.tg-v [hidden] { display: none; }
.tg-row .chev { flex: none; width: 7px; height: 7px; margin-left: 2px; border: solid #c4c4c7; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.tg-sheet h3 { margin: 0 0 14px; text-align: center; }
.tg-sheet .tg-grp { margin-bottom: 14px; }
.tg-sheet .refcard { margin: 0 0 12px; }.tg-list { margin-left: var(--gutter, 16px); margin-right: var(--gutter, 16px); }
.me-panel { right: var(--gutter, 16px); }
.tg-h { margin: 4px 0 -6px 14px; font-size: 13px; font-weight: 400; color: #8e8e93; text-transform: uppercase; letter-spacing: .02em; }
/* рассрочка под ценой — маленькая кругленькая плашка с окантовкой */
body > .pbar .pbp { overflow: visible; gap: 5px; }
body > .pbar .pinst { align-items: center; padding: 3px 9px 3px 10px; border: 1px solid rgba(47, 95, 138, .3); border-radius: 999px; background: rgba(47, 95, 138, .06); font-size: 12px; line-height: 1.3; }
body > .pbar .pinst:active { background: rgba(47, 95, 138, .14); opacity: 1; }
body > .pbar .pbuy { font-size: 15.5px; padding: 0 16px; }body > .pbar .pbp { flex: 1 1 auto; min-width: 0; }
body > .pbar .pbuy { flex: 0 1 auto; padding: 0 14px; }
body > .pbar .pbuy { flex: none; width: 146px; padding: 0 8px; white-space: nowrap; } /* одна ширина и для «В корзину», и для «Добавить ещё» */
/* окно «Настроить устройства?» перед оформлением */
.sp-list { display: grid; gap: 8px; }
.sp-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px 8px 8px; border: 1px solid rgba(36, 73, 107, .14); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s; }
.sp-row.on { border-color: rgba(36, 73, 107, .45); background: #eaf3fd; }
.sp-row img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #f5f5f7; }
.sp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-t small { font-size: 12px; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row em { flex: none; font-style: normal; font-size: 13.5px; font-weight: 600; color: #24496b; }
.sp-row .su-ck { display: block; }.pm-row.su-row { margin-top: 12px; }
.pm-row.su-row b { color: var(--text); }
/* окна-шторки с кнопкой внизу: отступ над кнопкой и под ней (на iPhone снизу полоска «домой») */
.wd-sheet > .buy { margin-top: 14px; }
.wd-sheet { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.sp-t b { color: var(--text); }.ct-row { padding-left: 16px; }
.ct-row + .ct-row::before { left: 16px; }
.ct-note { margin: -4px 0 14px; text-align: center; }
/* кнопка «В корзину» на плашке цены: чёрная, как «Оформить заказ» и корзина в шапке, со значком сумки */
body > .pbar .pbuy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 56px; border-radius: 18px; background: #111; color: #fff; font-weight: 600; letter-spacing: -.1px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); }
body > .pbar .pbuy::before { content: ''; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V7a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V7a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / contain no-repeat; }
body > .pbar .pbuy:active { background: #2a2a2a; transform: scale(.97); }body > .pbar .pbuy.more::before { display: none; } /* «Добавить ещё» — без значка, иначе тесно */
/* рассрочка — строка во всю ширину под ценой и кнопкой: значок карты, «В рассрочку от … в месяц», стрелка */
body > .pbar .pinst { display: flex; align-self: stretch; align-items: center; justify-content: center; gap: 6px; width: 100%; height: auto; margin: 10px 0 0; padding: 8px 12px; border: 0; border-radius: 12px; background: #eef4fb; color: #24496b; font-size: 13px; font-weight: 500; white-space: nowrap; }
body > .pbar .pinst b { font-weight: 700; }
body > .pbar .pinst:active { background: #e1ecf8; opacity: 1; }
body > .pbar .pinst .chev { margin-left: 2px; }
.pi-ico { flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E") center / contain no-repeat; }
body > .pbar .pbn b { font-size: 27px; }
.pane.prod { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }body > .pbar .pbn b { font-size: 25px; }
body > .pbar .pbuy { width: 140px; }
body > .pbar .pbp { align-items: center; }
body > .pbar .pbn { justify-content: center; width: 100%; }
body > .pbar .pbn b { line-height: 1.1; }/* «Dynamic Island»: корзина в шапке раскрывается с мини-фото и названием добавленного товара */
.island { position: fixed; z-index: 70; overflow: hidden; background: #000; color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); pointer-events: none; }
.is-in { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 8px; }
.is-in img { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 12px; background: #fff; padding: 3px; box-sizing: border-box; }
.is-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.is-t small { font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.is-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #34c759 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
/* поле промокода — чёрное, а не голубое */
.pm-box .ob-ico { background: #111; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .45); }
.pm-go { background: #111; }
.pm-code { color: #111; border-color: rgba(0, 0, 0, .35); }
/* плашка кешбека — градиент как у Apple Card: розово-белый, оранжевый, жёлтый, сиреневый и зелёный пятна */
.cashback { position: relative; overflow: hidden; color: #2a1c10;
  background:
    radial-gradient(70% 160% at 0% 100%, rgba(176, 120, 240, .95) 0%, rgba(176, 120, 240, 0) 60%),
    radial-gradient(45% 140% at 58% 115%, rgba(150, 205, 100, .9) 0%, rgba(150, 205, 100, 0) 60%),
    radial-gradient(55% 150% at 100% 0%, rgba(255, 249, 220, 1) 0%, rgba(255, 249, 220, 0) 60%),
    radial-gradient(55% 150% at 0% 0%, rgba(252, 228, 238, 1) 0%, rgba(252, 228, 238, 0) 60%),
    linear-gradient(115deg, #f5a46e 0%, #f3ae5c 40%, #f2c64e 75%, #f4d35e 100%); }
.cashback::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .28); pointer-events: none; }
.cashback > * { position: relative; z-index: 1; }
.cashback .cb-t b, .cashback .cb-n { color: #2a1c10; }
.cashback .cb-t small { color: rgba(42, 28, 16, .7); }/* переливание кешбека: пятна градиента медленно перетекают, как у Apple Card при наклоне телефона */
.cashback { background-size: 220% 220%, 220% 220%, 220% 220%, 220% 220%, 220% 220%; animation: cbFlow 8s ease-in-out infinite alternate; }
@keyframes cbFlow {
  0% { background-position: 0% 100%, 50% 100%, 100% 0%, 0% 0%, 0% 50%; }
  50% { background-position: 30% 60%, 80% 70%, 70% 30%, 30% 20%, 60% 50%; }
  100% { background-position: 60% 90%, 20% 80%, 90% 40%, 10% 30%, 100% 50%; }
}
/* блик, который медленно проходит по плашке */
.cashback::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); transform: skewX(-18deg); animation: cbShine 6s ease-in-out infinite; pointer-events: none; }
@keyframes cbShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.cashback > * { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .cashback, .cashback::before { animation: none; } }
/* без пролетающего блика (как у Трейд Ина) — только переливание цветов */
.cashback::before { content: none; animation: none; }

/* значок Трейд Ина: зеркалим, чтобы стрелки смотрели по часовой, и крутим по часовой — стрелки идут туда же, куда вращение */
.ti-btn .ti-ico { animation: tiSpinCw 6s linear infinite; }
@keyframes tiSpinCw { from { transform: scaleX(-1) rotate(0deg); } to { transform: scaleX(-1) rotate(-360deg); } }

/* Трейд Ин и iPack PRO — два одинаковых блока рядом: слева Трейд Ин, справа iPack; вместе на всю ширину */
.pduo { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.pduo > * { margin: 0 !important; width: auto !important; height: auto !important; min-height: 132px !important; box-sizing: border-box; }
/* Трейд Ин: значок сверху, ниже название и подпись, стрелка в углу */
.pduo .ti-btn, .pduo .ti-on { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 14px !important; border-radius: 18px; text-align: left; }
.pduo .ti-btn .ti-ico, .pduo .ti-on .ti-ico { width: 30px !important; height: 30px !important; }
.pduo .ti-t { display: flex; flex-direction: column; gap: 3px; }
.pduo .ti-t b { font-size: 16px !important; line-height: 1.15; }
.pduo .ti-t small { font-size: 12px !important; line-height: 1.3; }
.pduo .ti-btn .chev { position: absolute; top: 16px; right: 14px; margin: 0; }
.pduo .ti-on .ti-x { position: absolute; top: 10px; right: 10px; }
.pduo .ti-on .ti-t b { padding-right: 22px; }
/* iPack: «i» и галочка сверху, ниже название, подпись и цена */
.pduo .stk.ip.ipk-btn { display: grid !important; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; align-items: start; gap: 6px 8px; padding: 14px !important; border-radius: 18px; }
.pduo .stk.ip.ipk-btn .ipk-i { grid-column: 1; grid-row: 1; }
.pduo .stk.ip.ipk-btn .ck { grid-column: 2; grid-row: 1; justify-self: end; }
.pduo .stk.ip.ipk-btn .ipk-tx { grid-column: 1 / -1; grid-row: 2; align-self: end; }
.pduo .stk.ip.ipk-btn .ipk-tx small { white-space: normal; font-size: 12px; }
.pduo .stk.ip.ipk-btn > em { grid-column: 1 / -1; grid-row: 3; font-size: 16px; font-weight: 700; }
.pduo + .cashback { margin-top: 10px; }
/* «В рассрочку» — нежный апельсиновый */
body > .pbar .pinst { background: #fff1e3; color: #b8571a; }
body > .pbar .pinst:active { background: #ffe5cc; }
.pane.prod .ti-on .ti-t b { font-size: 15px !important; }

/* «В рассрочку» — ярко-оранжевый, белый текст */
body > .pbar .pinst { background: #ff7a00; color: #fff; box-shadow: 0 6px 14px -6px rgba(255, 122, 0, .6); }
body > .pbar .pinst:active { background: #e86d00; }

/* 07.11: в блоках Трейд Ин и iPack название наверху, крупно; стрелка «›» справа у названия */
.pduo .ti-btn, .pduo .ti-on { justify-content: flex-start !important; padding: 16px 14px !important; }
.pduo .ti-t { padding-right: 22px; }
.pduo .ti-t b { font-size: 18px !important; font-weight: 700; letter-spacing: -.2px; }
.pduo .ti-t small { margin-top: 2px; }
.pduo .ti-btn .chev { top: 20px !important; right: 16px !important; }
.pduo .ti-on .ti-x { top: 12px !important; right: 12px !important; }
.pduo .stk.ip.ipk-btn { grid-template-columns: 1fr auto !important; grid-template-rows: auto 1fr auto !important; padding: 16px 14px !important; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.pduo .stk.ip.ipk-btn:active { transform: scale(.98); }
.pduo .stk.ip.ipk-btn .ipk-tx { grid-column: 1 !important; grid-row: 1 !important; align-self: start !important; }
.pduo .stk.ip.ipk-btn .ipk-tx b { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.pduo .stk.ip.ipk-btn .ipk-tx small { margin-top: 2px; }
.pduo .stk.ip.ipk-btn > .chev { grid-column: 2; grid-row: 1; justify-self: end; margin: 6px 2px 0 0; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.pduo .stk.ip.ipk-btn > em { grid-column: 1 !important; grid-row: 3 !important; align-self: end; }
/* галочка iPack — квадрат со скруглением, чёрная, как корзина */
.pduo .stk.ip.ipk-btn .ck { grid-column: 2 !important; grid-row: 3 !important; align-self: end; justify-self: end; width: 30px; height: 30px; padding: 0; border: 2px solid #111; border-radius: 9px; background: #fff; box-shadow: none; animation: none; }
.pduo .stk.ip.ipk-btn .ck.on { border-color: #111; background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .45); }
.pduo .stk.ip.ipk-btn .ck::before, .pduo .stk.ip.ipk-btn .ck::after { content: none !important; }/* iPack: стрелка в правом верхнем углу (как у Трейд Ина), название в одну строку, цена и галочка на одном уровне */
.pduo .stk.ip.ipk-btn { position: relative; }
.pduo .stk.ip.ipk-btn > .chev { position: absolute; top: 22px; right: 18px; margin: 0; }
.pduo .stk.ip.ipk-btn .ipk-tx { grid-column: 1 / -1 !important; padding-right: 18px; }
.pduo .stk.ip.ipk-btn .ipk-tx b { white-space: nowrap; }
.pduo .stk.ip.ipk-btn > em, .pduo .stk.ip.ipk-btn .ck { align-self: center !important; }
.pduo .stk.ip.ipk-btn > em { line-height: 30px; }
/* «− N +» вместо «Добавить ещё» */
.pqty { flex: none; display: flex; align-items: center; justify-content: space-between; width: 140px; height: 56px; border-radius: 18px; background: #111; color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); overflow: hidden; }
.pqty button { width: 46px; height: 100%; border: 0; background: none; color: #fff; font: inherit; font-size: 24px; font-weight: 500; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pqty button:active { background: rgba(255, 255, 255, .12); }
.pqty span { flex: 1; text-align: center; font-size: 18px; font-weight: 600; }
/* стрелка iPack ровно на уровне названия, как у Трейд Ина; подпись на всю ширину */
.pduo .stk.ip.ipk-btn > .chev { position: absolute !important; top: 24px !important; right: 18px !important; margin: 0 !important; transform: rotate(45deg) !important; }
.pduo .stk.ip.ipk-btn .ipk-tx { padding-right: 0 !important; }
.pduo .stk.ip.ipk-btn .ipk-tx b { padding-right: 20px; }
.pduo .stk.ip.ipk-btn > .chev { top: 4px !important; }

/* стрелка iPack — точно такая же, как у Трейд Ина (10×10, линия 2px) */
.pduo .stk.ip.ipk-btn > .chev { width: 10px !important; height: 10px !important; border-style: solid !important; border-width: 0 2px 2px 0 !important; transform: rotate(-45deg) !important; }
/* кешбек — оранжевый, переливается оттенками оранжевого */
.cashback { color: #fff;
  background:
    radial-gradient(60% 160% at 0% 100%, rgba(255, 150, 40, .95) 0%, rgba(255, 150, 40, 0) 60%),
    radial-gradient(45% 140% at 60% 115%, rgba(255, 90, 0, .85) 0%, rgba(255, 90, 0, 0) 60%),
    radial-gradient(55% 150% at 100% 0%, rgba(255, 190, 90, 1) 0%, rgba(255, 190, 90, 0) 60%),
    radial-gradient(55% 150% at 0% 0%, rgba(255, 170, 70, 1) 0%, rgba(255, 170, 70, 0) 60%),
    linear-gradient(115deg, #ff7a00 0%, #ff8c1a 45%, #ff6a00 100%); }
.cashback::after { background: rgba(255, 255, 255, .06); }
.cashback .cb-t b, .cashback .cb-n { color: #fff; }
.cashback .cb-t small { color: rgba(255, 255, 255, .85); }
/* «В рассрочку» — нежно-зелёный */
body > .pbar .pinst { background: #e6f6ec; color: #1a7f43; box-shadow: none; }
body > .pbar .pinst:active { background: #d4efdf; }
/* галочка iPack — того же синего, что и текст в блоке iPack */
.pduo .stk.ip.ipk-btn .ck { border-color: #1d3f8f !important; }
.pduo .stk.ip.ipk-btn .ck.on { background-color: #1d3f8f !important; box-shadow: 0 4px 10px -4px rgba(29, 63, 143, .5) !important; }

/* кешбек — вкладка, выглядывающая из-под плашки цены (плашка на неё наслаивается), без значка */
body > .pbar { background: transparent !important; box-shadow: none !important; }
body > .pbar::before { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: #fff; box-shadow: 0 -4px 24px rgba(0, 0, 0, .09), 0 -1px 0 rgba(0, 0, 0, .04); }
body > .pbar > :not(.pcb) { position: relative; z-index: 1; }
body > .pbar .pcb { position: absolute; left: 16px; right: 16px; bottom: 100%; z-index: -1; margin: 0 0 -22px; padding: 10px 16px 32px; border-radius: 18px 18px 0 0; gap: 10px; }
body > .pbar .pcb .cb-t b { font-size: 14px; }
body > .pbar .pcb .cb-n { font-size: 16px; }
.pane.prod { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }body:has(> .sheet-bg.on) > .pbar { transform: translateY(calc(100% + 70px)); } /* вместе с выглядывающим кешбеком */

/* вкладка кешбека — на всю ширину плашки цены и на 35% ниже */
body > .pbar .pcb { left: 0; right: 0; padding: 5px 20px 27px; border-radius: 24px 24px 0 0; }
body > .pbar .pcb .cb-t b { font-size: 13px; }
body > .pbar .pcb .cb-n { font-size: 14px; }
body > .pbar .pcb { left: 16px; right: 16px; border-radius: 18px 18px 0 0; } /* ширина как раньше, высота — новая */
body > .pbar .pcb { left: 6px; right: 6px; border-radius: 22px 22px 0 0; } /* чуть шире: почти до краёв плашки цены */

/* кешбек — верхняя полоса самой плашки цены; сумма слева */
body > .pbar .pcb { position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; z-index: 1 !important; display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: -12px -16px 12px; padding: 8px 20px; border-radius: 24px 24px 0 0 !important; }
body > .pbar .pcb .cb-n { order: -1; font-size: 15px; }
body > .pbar .pcb .cb-t b { font-size: 13px; font-weight: 500; opacity: .95; }
.pane.prod { padding-bottom: calc(185px + env(safe-area-inset-bottom)); }
body:has(> .sheet-bg.on) > .pbar { transform: translateY(calc(100% + 12px)); }
/* кешбек под ценой: маленькая оранжевая плашка «+N Кешбек 5%» */
.pcb2 { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(115deg, #ff7a00, #ff9a2e); color: #fff; white-space: nowrap; box-shadow: 0 3px 8px -3px rgba(255, 122, 0, .55); }
.pcb2 .cb-n { order: -1; font-size: 13px; font-weight: 700; }
.pcb2 .cb-t b { font-size: 11.5px; font-weight: 500; }
.pane.prod { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }.pcb2 { max-width: 100%; box-sizing: border-box; }
.pcb2 { overflow: hidden; }
/* кешбек под ценой — меньше, нежнее; цена чуть ниже */
.pcb2 { gap: 4px; margin-top: 5px; padding: 2px 8px; background: linear-gradient(115deg, #ff9f52, #ffb877); box-shadow: 0 2px 6px -2px rgba(255, 140, 50, .45); }
.pcb2 .cb-n { font-size: 11.5px; }
.pcb2 .cb-t b { font-size: 10.5px; font-weight: 500; }
body > .pbar .pbn { margin-top: 6px; }.pcb2 { display: flex; justify-content: center; width: 100%; border-radius: 10px; padding: 4px 8px; } /* прямоугольник со скруглением, как у строки рассрочки */
/* кешбек под ценой — в том же стиле, что строка рассрочки: светлый фон, цветной текст, те же скругления и отступы */
.pcb2 { display: flex; justify-content: center; align-items: center; gap: 5px; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 6px 10px; border-radius: 12px; background: #fff1e3; color: #c2611a; box-shadow: none; }
.pcb2 .cb-n { font-size: 13px; font-weight: 700; color: #c2611a; }
.pcb2 .cb-t b { font-size: 13px; font-weight: 500; color: #c2611a; }.pcb2 { gap: 4px; padding: 6px 6px; white-space: nowrap; }
.pcb2 .cb-n { font-size: 12px; }
.pcb2 .cb-t b { font-size: 11.5px; }
/* нижняя плашка: низ кешбека ровно по низу кнопки, цена опущена вплотную к кешбеку */
body > .pbar .pbrow { align-items: stretch; }
body > .pbar .pbp { justify-content: flex-end; }
body > .pbar .pbn { margin-top: 0; }
body > .pbar .pcb2 { margin-top: 4px; }body > .pbar .pqty, body > .pbar .pbuy { height: auto !important; min-height: 56px; align-self: stretch; } /* кнопка по высоте колонки цены: низ ровно по низу кешбека */
/* Трейд Ин: без пролетающего блика — тёмный градиент медленно переливается */
.ti-btn::after { content: none !important; animation: none !important; }
.ti-btn { background: linear-gradient(120deg, #141a24 0%, #1c2c44 30%, #2f5f8a 55%, #1c2c44 78%, #141a24 100%) !important; background-size: 260% 260% !important; animation: tiFlow 9s ease-in-out infinite alternate; }
@keyframes tiFlow { 0% { background-position: 0% 30%; } 50% { background-position: 70% 70%; } 100% { background-position: 100% 40%; } }
@media (prefers-reduced-motion: reduce) { .ti-btn { animation: none; } }/* окно «Рассрочка» — зелёное, как строка рассрочки */
.wd-sheet[aria-label="Рассрочка"] .wd-hero { background: linear-gradient(145deg, #34b46a, #1a7f43); box-shadow: 0 14px 26px -16px rgba(26, 127, 67, .8); }
.wd-sheet[aria-label="Рассрочка"] .wd-s h5 { color: #1a7f43; }/* кешбек в корзине — как в карточке: светлый персиковый фон, оранжевый текст, без переливания */
.cart-cb { background: #fff1e3 !important; color: #c2611a; animation: none !important; }
.cart-cb::after, .cart-cb::before { content: none !important; }
.cart-cb .cb-t b, .cart-cb .cb-n { color: #c2611a !important; }
.cart-cb .cb-t small { color: rgba(194, 97, 26, .75) !important; }.pm-off { flex: none; font-style: normal; font-size: 16px; font-weight: 700; color: #1f9d4c; margin-left: auto; }
.pm-box.on .ob-t { flex: 1; min-width: 0; }
.pm-off.pm-gf { font-size: 13px; font-weight: 600; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Трейд Ин: переливание без лагов — градиент на отдельном слое двигается трансформацией (видеокарта), а не перерисовкой фона;
   при удержании iOS не подсвечивает и не выделяет кнопку */
.ti-btn { animation: none !important; background: #141a24 !important; isolation: isolate; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.ti-btn::before { content: ''; position: absolute; z-index: -1; top: -60%; left: -60%; width: 220%; height: 220%; background: linear-gradient(120deg, #141a24 0%, #1c2c44 30%, #2f5f8a 50%, #1c2c44 70%, #141a24 100%); will-change: transform; animation: tiFlow2 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes tiFlow2 { 0% { transform: translate3d(-18%, -10%, 0); } 50% { transform: translate3d(8%, 6%, 0); } 100% { transform: translate3d(18%, -4%, 0); } }
.ti-btn > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ti-btn::before { animation: none; } }.sp-row { box-sizing: border-box; max-width: 100%; }
/* корзина: язычок «Оформить» внизу, на всю ширину экрана; под ним место, чтобы низ корзины не прятался */
body > .pbar.cbar { left: 0 !important; }
body:has(> .pbar.cbar) main { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }body > .pbar.cbar .pcb2 { justify-content: center; }
.pcb2 { justify-content: center !important; }
.pcb2 .cb-t, .pcb2 .cb-n { flex: none !important; margin: 0 !important; } /* надпись кешбека по центру плашки */
/* язычок корзины: «Итого» и сумма с кешбеком под ней, ниже «Оформить заказ» во всю ширину */
body > .pbar.cbar .cb-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
body > .pbar.cbar .cb-lbl { font-size: 22px; font-weight: 600; }
body > .pbar.cbar .pbp { flex: none; display: flex; flex-direction: column; align-items: stretch; }
body > .pbar.cbar .pbn { justify-content: center; }
body > .pbar.cbar .pbn b { font-size: 26px !important; }
body > .pbar.cbar .cb-go { position: relative; z-index: 1; display: block; width: 100%; height: 54px; margin: 0; }
body:has(> .pbar.cbar) main { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }/* язычок корзины, компактно: слева «Итого», сумма и кешбек столбиком, справа большая кнопка */
body > .pbar.cbar { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) 20px; }
body > .pbar.cbar .cb-row { position: relative; z-index: 1; display: flex; align-items: stretch; gap: 14px; }
body > .pbar.cbar .cb-l { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
body > .pbar.cbar .cb-lbl { font-size: 13px; font-weight: 500; color: var(--label, #8e8e93); line-height: 1.2; }
body > .pbar.cbar .pbn { justify-content: flex-start; width: auto; margin: 1px 0 0; }
body > .pbar.cbar .pbn b { font-size: 25px !important; line-height: 1.15; letter-spacing: -.5px; white-space: nowrap; }
body > .pbar.cbar .pcb2 { display: inline-flex; width: auto; margin-top: 5px; padding: 3px 9px; border-radius: 8px; justify-content: flex-start !important; }
body > .pbar.cbar .pcb2 .cb-n, body > .pbar.cbar .pcb2 .cb-t b { font-size: 12px; }
body > .pbar.cbar .cb-go { flex: none; width: 46%; min-height: 64px; margin: 0; padding: 0 12px; border: 0; border-radius: 20px; background: #111; color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
body > .pbar.cbar .cb-go:active { transform: scale(.97); }
body:has(> .pbar.cbar) main { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }body > .pbar.cbar .cb-note { position: relative; z-index: 1; margin: 10px 0 0; font-size: 11.5px; line-height: 1.35; color: #8e8e93; text-align: center; }
body:has(> .pbar.cbar) main { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
body > .pbar.cbar .cb-go { white-space: nowrap; font-size: 15px; padding: 0 10px; width: 48%; } /* «Оформить заказ» в одну строку */
/* язычок корзины: сверху «Итого» и сумма (кешбек справа), под ними широкая кнопка «Оформить заказ» */
body > .pbar.cbar .cb-row { flex-direction: column; align-items: stretch; gap: 12px; }
body > .pbar.cbar .cb-l { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 10px; }
body > .pbar.cbar .cb-lbl { grid-column: 1; grid-row: 1; }
body > .pbar.cbar .pbn { grid-column: 1; grid-row: 2; }
body > .pbar.cbar .pcb2 { grid-column: 2; grid-row: 2; align-self: center; margin: 0; }
body > .pbar.cbar .cb-go { width: 100%; min-height: 0; height: 54px; font-size: 16px; }.esim-ico { display: inline-block; height: .78em; width: auto; margin-left: .3em; vertical-align: -.02em; } /* значок eSIM у iPhone Air и Duo */
.esim-ico { height: 1.05em; margin-left: .35em; vertical-align: -.12em; }
.gallery { position: relative; }
.esim-badge { position: absolute; top: 14px; right: 14px; z-index: 3; height: 26px; width: auto; pointer-events: none; } /* значок eSIM на фото iPhone Air и Duo, справа сверху */
.esim-ico { height: .78em; margin-left: .3em; vertical-align: -.02em; } /* как в первом варианте: рядом с названием */
.pcb2 .cb-t { order: -1 !important; }
.pcb2 .cb-n { order: 0 !important; } /* сначала «Кешбек 5%», потом сумма */

/* язычок корзины: слева крупно «Итого», справа сумма, под ней кешбек и рассрочка; ниже широкая кнопка и подпись */
body > .pbar.cbar { padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); }
body > .pbar.cbar .cb2 { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; }
body > .pbar.cbar .cb2-l { font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.15; padding-top: 2px; }
body > .pbar.cbar .cb2-r { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
body > .pbar.cbar .cb2-r .pbn { justify-content: flex-end; width: auto; margin: 0; }
body > .pbar.cbar .cb2-r .pbn b { font-size: 26px !important; line-height: 1.15; letter-spacing: -.5px; white-space: nowrap; }
body > .pbar.cbar .cb2-r .pcb2 { display: flex; width: 100%; margin: 0; padding: 6px 8px; border-radius: 12px; justify-content: center !important; }
body > .pbar.cbar .cb2-r .pcb2 .cb-n, body > .pbar.cbar .cb2-r .pcb2 .cb-t b { font-size: 12.5px; }
body > .pbar.cbar .cb2-r .pinst { width: 100%; margin: 0; }
body > .pbar.cbar .cb2-r .pinst[hidden] { display: none; }
body > .pbar.cbar > .cb-go { position: relative; z-index: 1; display: block; width: 100%; height: auto; min-height: 56px; margin: 12px 0 0; padding: 0 12px; border: 0; border-radius: 18px; background: #111; color: #fff; font: inherit; font-size: 17px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
body > .pbar.cbar > .cb-go:active { transform: scale(.97); }
body > .pbar.cbar .cb-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.35; text-align: center; width: 100%; }
body:has(> .pbar.cbar) main { padding-bottom: calc(250px + env(safe-area-inset-bottom)); }
/* галочка iPack в корзине — как на карточке товара: скруглённый квадрат цвета iPack */
.stk.ip .ck.ck2, .stk.ip .ck.ck2:not(.on) { width: 30px; height: 30px; padding: 0; box-sizing: border-box; border: 2px solid #1d3f8f; border-radius: 9px; background: #fff; box-shadow: none; animation: none; transform: none; margin-right: 0; }
.stk.ip .ck.ck2.on { border-color: #1d3f8f; background: #1d3f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; box-shadow: 0 4px 10px -4px rgba(29, 63, 143, .5); }
.stk.ip .ck.ck2::before, .stk.ip .ck.ck2::after { content: none !important; }
/* кешбек — нежно-фиолетовый везде */
.pcb2, body > .pbar .pcb2 { background: #f1eafe !important; color: #6a3fc8 !important; box-shadow: none !important; }
.pcb2 .cb-n, .pcb2 .cb-t b { color: #6a3fc8 !important; }
.cart-cb { background: #f1eafe !important; color: #6a3fc8; }
.cart-cb .cb-t b, .cart-cb .cb-n { color: #6a3fc8 !important; }

/* язычок корзины v3: ровная сетка — строка итога, две равные плитки, кнопка, подпись */
body > .pbar.cbar { padding: 16px 16px calc(12px + env(safe-area-inset-bottom)); }
body > .pbar.cbar .cb3-top { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body > .pbar.cbar .cb3-l { font-size: 20px; font-weight: 600; color: #111; }
body > .pbar.cbar .cb3-top .pbn { width: auto; margin: 0; justify-content: flex-end; }
body > .pbar.cbar .cb3-top .pbn b { font-size: 28px !important; font-weight: 700; letter-spacing: -.6px; line-height: 1.1; white-space: nowrap; }
body > .pbar.cbar .cb3 { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 12px; }
body > .pbar.cbar .cb3-t { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; padding: 9px 12px; border: 0; border-radius: 14px; font: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
body > .pbar.cbar .cb3-t[hidden] { display: none; }
body > .pbar.cbar .cb3-t small { font-size: 12px; font-weight: 500; opacity: .85; line-height: 1.2; }
body > .pbar.cbar .cb3-t b { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
body > .pbar.cbar .cb3-cb { background: #f1eafe; color: #6a3fc8; }
body > .pbar.cbar .cb3-in { background: #e6f6ec; color: #1a7f43; cursor: pointer; padding-right: 28px; }
body > .pbar.cbar .cb3-in:active { transform: scale(.97); }
body > .pbar.cbar .cb3-in .chev { position: absolute; right: 11px; top: 50%; width: 7px; height: 7px; margin: 0; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); background: none; }
body > .pbar.cbar > .cb-go { margin-top: 12px; }
body > .pbar.cbar .cb-note { margin-top: 9px; font-size: 13px; color: #8e8e93; }
body:has(> .pbar.cbar) main { padding-bottom: calc(240px + env(safe-area-inset-bottom)); }

/* кнопка «Оформить заказ» — как «В корзину» на карточке; текст плиток кешбека и рассрочки по центру */
body > .pbar.cbar > .cb-go { height: 60px; min-height: 60px; border-radius: 18px; font-size: 16px; letter-spacing: -.1px; }
body > .pbar.cbar .cb3-t { align-items: center; text-align: center; }
body > .pbar.cbar .cb3-in { padding-left: 24px; padding-right: 24px; }
body > .pbar.cbar .cb3-l { font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; } /* «Итого» крупно, вровень с суммой */
/* плитка кешбека: значок баллов (кольцо) рядом с суммой, чтобы не было пусто */
body > .pbar.cbar .cb3-v { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
body > .pbar.cbar .cb3-ring { width: 20px; height: 20px; object-fit: contain; flex: none; }
/* плитки кешбека и рассрочки — одинаковые: две равные колонки, обе со стрелкой, кешбек открывает баллы */
body > .pbar.cbar .cb3 { display: grid; grid-template-columns: 1fr 1fr; }
body > .pbar.cbar .cb3:has(> .cb3-in[hidden]) { grid-template-columns: 1fr; }
body > .pbar.cbar .cb3-t { box-sizing: border-box; width: 100%; min-height: 56px; justify-content: center; padding: 9px 24px; cursor: pointer; }
body > .pbar.cbar .cb3-t:active { transform: scale(.97); }
body > .pbar.cbar .cb3-t .chev { position: absolute; right: 11px; top: 50%; width: 7px; height: 7px; margin: 0; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); background: none; }
/* плитки кешбека и рассрочки ниже на 25% (56 → 42 px) */
body > .pbar.cbar .cb3-t { min-height: 42px; padding-top: 5px; padding-bottom: 5px; gap: 1px; border-radius: 12px; }
body > .pbar.cbar .cb3-t small { font-size: 11px; line-height: 1.1; }
body > .pbar.cbar .cb3-t b { font-size: 14.5px; line-height: 1.15; }
body > .pbar.cbar .cb3 { margin-top: 10px; }
/* в корзине вместо суммы сверху — кнопка «‹ В магазин» */
.cart-pill.to-shop { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; padding-right: 18px; text-decoration: none; }
.cart-pill.to-shop .ts-ch { width: 8px; height: 8px; border: solid #fff; border-width: 0 0 2.2px 2.2px; transform: rotate(45deg); margin-left: 3px; }
/* плитки кешбека и рассрочки ещё на 10% ниже (42 → 38 px) */
body > .pbar.cbar .cb3-t { min-height: 38px; padding-top: 3px; padding-bottom: 3px; gap: 0; }
/* магазин баллов: тёмная карта с балансом, крестик закрытия всегда на виду, сегменты как в iOS, фиолетовые акценты */
.pt2 { padding-top: 14px; }
.pt2 .pt-x { position: sticky; top: 6px; z-index: 6; display: block; width: 32px; height: 32px; margin: 0 6px -32px auto; padding: 0; border: 0; border-radius: 50%; background: rgba(60, 60, 67, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pt2 .pt-x::before, .pt2 .pt-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.pt2 .pt-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pt2 .pt-x:active { transform: scale(.9); }
.pt-hero { position: relative; overflow: hidden; margin: 0 0 16px; padding: 20px 20px 18px; border-radius: 24px; color: #fff; text-align: left; background: radial-gradient(130% 150% at 100% 0%, #7b4fe0 0%, rgba(123, 79, 224, 0) 55%), radial-gradient(120% 130% at 0% 100%, #2a1760 0%, rgba(42, 23, 96, 0) 60%), #0d0b14; box-shadow: 0 18px 40px -20px rgba(106, 63, 200, .75), inset 0 1px 0 rgba(255, 255, 255, .12); }
.pt-hero::after { content: ''; position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(176, 140, 255, .35), rgba(176, 140, 255, 0)); animation: ptGlow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes ptGlow { from { transform: translate(-25%, 10%); } to { transform: translate(25%, -10%); } }
@media (prefers-reduced-motion: reduce) { .pt-hero::after { animation: none; } }
.pt-hero > * { position: relative; z-index: 1; }
.pth-l { display: block; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; opacity: .65; }
.pth-n { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.pth-n img { width: 30px; height: 30px; object-fit: contain; filter: invert(1); }
.pth-n b { font-size: 42px; font-weight: 700; letter-spacing: -1.4px; line-height: 1; }
.pth-n span { align-self: flex-end; margin-bottom: 4px; font-size: 16px; font-weight: 500; opacity: .75; }
.pt-hero small { display: block; margin-top: 10px; font-size: 13px; opacity: .65; }
.pt2 .pt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 14px; padding: 3px; border-radius: 14px; background: #f0eef5; }
.pt2 .pt-tabs .chip { height: 36px; margin: 0; padding: 0; border: 0; border-radius: 11px; background: transparent; color: #8e8e93; font-weight: 600; box-shadow: none; transition: background .2s, color .2s; }
.pt2 .pt-tabs .chip.on { background: #fff; color: #111; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.pt2 .reward { background: #f7f5fc; border-radius: 20px; }
.pt2 .reward.ok { background: #f1eafe; box-shadow: inset 0 0 0 1.5px rgba(106, 63, 200, .35); }
.pt2 .rw-pic { background: #fff; border-radius: 14px; }
.pt2 .rw-p { padding: 4px 9px; border-radius: 999px; background: #fff; color: #111; font-weight: 700; }
.pt2 .rw-bar { background: rgba(106, 63, 200, .12); }
.pt2 .rw-bar i { background: linear-gradient(90deg, #a27bff, #6a3fc8); }
.pt2 .rw-cap { color: #6a3fc8; opacity: .85; }
.pt2 #ptClose { margin-top: 14px; }
/* магазин баллов спокойнее: светлая карта без перелива и тени, ровный текст */
.pt-hero { background: #f4f0fd; color: #1c1530; box-shadow: none; padding: 18px 18px 16px; border-radius: 20px; }
.pt-hero::after { content: none; animation: none; }
.pth-l { color: #6a3fc8; opacity: 1; letter-spacing: .3px; text-transform: none; font-size: 13px; }
.pth-n { margin-top: 6px; gap: 8px; }
.pth-n img { width: 24px; height: 24px; filter: none; }
.pth-n b { font-size: 34px; letter-spacing: -1px; }
.pth-n span { font-size: 15px; opacity: .6; margin-bottom: 3px; }
.pt-hero small { margin-top: 6px; color: #6b6878; opacity: 1; }
.pt2 .pt-x { background: rgba(120, 120, 128, .16); }
.pt2 .pt-x::before, .pt2 .pt-x::after { background: #3c3c43; }
.pt2 .reward, .pt2 .reward.ok { background: #f6f6f8; box-shadow: none; }
.pt2 .rw-bar { background: rgba(0, 0, 0, .07); }
.pt2 .rw-bar i { background: #6a3fc8; }
.pt2 .rw-cap { color: #8e8e93; }
.pt2 .reward.ok .rw-cap { color: #6a3fc8; }
/* магазин баллов — золотая середина: мягкий фиолетовый градиент, крупное кольцо-водяной знак, лёгкая тень, без анимации */
.pt-hero { background: linear-gradient(135deg, #e9defe 0%, #f6f1ff 55%, #efe7ff 100%); color: #1c1530; box-shadow: 0 10px 26px -16px rgba(106, 63, 200, .55), inset 0 0 0 1px rgba(106, 63, 200, .10); padding: 20px 20px 18px; border-radius: 22px; }
.pt-hero::after { content: ''; position: absolute; inset: auto -38px -58px auto; width: 170px; height: 170px; background: url("img/ring.png?v=6") center / contain no-repeat; opacity: .07; transform: rotate(-18deg); animation: none; pointer-events: none; }
.pth-l { color: #6a3fc8; font-weight: 600; }
.pth-n b { font-size: 38px; color: #2a1760; }
.pth-n span { color: #6a3fc8; opacity: .8; }
.pt2 .reward.ok { background: #f4effe; box-shadow: inset 0 0 0 1.5px rgba(106, 63, 200, .25); }
.pt2 .rw-bar i { background: linear-gradient(90deg, #a27bff, #6a3fc8); }
.pt2 .rw-p { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
/* награды: один сгруппированный список (как настройки iOS), строки через тонкие линии */
.pt2 #shopBox { display: block; padding: 0; border-radius: 20px; background: #f6f6f8; overflow: hidden; }
.pt2 .reward.rw2 { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; width: 100%; padding: 12px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s; }
.pt2 .reward.rw2:active { background: rgba(0, 0, 0, .04); }
.pt2 .reward.rw2 + .reward.rw2::before { content: ''; position: absolute; top: 0; left: 82px; right: 0; height: 1px; background: rgba(60, 60, 67, .12); }
.pt2 .rw2 .rw-pic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0; border-radius: 14px; background: #fff; overflow: hidden; }
.pt2 .rw2 .rw-pic img { width: 82%; height: 82%; object-fit: contain; }
.pt2 .rw2-m { display: flex; flex-direction: column; min-width: 0; }
.pt2 .rw2-m b { font-size: 15px; font-weight: 600; line-height: 1.25; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt2 .rw2-m small { margin-top: 1px; font-size: 12.5px; color: #8e8e93; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt2 .rw2-g { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.pt2 .rw2-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(60, 60, 67, .12); overflow: hidden; }
.pt2 .rw2-bar i { display: block; height: 100%; border-radius: 4px; background: #6a3fc8; }
.pt2 .rw2-g em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; color: #8e8e93; font-variant-numeric: tabular-nums; }
.pt2 .rw2-ok { align-self: flex-start; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #6a3fc8; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.5; }
.pt2 .rw2-p { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pt2 .rw2-p b { font-size: 15px; font-weight: 700; color: #111; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt2 .rw2-p small { font-size: 11.5px; color: #8e8e93; }
.pt2 .rw2.ok .rw2-p b { color: #6a3fc8; }

.pt2 .rw2-m b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* длинные названия — в две строки, без обрезки */
/* магазин баллов: фиолетовый приглушён до дымчато-лавандового */
.pt-hero { background: linear-gradient(135deg, #f0edf6 0%, #f8f7fb 60%, #f2f0f7 100%); box-shadow: 0 8px 22px -16px rgba(60, 50, 90, .35), inset 0 0 0 1px rgba(60, 50, 90, .06); }
.pt-hero::after { opacity: .05; }
.pth-l { color: #7a6f96; }
.pth-n b { color: #1c1c1e; }
.pth-n span { color: #7a6f96; opacity: 1; }
.pt2 .rw2-bar i { background: #8e82b4; }
.pt2 .rw2-ok { background: #7a6f96; }
.pt2 .rw2.ok .rw2-p b { color: #5f557d; }
/* магазин баллов: фиолетовый на 22% ярче приглушённого */
.pt-hero { background: linear-gradient(135deg, #eeeaf8 0%, #f8f6fc 60%, #f0edf8 100%); box-shadow: 0 8px 22px -16px rgba(80, 55, 140, .4), inset 0 0 0 1px rgba(80, 55, 140, .07); }
.pth-l, .pth-n span { color: #7664a1; }
.pt2 .rw2-bar i { background: #8673b8; }
.pt2 .rw2-ok { background: #7664a1; }
.pt2 .rw2.ok .rw2-p b { color: #61508d; }
/* магазин баллов: тот же фиолетовый, что у плашки кешбека (#f1eafe / #6a3fc8) */
.pt-hero { background: #f1eafe; box-shadow: none; }
.pt-hero::after { opacity: .06; }
.pth-l, .pth-n span { color: #6a3fc8; }
.pth-n b { color: #1c1c1e; }
.pt2 .rw2-bar i { background: #6a3fc8; }
.pt2 .rw2-ok { background: #f1eafe; color: #6a3fc8; }
.pt2 .rw2.ok .rw2-p b { color: #6a3fc8; }

/* плашки корзины как в карточке товара: узкие, в одну строку; рассрочка слева и длиннее, кешбек справа и короче */
body > .pbar.cbar .cb4 { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 10px; }
body > .pbar.cbar .cb4-t { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 34px; margin: 0; padding: 0 10px; border: 0; border-radius: 11px; font: inherit; font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
body > .pbar.cbar .cb4-t:active { transform: scale(.97); }
body > .pbar.cbar .cb4-t[hidden] { display: none; }
body > .pbar.cbar .cb4-t b { font-weight: 700; }
body > .pbar.cbar .cb4-x { overflow: hidden; text-overflow: ellipsis; }
body > .pbar.cbar .cb4-in { flex: 1 1 auto; background: #e6f6ec; color: #1a7f43; padding-right: 22px; }
body > .pbar.cbar .cb4-in .pi-ico { flex: none; }
body > .pbar.cbar .cb4-in .chev { position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin: 0; border: solid currentColor; border-width: 1.8px 1.8px 0 0; transform: translateY(-50%) rotate(45deg); background: none; }
body > .pbar.cbar .cb4-cb { flex: 0 0 auto; background: #f1eafe; color: #6a3fc8; }
body > .pbar.cbar .cb4:has(> .cb4-in[hidden]) .cb4-cb { flex: 1 1 auto; }

body > .pbar.cbar .cb4-t { padding: 0 9px; font-size: 12.5px; }
body > .pbar.cbar .cb4-in { padding-right: 20px; }

/* стрелочка и у кешбека — как у рассрочки */
body > .pbar.cbar .cb4-cb { padding-right: 20px; }
body > .pbar.cbar .cb4-cb .chev { position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin: 0; border: solid currentColor; border-width: 1.8px 1.8px 0 0; transform: translateY(-50%) rotate(45deg); background: none; }
/* переключатель как «ликвид» на iOS, но в светлой гамме магазина: капсула светло-серая с тонкой кромкой, выбранный вариант — белая выпуклая плашка, текст тёмный, без синего */
.chips { padding: 4px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .07); background: #f0f0f3;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .9); }
.chips .chip { min-height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #3a3a3c; }
.chip.on, .gl-t.on, .gl-t.near, .chip.near { color: #111; font-weight: 600; }
.chips:has(.near) .chip.on:not(.near) { color: #3a3a3c; }
.gl-ind { border-radius: 999px; background: linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .04), 0 0 0 .5px rgba(0, 0, 0, .08), 0 3px 10px -2px rgba(20, 30, 60, .16), 0 1px 2px rgba(0, 0, 0, .06); }
.gl-ind::after { opacity: .5; }
.gl-ind.drag { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(0, 0, 0, .1), 0 10px 22px -6px rgba(20, 30, 60, .28), 0 2px 4px rgba(0, 0, 0, .08); }
.gl-t { font-size: 14px; color: #3a3a3c; }
.pt2 .pt-tabs { border-radius: 999px; background: #f0f0f3; border: 1px solid rgba(0, 0, 0, .07); padding: 4px; }
.pt2 .pt-tabs .chip { height: 40px; border-radius: 999px; color: #3a3a3c; }
.pt2 .pt-tabs .chip.on { background: #fff; color: #111; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 3px 10px -2px rgba(20, 30, 60, .16), 0 1px 2px rgba(0, 0, 0, .06); }
/* переключатель на 15% ниже (просьба владельца): капсула 50 → 43 px */
.chips { padding: 3.5px; }
.chips .chip { min-height: 34px; }
.pt2 .pt-tabs { padding: 3.5px; }
.pt2 .pt-tabs .chip { height: 34px; }

/* переключатель: без тени под выбранной плашкой (просьба владельца), остаётся только тонкая кромка */
.gl-ind, .gl-ind.drag { box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(0, 0, 0, .08); }
.pt2 .pt-tabs .chip.on { box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
/* переключатель: плашка ровно посередине по высоте — целый отступ (дробный сдвигал её вниз) и без внутренней тени сверху у капсулы */
.chips, .pt2 .pt-tabs { padding: 4px; box-shadow: none; }
.chips .chip { min-height: 33px; }
.pt2 .pt-tabs .chip { height: 33px; }
/* переключатель совсем без теней и бликов (просьба владельца): плоская белая плашка с тонкой кромкой на плоской серой капсуле */
.chips, .pt2 .pt-tabs { box-shadow: none; }
.gl-ind, .gl-ind.drag { background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.gl-ind::after { display: none; }
.pt2 .pt-tabs .chip.on { background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
/* без приближения двойным тапом */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* SIM: строка выбора на 15% уже, справа кнопка «i» с объяснением eSIM / SIM+eSIM */
.pbody .opt.sim-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pbody .opt.sim-opt .chips { flex: none; width: 85%; }
.sim-i { flex: none; width: 30px; height: 30px; padding: 0; border: 1.5px solid #1d3f8f; border-radius: 50%; background: rgba(29, 63, 143, .08); color: #1d3f8f; font: inherit; font-size: 15px; font-weight: 700; font-style: italic; line-height: 1; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sim-i:active { transform: scale(.94); }
/* магазин баллов: метка «Можно обменять» чёрная */
.pt2 .rw2-ok { background: #111; color: #fff; }
/* «Подробнее о товаре» с айпарк.рф: раскрывается и сворачивается */
.pdesc { margin: 18px 0 8px; border-radius: 16px; background: #f5f5f7; overflow: hidden; }
.pdesc summary { position: relative; display: block; padding: 15px 44px 15px 16px; font-size: 15px; font-weight: 600; color: #111; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pdesc summary::-webkit-details-marker { display: none; }
.pdesc summary .chev { position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin: 0; border: solid #8e8e93; border-width: 0 2px 2px 0; background: none; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.pdesc[open] summary .chev { transform: translateY(-30%) rotate(-135deg); }
.pd-t { padding: 0 16px 16px; font-size: 14px; line-height: 1.5; color: #3a3a3c; }
.pd-t p { margin: 0 0 10px; }
.pd-t p:last-child { margin-bottom: 0; }

/* SIM: строка на 5% длиннее (90%), «i» ровная, без наклона */
.pbody .opt.sim-opt .chips { width: 90%; }
.sim-i { font-style: normal; font-weight: 700; font-size: 16px; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; padding-top: 1px; }/* строка SIM занимает всё место до кнопки «i» (около 89%), кнопка не вылезает за край */
.pbody .opt.sim-opt { gap: 8px; }
.pbody .opt.sim-opt .chips { flex: 1 1 auto; width: auto; min-width: 0; }
.sim-i { width: 27px; height: 27px; font-size: 15px; }
/* баланс баллов: подписи чёрные, «балла» стоит на одной линии с низом цифр */
.pth-l, .pth-n span { color: #1c1c1e; opacity: 1; }
.pth-n { align-items: baseline; }
.pth-n img { align-self: center; }
.pth-n b, .pth-n span { align-self: baseline; margin-bottom: 0; }/* строка SIM — 89% ширины, кнопка «i» поменьше справа */
.pbody .opt.sim-opt { gap: 0; justify-content: space-between; }
.pbody .opt.sim-opt .chips { flex: 0 0 89%; width: 89%; }
.sim-i { width: 23px; height: 23px; font-size: 13px; border-width: 1.3px; }
/* ---------- окно «eSIM или SIM+eSIM»: продающее, в фирменном тёмно-синем ---------- */
.es-sheet { background: #f2f3f7; }
.es-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px 20px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(120, 160, 255, .45), rgba(120, 160, 255, 0) 55%), linear-gradient(150deg, #0c1838 0%, #1d3f8f 62%, #3466d6 100%);
  box-shadow: 0 18px 34px -18px rgba(18, 40, 110, .75); animation: ipkUp .6s .08s backwards cubic-bezier(.2, .9, .25, 1); }
.es-hero::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 54px rgba(255, 255, 255, .03); pointer-events: none; }
.es-chip { position: relative; display: block; width: 52px; height: 40px; margin-bottom: 16px; border-radius: 9px;
  background: linear-gradient(135deg, #f7e2a6 0%, #d9b45a 45%, #f3d98c 70%, #b98d34 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 6px 22px rgba(255, 210, 110, .45); animation: esGlow 2.6s ease-in-out infinite; }
.es-chip::before, .es-chip::after { content: ''; position: absolute; background: rgba(110, 78, 20, .45); }
.es-chip::before { left: 33%; top: 0; bottom: 0; width: 1.5px; box-shadow: 16px 0 0 rgba(110, 78, 20, .45); }
.es-chip::after { left: 0; right: 0; top: 50%; height: 1.5px; }
.es-chip i { position: absolute; left: 33%; top: 28%; width: 34%; height: 44%; border-radius: 4px; border: 1.5px solid rgba(110, 78, 20, .45); background: linear-gradient(135deg, #f9e8b5, #e2c070); }
@keyframes esGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 6px 18px rgba(255, 210, 110, .3); } 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 6px 30px rgba(255, 210, 110, .7); } }
.es-hero b { position: relative; font-size: 23px; font-weight: 700; line-height: 1.15; letter-spacing: -.4px; }
.es-hero small { position: relative; margin-top: 8px; font-size: 13.5px; line-height: 1.4; opacity: .8; }
.es-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.es-pro { display: flex; flex-direction: column; padding: 14px 13px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); animation: ocIn .5s calc(var(--i, 0) * 70ms + 160ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.es-ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #3b72f0, #1d3f8f); box-shadow: 0 6px 14px -6px rgba(29, 63, 143, .6); }
.es-pro b { font-size: 15px; font-weight: 700; color: #111; line-height: 1.2; }
.es-pro small { margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: #6b6b72; }
.es-cmp { margin-top: 10px; padding: 6px 14px 14px; border-radius: 18px; background: #fff; animation: ocIn .5s calc(var(--i, 0) * 70ms + 160ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.es-r { display: grid; grid-template-columns: minmax(0, 1fr) 64px 76px; align-items: center; min-height: 40px; border-bottom: 1px solid rgba(60, 60, 67, .1); font-size: 13.5px; color: #3a3a3c; }
.es-r.es-h { min-height: 36px; }
.es-r.es-h b { font-size: 12.5px; font-weight: 700; color: #1d3f8f; text-align: center; }
.es-r em { font-style: normal; text-align: center; font-size: 12.5px; color: #8e8e93; }
.es-r em b { color: #1d3f8f; font-weight: 700; }
.es-y, .es-n { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; }
.es-y { background: #1d3f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.es-n { background: #ececf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 12h8' fill='none' stroke='%23a0a0a8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.es-cmp p { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: #8e8e93; }
.es-help { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #1d3f8f, #3466d6); box-shadow: 0 12px 24px -14px rgba(29, 63, 143, .7); animation: ocIn .5s calc(var(--i, 0) * 70ms + 160ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.es-hi { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255, 255, 255, .16); }
.es-help b { display: block; font-size: 16px; font-weight: 700; }
.es-help small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; opacity: .85; }
.es-sheet > .buy { margin-top: 14px; }

/* окно eSIM: у шапки нет тени — она ложилась на карточки «Безопаснее» и «Батарея больше» */
.es-hero { box-shadow: none; }

/* ---------- 07.11: значок eSIM кликабельный, кешбек в корзине без стрелки, окно стекла, «С этим iPad покупают», новый Трейд Ин и оформление ---------- */
.esim-btn { position: relative; display: inline-flex; align-items: center; margin-left: .3em; padding: 0; border: 0; background: none; vertical-align: -.02em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.esim-btn .esim-ico { margin-left: 0; }
.esim-btn i { display: grid; place-items: center; width: 15px; height: 15px; margin-left: 3px; border-radius: 50%; border: 1.2px solid #1d3f8f; background: rgba(29, 63, 143, .08); color: #1d3f8f; font: 600 10px/1 -apple-system, system-ui, sans-serif; font-style: normal; }
.esim-btn:active { transform: scale(.94); }

.cb4-cb { pointer-events: none; }
.cb4-cb .chev { display: none; }

/* магазин баллов: модели стекла сеткой плиток */
.rw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rw-cell { padding: 13px 10px; border: 1.5px solid transparent; border-radius: 14px; background: #f2f2f5; color: #1c1c1e; font: inherit; font-size: 14.5px; font-weight: 500; transition: background .2s, border-color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.rw-cell.on { background: #fff; border-color: #1d3f8f; color: #1d3f8f; font-weight: 600; box-shadow: 0 4px 14px -8px rgba(29, 63, 143, .6); }
.rw-cell:active { transform: scale(.97); }

/* «С этим iPad покупают» */
.xs { margin: 18px 0 4px; }
.xs-h b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.3px; color: #111; }
.xs-h small { display: block; margin-top: 2px; font-size: 13px; color: #8e8e93; }
.xs-main { position: relative; display: flex; gap: 14px; margin-top: 12px; padding: 14px; border-radius: 22px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 100% at 0% 0%, rgba(120, 160, 255, .4), rgba(120, 160, 255, 0) 55%), linear-gradient(150deg, #0c1838 0%, #1d3f8f 65%, #3466d6 100%); animation: ocIn .5s .1s cubic-bezier(.2, .9, .25, 1) backwards; }
.xs-main::after { content: ''; position: absolute; right: -50px; top: -60px; width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 22px rgba(255, 255, 255, .04); pointer-events: none; }
.xs-pic { flex: 0 0 96px; height: 120px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(160deg, #f4f5f8, #dfe3ec); }
.xs-pic img { width: 84%; height: 88%; object-fit: contain; }
.xs-mt { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; flex: 1; }
.xs-tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: linear-gradient(135deg, #f7e2a6, #d9b45a); color: #4a3510; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; }
.xs-mt b { margin-top: 7px; font-size: 16px; font-weight: 700; line-height: 1.2; }
.xs-mt small { margin-top: 4px; font-size: 12.5px; line-height: 1.35; opacity: .8; }
.xs-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.xs-row em { font-style: normal; font-size: 16px; font-weight: 700; white-space: nowrap; }
.xs-add { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #1d3f8f; cursor: pointer; transition: transform .15s, background .2s; -webkit-tap-highlight-color: transparent; }
.xs-add:active { transform: scale(.9); }
.xs-add.on { background: #34c759; color: #fff; }
.xs-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.xs-card { display: flex; flex-direction: column; padding: 12px; border-radius: 20px; background: #f5f5f7; animation: ocIn .5s calc(var(--i, 0) * 70ms + 200ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.xs-cp { display: grid; place-items: center; height: 92px; border-radius: 14px; background: linear-gradient(160deg, #ffffff, #e4e7ee); }
.xs-cp img { width: 80%; height: 82%; object-fit: contain; }
.xs-ct { align-self: flex-start; margin-top: 9px; padding: 2px 8px; border-radius: 999px; background: rgba(29, 63, 143, .09); color: #1d3f8f; font-size: 11px; font-weight: 600; }
.xs-card b { margin-top: 5px; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xs-card .xs-row em { font-size: 14.5px; color: #111; }
.xs-card .xs-add { width: 32px; height: 32px; background: #1d3f8f; color: #fff; }
.xs-card .xs-add.on { background: #34c759; }

/* Трейд Ин: первый экран */
.tix-hero { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 16px; border-radius: 20px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 100% at 100% 0%, rgba(120, 160, 255, .45), rgba(120, 160, 255, 0) 55%), linear-gradient(150deg, #0c1838 0%, #1d3f8f 62%, #3466d6 100%); }
.tix-hero::after { content: ''; position: absolute; right: -40px; bottom: -70px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 20px rgba(255, 255, 255, .04); }
.tix-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.tix-ht b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.tix-ht small { display: block; margin-top: 2px; font-size: 13px; opacity: .8; }
.tix-steps { display: flex; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tix-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border-radius: 12px; background: #f2f2f5; color: #8e8e93; font-size: 12.5px; font-weight: 600; }
.tix-steps li i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #d9d9de; color: #fff; font-size: 11px; font-style: normal; }
.tix-steps li.on { background: rgba(29, 63, 143, .09); color: #1d3f8f; }
.tix-steps li.on i { background: #1d3f8f; }
.tix-lbl { margin: 18px 0 8px 2px; font-size: 15px; font-weight: 700; color: #111; }
.tix-gens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tix-gen { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 62px; padding: 0; border: 1.5px solid transparent; border-radius: 16px; background: #f2f2f5; color: #1c1c1e; font: inherit; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.tix-gen small { font-size: 10.5px; color: #8e8e93; }
.tix-gen b { font-size: 21px; font-weight: 700; line-height: 1.05; letter-spacing: -.4px; }
.tix-gen.on { background: #fff; border-color: #1d3f8f; color: #1d3f8f; box-shadow: 0 6px 16px -10px rgba(29, 63, 143, .7); }
.tix-gen:active, .tix-m:active, .tix-p:active { transform: scale(.96); }
.tix-models { display: flex; flex-direction: column; border-radius: 16px; background: #f2f2f5; overflow: hidden; }
.tix-m { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 0; border-bottom: 1px solid rgba(60, 60, 67, .1); background: none; color: #1c1c1e; font: inherit; font-size: 15.5px; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tix-m:last-child { border-bottom: 0; }
.tix-m i { width: 22px; height: 22px; border-radius: 50%; border: 1.8px solid #c7c7cc; box-sizing: border-box; transition: all .2s; }
.tix-m.on { background: #fff; font-weight: 600; color: #1d3f8f; }
.tix-m.on i { border: 6.5px solid #1d3f8f; }
.tix-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tix-p { flex: 1 1 auto; min-width: 72px; padding: 12px 10px; border: 1.5px solid transparent; border-radius: 14px; background: #f2f2f5; color: #1c1c1e; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .2s; -webkit-tap-highlight-color: transparent; }
.tix-p.on { background: #fff; border-color: #1d3f8f; color: #1d3f8f; font-weight: 600; }
.tix-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin: 20px -4px 0; padding: 10px 4px calc(6px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255, 255, 255, 0), #fff 30%); }
.tix-foot .ti-ideal { flex: 1; min-width: 0; margin: 0; padding: 0; background: none; text-align: left; }
.tix-foot .ti-ideal small { display: block; font-size: 12px; color: #8e8e93; }
.tix-foot .ti-ideal b { display: block; font-size: 21px; font-weight: 700; color: #c7c7cc; letter-spacing: -.3px; }
.tix-foot .ti-ideal.on b { color: #1d3f8f; }
.tix-foot .buy { flex: 0 0 46%; margin: 0; }

/* оформление заказа */
.co2 { background: #f2f3f7; }
.co2 h3 { margin-bottom: 12px; }
.co-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 100% at 100% 0%, rgba(120, 160, 255, .45), rgba(120, 160, 255, 0) 55%), linear-gradient(150deg, #0c1838 0%, #1d3f8f 62%, #3466d6 100%); }
.co-pics { display: flex; padding-left: 8px; }
.co-pics span { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 2px #1d3f8f; animation: ocIn .45s calc(var(--i, 0) * 60ms + 80ms) cubic-bezier(.2, .9, .25, 1) backwards; }
.co-pics img { width: 80%; height: 80%; object-fit: contain; }
.co-pics .co-more { background: rgba(255, 255, 255, .2); color: #fff; font-size: 13px; font-weight: 700; }
.co-st2 { text-align: right; }
.co-st2 small { display: block; font-size: 12.5px; opacity: .75; }
.co-st2 b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
.co-card { margin-top: 10px; padding: 14px 14px 4px; border-radius: 20px; background: #fff; }
.co-ct { margin: 0 0 10px 2px; font-size: 15px; font-weight: 700; color: #111; }
.co2 input { background: #f2f2f5; }
.co-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.co-way { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; border: 1.5px solid transparent; border-radius: 16px; background: #f2f2f5; color: #6b6b72; font: inherit; text-align: left; cursor: pointer; transition: all .2s; -webkit-tap-highlight-color: transparent; }
.co-way b { margin-top: 8px; font-size: 15px; font-weight: 700; color: #1c1c1e; }
.co-way small { margin-top: 2px; font-size: 12px; color: #8e8e93; }
.co-way.on { background: #fff; border-color: #1d3f8f; color: #1d3f8f; box-shadow: 0 6px 16px -10px rgba(29, 63, 143, .7); }
.co-way.on b { color: #1d3f8f; }
.co-way:active { transform: scale(.97); }
.co-note { margin: 12px 4px 10px; font-size: 12.5px; line-height: 1.4; color: #8e8e93; text-align: center; }

.xs-pic img, .xs-cp img { filter: drop-shadow(0 4px 8px rgba(20, 30, 60, .18)); }

/* значок eSIM у Air/Duo — крупнее, теперь он сам кнопка */
.esim-btn { margin-left: .35em; vertical-align: -.12em; }
.esim-btn .esim-ico { height: 1.15em; }
.esim-btn { font-size: inherit; line-height: 1; } /* em считается от заголовка, а не от мелкого шрифта кнопки */
/* Трейд Ин: пока не всё выбрано — вместо суммы подсказка, что делать */
.tix-foot .ti-ideal:not(.on) small { font-size: 14.5px; font-weight: 600; color: #3a3a3c; line-height: 1.3; }

/* оформление: товары — плитки побольше с отступом, фото крупнее, «×2» у одинаковых; города — серые плитки */
.co-pics { gap: 6px; padding-left: 0; }
.co-pics span { position: relative; width: 52px; height: 52px; margin-left: 0; border-radius: 15px; overflow: hidden; box-shadow: none; background: #fff; }
.co-pics img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.3); }
.co-pics em { position: absolute; right: 3px; bottom: 3px; padding: 1px 5px; border-radius: 999px; background: #1d3f8f; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.4; }
.co-pics .co-more { background: rgba(255, 255, 255, .2); }
.co2 .co-st .chip { flex: 1 1 auto; min-height: 0; padding: 12px 10px; border: 1.5px solid transparent; border-radius: 14px; background: #f2f2f5; color: #1c1c1e; font-size: 14.5px; font-weight: 500; line-height: 1.2; box-shadow: none; }
.co2 .co-st .chip.on { background: #fff; border-color: #1d3f8f; color: #1d3f8f; font-weight: 600; }
.co2 .co-st { gap: 8px; }
/* «С этим iPad покупают»: у фото с сайта большие белые поля — увеличиваем товар внутри той же плитки;
   белый Pencil кладём по диагонали на более тёмный фон, чтобы он был виден */
.xs-pic, .xs-cp { overflow: hidden; }
.xs-pic { background: linear-gradient(150deg, #e6eaf2, #c3cbdb); }
.xs-pic img { width: 100%; height: 100%; transform: rotate(-38deg) scale(1.75); filter: drop-shadow(0 6px 10px rgba(10, 20, 50, .35)); }
.xs-cp img { width: 100%; height: 100%; transform: scale(1.5); }/* значок eSIM у Air/Duo на 15% меньше (было 1.15em) */
.esim-btn .esim-ico { height: .98em; }
.esim-btn { vertical-align: -.08em; }

/* оформление: города сеткой 2×2, пункты выдачи — отдельный блок с подписью и значком места */
.co2 #coCities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co2 #coStores { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(60, 60, 67, .1); }
.co2 #coStores[hidden] { display: none !important; }
.co-sl { margin: 0 0 2px 2px; font-size: 13px; font-weight: 500; color: #555; }
.co-store { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 14px; border: 1.5px solid transparent; border-radius: 14px; background: #f2f2f5; color: #8e8e93; font: inherit; text-align: left; cursor: pointer; transition: all .2s; -webkit-tap-highlight-color: transparent; }
.co-store span { flex: 1; font-size: 15px; font-weight: 500; color: #1c1c1e; }
.co-store i { width: 20px; height: 20px; border-radius: 50%; border: 1.8px solid #c7c7cc; box-sizing: border-box; transition: all .2s; }
.co-store.on { background: #fff; border-color: #1d3f8f; color: #1d3f8f; }
.co-store.on span { color: #1d3f8f; font-weight: 600; }
.co-store.on i { border: 6px solid #1d3f8f; }
.co-store:active { transform: scale(.98); }/* нижние карточки: товар целиком внутри плитки (при 1.5 обрезался по краям) */
.xs-cp img { width: 100%; height: 100%; padding: 6px; box-sizing: border-box; transform: scale(1.12); }
.co-note b { font-weight: 600; color: #3a3a3c; }

/* Чёрный вместо синего: оформление заказа, Трейд-ин, избранное и колокольчик */
.tix-hero, .co-sum { background: radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%), linear-gradient(150deg, #000 0%, #1c1c1e 62%, #3a3a3c 100%); }
.tix-steps li.on { background: rgba(0, 0, 0, .07); color: #111; }
.tix-steps li.on i { background: #111; }
.tix-gen.on, .tix-p.on, .co-way.on, .co2 .co-st .chip.on, .co-store.on { border-color: #111; color: #111; }
.tix-gen.on, .co-way.on { box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .55); }
.tix-m.on { color: #111; }
.tix-m.on i { border-color: #111; }
.tix-foot .ti-ideal.on b { color: #111; }
.co-way.on b, .co-store.on span { color: #111; }
.co-store.on i { border-color: #111; }
.co-pics em { background: #111; }
.co-sheet input:focus { box-shadow: 0 0 0 2px rgba(0, 0, 0, .3); }
.ti-back { color: #111; }
.ti-btn { background: linear-gradient(120deg, #000 0%, #1c1c1e 55%, #48484a 100%); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.ti-prog i { background: linear-gradient(90deg, #111, #636366); }
.ti-ideal.on { background: #f2f2f5; color: #3a3a3c; }
.ti-ideal.on b { color: #111; }
.ti-opt.on { box-shadow: inset 0 0 0 1.5px #111, 0 4px 14px rgba(0, 0, 0, .12); }
.ti-opt.on i { background-color: #111; }
.ti-badge { background: linear-gradient(135deg, #111, #636366); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ti-sum { color: #111; }
.pa-btn.on, .fv-x, .fv-e { color: #111; }
.fv-h { color: #3a3a3c; }

/* обложка категории в панели */
.pr-cv { position: absolute; left: 2px; bottom: 2px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 22px; text-align: center; }
.pr-pic.cov { box-shadow: inset 0 0 0 2px #ff9f0a; }
.pr-pic.cov .pr-cv { background: #ff9f0a; color: #fff; }
/* оформление: в шапке только количество и сумма */
.co-sum .co-st2 { width: 100%; display: flex; align-items: baseline; justify-content: space-between; }

/* панель каталога */
.pn h1 { margin: 6px 0 4px; }
.pn .pr-q { margin: 10px 0 12px; }
.pn-g { margin: 18px 4px 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #8e8e93; }
.pn-list { display: flex; flex-direction: column; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.pn-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; background: none; font: inherit; text-align: left; color: #111; }
.pn-list > .pn-row, .pn-list > .pn-prow { border-top: 1px solid rgba(60, 60, 67, .1); }
.pn-list > :first-child { border-top: 0; }
.pn-prow { display: flex; align-items: center; }
.pn-th { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #f2f2f5; overflow: hidden; }
.pn-th.big { width: 64px; height: 64px; border-radius: 16px; }
.pn-th img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.pn-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pn-t b { font-size: 15px; font-weight: 600; }
.pn-t small { margin-top: 2px; font-size: 12.5px; color: #8e8e93; }
.pn-chev { flex: none; font-style: normal; font-size: 22px; color: #c7c7cc; }
.pn-mv { flex: none; display: flex; gap: 4px; padding-right: 10px; }
.pn-mv button { width: 32px; height: 32px; border: 0; border-radius: 10px; background: #f2f2f5; color: #111; font-size: 16px; }
.pn-back { display: inline-block; margin: 0 0 6px; padding: 4px 0; border: 0; background: none; color: #111; font: inherit; font-size: 14px; font-weight: 500; }
.pn-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 12px; }
.pn-head h1 { margin: 0; font-size: 20px; line-height: 1.2; }
.pn-seg { display: flex; gap: 4px; margin: 0 0 12px; padding: 3px; border-radius: 13px; background: #e9e9ee; }
.pn-seg button { flex: 1; padding: 9px 4px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #555; }
.pn-seg button.on { background: #fff; color: #111; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pn-card { margin: 0 0 12px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.pn-card > b { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.pn-card small, .pn-hint { display: block; font-size: 12.5px; line-height: 1.4; color: #8e8e93; }
.pn-hint { margin: 0 2px 10px; }
.pn-card .pr-row:first-child { border-top: 0; padding-top: 0; }
.pn-card .pr-row:last-child { padding-bottom: 0; }
.pn-card .pr-f input { background: #f2f2f5; }
.pn-covers { display: flex; gap: 8px; margin: 10px 0 2px; padding-bottom: 4px; overflow-x: auto; }
.pn-cvb { flex: none; width: 58px; height: 58px; padding: 3px; border: 2px solid transparent; border-radius: 14px; background: #f2f2f5; }
.pn-cvb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pn-cvb.on { border-color: #ff9f0a; background: #fff6e8; }
.pn-h { display: flex; align-items: center; justify-content: space-between; margin: 18px 4px 8px; }
.pn-h h4 { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #8e8e93; }
.pn-h .pf-add { background: #111; color: #fff; }
.pn-set { margin-top: 14px; }
.pn-set summary { font-size: 14.5px; font-weight: 600; cursor: pointer; }
.pn-set label { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 12px; color: #8e8e93; }
.pn .pr-in, .pn .pr-form input:not([type=color]):not([type=file]), .pn .pr-form select { background: #f2f2f5; }
.pn .pr-go, .pn .pr-s { background: #111; }
.pn .pf-add { color: #111; background: #f2f2f5; }
.pn .pr-add { border-color: #111; color: #111; }
.pn .pr-form { background: #fff; }
.pn .pr-f input:focus, .pn .pr-in:focus { outline: 2px solid #111; }.pn-cvact { display: flex; gap: 8px; margin-top: 10px; }
.pn-up { display: inline-block; cursor: pointer; }
.pn-up.busy { opacity: .4; pointer-events: none; }
.pn .pn-cvact .pf-add { padding: 10px 14px; }
.pn .pn-cvact .pn-up { background: #111; color: #fff; }
/* подсказки города в оформлении */
.co-sug { display: flex; flex-direction: column; margin-top: 6px; border-radius: 14px; background: #fff; box-shadow: 0 6px 24px -8px rgba(0, 0, 0, .25), 0 0 0 1px rgba(60, 60, 67, .08); overflow: hidden; }
.co-sug button { padding: 12px 14px; border: 0; border-top: 1px solid rgba(60, 60, 67, .08); background: none; font: inherit; font-size: 15px; text-align: left; color: #111; }
.co-sug button:first-child { border-top: 0; }
.co-sug button:active { background: #f2f2f5; }

/* кешбэк в корзине по центру */
body > .pbar.cbar .cb4-cb { padding: 0 9px; }

/* «С этим iPad покупают»: две компактные карточки как в каталоге */
.xs-two { margin-top: 8px; }
/* кнопка «в корзину» на карточке под iPad */
.xs-w { position: relative; }
.xs-q { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #111; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.xs-q:active { transform: scale(.9); }
.xs-q.on { background: #34c759; }
.xs-w .model b { padding-right: 38px; }.xs-q { top: 10px; bottom: auto; }
.xs-w .model b { padding-right: 0; }
/* две карточки под iPad одного размера; тонкий Pencil — по диагонали и крупнее */
.xs-w { display: flex; }
.xs-w .model { flex: 1; min-width: 0; }
.xs-w .model span { margin-top: auto; padding-top: 6px; }
.xs-w .model b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xs-w.pencil .pic { overflow: hidden; border-radius: 12px; }
.xs-w.pencil .pic img { transform: rotate(-38deg) scale(1.65); }.xs-q { width: 31px; height: 31px; }.xs-q svg { display: block; width: 16px; height: 16px; margin: 0; translate: none; }
.xs-q { line-height: 0; }
/* стрелка «назад»: мягкая и круглая */
.bkv { width: 1.2em; height: 1.2em; margin: 0 1px 0 -4px; vertical-align: -.25em; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-pill.to-shop .ts-ch { width: 15px; height: 15px; margin: 0 -2px 0 -3px; border: 0; transform: none; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* аватарка: просто чёрный круг без анимаций и ряби */
.av-ring::before { animation: none !important; background: #111 !important; }
.av-ring::after, .av-ring.big::after { display: none !important; }
.who.tap .av-ring, .who.tap .av-ring::after { animation: none !important; }

/* баллы в личном кабинете — фиолетовые */
.points { background: #f1eafe; color: #6a3fc8; }
.points .pt-ico { content: url("img/ring-p.png?v=6"); }

/* «разработано» — меньше на 15% и чёрное */
.credit { color: #111; font-size: 12.6px; }
/* стрелка «назад»: по центру строки, размером с текст */
.pback, .back, .pn-back, .ti-back { display: inline-flex; align-items: center; gap: 3px; }
.pback .bkv, .back .bkv, .pn-back .bkv, .ti-back .bkv { width: .95em; height: .95em; margin: 0 0 0 -3px; vertical-align: 0; stroke-width: 3; }
/* магазин баллов: компактная шапка без обоев, меньше фиолетового */
.pt2 { padding-top: 10px; }
.pt-hero { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 12px 52px 12px 16px; border-radius: 18px; background: #f4f4f6; box-shadow: none; color: #111; }
.pt-hero::after { content: none; display: none; }
.pt-hero small { display: none; }
.pth-n { order: 0; margin: 0; gap: 8px; }
.pth-n img { width: 22px; height: 22px; }
.pth-n b { font-size: 28px; letter-spacing: -.8px; color: #111; }
.pth-l { order: 1; margin: 0; font-size: 13px; font-weight: 500; color: #8e8e93; }
.pt2 .rw2-bar i { background: #1c1c1e; }
.pt2 .rw2.ok .rw2-p b { color: #111; }
.pt2 .reward.rw2 .rw-pic { background: #fff; }
/* шапка баллов: всё по одной линии */
.pt-hero { align-items: center; }
.pth-n { display: flex; align-items: center; gap: 9px; }
.pth-n img { align-self: center; width: 26px; height: auto; margin: 0; }
.pth-n b { align-self: center; margin: 0; line-height: 1; font-size: 28px; }
.pth-l { align-self: center; line-height: 1; margin-left: 4px; }
/* Трейд-ин: внизу только кнопка «Дальше» */
.tix-foot { display: block; }
.tix-foot .buy { width: 100%; margin: 0; }

/* Трейд-ин: подпись под полосой прогресса; выбранный вариант — чёрный, а не «просто белая строка» */
.ti-cap { display: flex; justify-content: space-between; align-items: baseline; margin: -10px 2px 14px; font-size: 13px; color: #8e8e93; }
.ti-cap span { font-weight: 600; color: #3a3a3c; }
.ti-cap em { font-style: normal; }
.tix-p.on, .tix-gen.on { background: #111; border-color: #111; color: #fff; box-shadow: none; }
.tix-gen.on small { color: rgba(255, 255, 255, .7); }
.tix-m.on { background: #111; color: #fff; }
.tix-m.on i { border-color: #fff; background: #111; }
/* Трейд-ин: окно компактнее, без шагов 1-2-3 */
.ti .tix-hero { margin-top: 0; padding: 10px 12px; gap: 10px; border-radius: 16px; }
.ti .tix-ic { width: 34px; height: 34px; border-radius: 11px; }
.ti .tix-ic svg { width: 19px; height: 19px; }
.ti .tix-ht b { font-size: 15px; }
.ti .tix-ht small { font-size: 12px; }
.ti .tix-lbl { margin: 12px 0 6px 2px; font-size: 13px; }
.ti .tix-gens { gap: 6px; }
.ti .tix-gen { height: 46px; border-radius: 13px; }
.ti .tix-gen b { font-size: 17px; }
.ti .tix-gen small { font-size: 9.5px; }
.ti .tix-m { padding: 10px 14px; font-size: 14px; }
.ti .tix-m i { width: 18px; height: 18px; }
.ti .tix-m.on i { border-width: 5.5px; }
.ti .tix-pills { gap: 6px; }
.ti .tix-p { min-width: 64px; padding: 9px 8px; font-size: 13.5px; border-radius: 12px; }
.ti .ti-cap { margin: -12px 2px 10px; font-size: 12px; }
.ti .tix-foot { margin-top: 12px; }
.ti .tix-foot .buy { height: 44px; padding: 0; font-size: 15px; }
/* Трейд-ин: окно одной высоты на всех шагах — при смене высоты на iPhone за шторкой оставался белый «призрак» старой формы */
.sheet.ti { height: 82vh; min-height: 0; max-height: 88vh; }
/* шапка баллов: подпись сверху, под ней кольцо и число — ровно, без «поплывшей» строки */
.pt-hero { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 52px 14px 16px; }
.pth-l { order: -1; margin: 0; font-size: 13px; line-height: 1; color: #8e8e93; }
.pth-n { gap: 8px; align-items: center; }
.pth-n img { width: 24px; height: auto; align-self: center; }
.pth-n b { font-size: 30px; line-height: 1; letter-spacing: -.8px; }
/* шапка баллов: только кольцо и число */
.pt-hero { flex-direction: row; align-items: center; padding: 14px 52px 14px 16px; }
.pth-n { gap: 10px; }
.pth-n img { width: 26px; }
.pth-n b { font-size: 32px; }
/* кнопки «Оформить» и «Настроить устройство» — как «Оформить заказ» в корзине */
#coGo, #suGo, #spGo { height: 54px; font-size: 16px; font-weight: 600; letter-spacing: 0; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
#suGo.alt, #spGo.alt { box-shadow: none; }

/* круг вокруг аватарки — цвет ссылки «< Apple» */
.av-ring::before { background: var(--blue) !important; }

/* стрелки Trade-In, iPack и «Подробнее о товаре» — мягкие и круглые, как «< Apple» */
#tiBtn .chev, #ipkInfo .chev, .pdesc .chev { width: 11px; height: 11px; border: 0 !important; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5v14H5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5v14H5'/%3E%3C/svg%3E") center / contain no-repeat; }.pdesc summary .chev, .pbody .pdesc .chev { width: 11px !important; height: 11px !important; border: 0 !important; background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5v14H5'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5v14H5'/%3E%3C/svg%3E") center / contain no-repeat !important; }
/* кнопки оформления и настройки — как «Оформить заказ» в корзине (69 px, радиус 18) */
#coGo, #suGo, #spGo { height: 69px !important; min-height: 69px; border-radius: 18px !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12) !important; }
#coGo, #suGo:not(.alt), #spGo:not(.alt) { background: #111; }
#suGo.alt, #spGo.alt { box-shadow: none !important; }

/* стрелки «Трейд Ин» и «iPack PRO» — одинаковые */
#tiBtn .chev, #ipkInfo .chev { width: 12px !important; height: 12px !important; top: 17px !important; right: 16px !important; margin: 0 !important; }

/* панель: блок «Фото плашки» */
.pr-card { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(60, 60, 67, .12); }
.pr-card .pr-pic { width: 84px; height: 84px; }
.pr-card .pr-add { width: 84px; height: 84px; }
/* стрелки на одном уровне: у iPack контейнер grid, поэтому отсчёт сверху там другой */
#ipkInfo .chev { top: 0 !important; }
/* круг вокруг аватарки: единый градиент (зелёный → голубой), без анимации */
.av-ring::before { background: linear-gradient(180deg, #34d399 0%, #36b6c9 50%, #3b9eef 100%) !important; }

/* иконка корзины на кнопке «В корзину» — та же, что в шапке */
body > .pbar .pbuy::before { width: 16px; height: 20px; background: currentColor;
  -webkit-mask: url("img/logo-b.svg") center / contain no-repeat; mask: url("img/logo-b.svg") center / contain no-repeat; }

/* PS5 Pro: чёрная плашка, белая надпись */
.model.dark { background: #111; }
.model.dark b, .model.dark span { color: #fff; }

/* оформление заказа: уже и компактнее */
.co2 { padding-left: 22px; padding-right: 22px; }
.co2 h3 { font-size: 17px; margin-bottom: 10px; }
.co2 .co-card { padding: 11px 12px 2px; margin-top: 8px; border-radius: 18px; }
.co2 .co-ct { margin: 0 0 8px 2px; font-size: 14px; }
.co2 .co-f > span { font-size: 12px; }
.co2 input { padding: 9px 12px; font-size: 15px; }
.co-ways { gap: 8px; }
.co-way { display: grid; grid-template-columns: 20px 1fr; align-items: center; column-gap: 8px; padding: 8px 10px; border-radius: 14px; }
.co-way svg { grid-row: 1 / span 2; width: 20px; height: 20px; }
.co-way b { margin: 0; font-size: 14px; }
.co-way small { margin: 0; font-size: 11px; }
.co2 .co-st .chip { padding: 8px 8px; font-size: 14px; }
.co2 .co-store { padding: 10px 12px; }
.co2 .co-store span { font-size: 14px; }
.co2 .co-note { margin: 8px 4px 8px; font-size: 12px; }
/* «В корзину»: значок и надпись на одной линии */
body > .pbar .pbuy { gap: 8px; }
body > .pbar .pbuy::before { width: 15px; height: 19px; transform: translateY(-2px); }
/* PS5 Pro — снова обычная светлая плашка */
.model.dark { background: var(--gray); }
.model.dark b, .model.dark span { color: inherit; }

/* PS5 Pro: графитовая плашка с холодной подсветкой за консолью */
.model.dark { background: radial-gradient(75% 55% at 50% 36%, rgba(130, 160, 210, .30), rgba(130, 160, 210, 0) 72%), linear-gradient(165deg, #212328 0%, #0b0b0d 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 12px 26px -16px rgba(0, 0, 0, .7); }
.model.dark b, .model.dark span { color: #fff; }
.model.dark .pic img { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
/* левая колонка: логотип Apple того же визуального размера, что и картинки остальных категорий */
.ri-logo .al { width: 36px; height: 36px; }
/* окно «Настроить устройства»: строки не вылезают за карточку, длинные названия переносятся */
.sp-list { grid-template-columns: minmax(0, 1fr); }
.sp-row { min-width: 0; box-sizing: border-box; }
.sp-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.sp-t small { line-height: 1.3; }
.sp-t b { -webkit-line-clamp: 3; }


/* ---- скелетоны: на месте грузящейся картинки мерцает серый блок, картинка проявляется, когда пришла (класс html.sk ставит app.js) ---- */
@keyframes imSk { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
html.sk .model .pic:has(img:not(.im-ok)),
html.sk .line .pic:has(img:not(.im-ok)),
html.sk .tile .pic:has(img:not(.im-ok)),
html.sk a.pic:has(img:not(.im-ok)),
html.sk .gallery:not(.vid) .slides > div:has(img:not(.im-ok)) {
  background: linear-gradient(100deg, #eceef1 25%, #f8f9fb 45%, #eceef1 65%) 0 0 / 240% 100%;
  animation: imSk 1.5s ease-in-out infinite;
  border-radius: 16px;
}
html.sk .model.dark .pic:has(img:not(.im-ok)) { background: linear-gradient(100deg, #1c1c20 25%, #2b2b32 45%, #1c1c20 65%) 0 0 / 240% 100%; animation: imSk 1.5s ease-in-out infinite; }
html.sk .model .pic img,
html.sk .line .pic img,
html.sk .tile .pic img,
html.sk a.pic img,
html.sk .gallery:not(.vid) .slides img { opacity: 0; transition: transform .4s, opacity .4s ease; }
html.sk .model .pic img.im-ok,
html.sk .line .pic img.im-ok,
html.sk .tile .pic img.im-ok,
html.sk a.pic img.im-ok,
html.sk .gallery:not(.vid) .slides img.im-ok { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.sk .model .pic:has(img:not(.im-ok)), html.sk .line .pic:has(img:not(.im-ok)), html.sk .tile .pic:has(img:not(.im-ok)),
  html.sk a.pic:has(img:not(.im-ok)), html.sk .gallery:not(.vid) .slides > div:has(img:not(.im-ok)) { animation: none; background: #eceef1; }
  html.sk .model .pic img, html.sk .line .pic img, html.sk .tile .pic img, html.sk a.pic img, html.sk .gallery:not(.vid) .slides img { transition: none; }
}

/* ---- рассрочка: ползунок срока и крупный платёж сверху ---- */
.inst-calc { text-align: center; }
.inst-calc h5 { text-align: left; }
.ic-sum { padding: 6px 0 14px; }
.ic-sum b { display: block; font-size: 38px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.1; color: #1a7f43; }
.ic-sum small { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; color: var(--label); }
#icRange { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 4px 0 0; background: transparent; outline: none; --p: 100%; touch-action: pan-y; }
#icRange::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #34b46a var(--p), rgba(26, 127, 67, .14) var(--p)); }
#icRange::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .15s; }
#icRange:active::-webkit-slider-thumb { transform: scale(1.12); }
#icRange::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(26, 127, 67, .14); }
#icRange::-moz-range-progress { height: 8px; border-radius: 99px; background: #34b46a; }
#icRange::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .05); }
.ic-ticks { display: flex; justify-content: space-between; padding: 0 9px; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--label); font-variant-numeric: tabular-nums; }
.ic-ticks span { padding: 6px 8px; cursor: pointer; transition: color .2s, transform .2s; }
.ic-ticks span.on { color: #1a7f43; font-weight: 700; transform: scale(1.15); }
.ic-cap { margin-top: 0; font-size: 12px; color: var(--label); }
@media (prefers-reduced-motion: reduce) { .ic-ticks span, #icRange::-webkit-slider-thumb { transition: none; } }

/* ================= сайт (обычный браузер, html.web): вход через Telegram и компьютерная версия ================= */
.d-logo, .d-nav, .g-arr, .d-foot { display: none; }
/* экран входа */
.wl { position: fixed; inset: 0; z-index: 5; overflow-y: auto; display: grid; place-items: center; padding: 24px 16px; background: #f6f6f6; }
.wl-card { width: 100%; max-width: 400px; padding: 30px 26px 26px; border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .28); animation: wlIn .5s cubic-bezier(.2, .9, .25, 1) backwards; }
@keyframes wlIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.wl-logo { width: 54px; height: 54px; margin: 0 auto 8px; }
.wl-brand { font-size: 20px; font-weight: 700; letter-spacing: .2px; }
.wl h1 { margin: 18px 0 6px; font-size: 26px; }
.wl-sub { margin: 0 0 20px; color: var(--muted); font-weight: 300; font-size: 14px; line-height: 1.5; }
.wl-btn { display: grid; place-items: center; width: 100%; border: 0; text-decoration: none; }
.wl-qr { margin: 20px auto 0; width: 190px; }
.wl-qr svg { display: block; width: 100%; height: auto; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.wl-qr small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 300; }
.wl-steps { margin: 20px 0 0; padding: 14px 16px 14px 34px; border-radius: 16px; background: #f6f6f6; text-align: left; font-size: 13.5px; line-height: 1.5; color: var(--label); }
.wl-steps li + li { margin-top: 4px; }
.wl-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.wl-wait i { width: 8px; height: 8px; border-radius: 50%; background: #2f5f8a; animation: wlPulse 1.2s ease-in-out infinite; }
@keyframes wlPulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.wl-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #f6f6f6; color: var(--label); font-size: 13px; line-height: 1.5; }
.wl-dev { margin-top: 10px; }
.wl-out { display: block; margin: 26px auto 8px; padding: 10px 22px; border: 0; border-radius: 999px; background: #f2f2f4; color: #c0392b; font-size: 14px; font-weight: 500; }
@media (max-width: 999px) { .wl-qr { display: none; } } /* на телефоне код сканировать нечем — там кнопка открывает Telegram */
@media (prefers-reduced-motion: reduce) { .wl-card, .wl-wait i { animation: none; } }

/* компьютерная версия: шапка с разделами как на айпарк.рф, каталог сеткой во всю ширину, товар в две колонки */
@media (min-width: 1000px) {
  html.web { --bar-h: 78px; --gutter: 24px; }
  html.web body { max-width: none; font-size: 15px; }
  html.web .top { border-bottom: 1px solid #efefef; }
  html.web .top.hide { transform: none; }
  html.web .bar { max-width: 1344px; margin: 0 auto; padding: 0 32px; gap: 26px; justify-content: flex-start; }
  html.web .d-logo { display: block; flex: none; font-size: 27px; font-weight: 700; letter-spacing: -.3px; line-height: 1; }
  html.web .d-nav { display: flex; flex: 1; justify-content: center; gap: 26px; min-width: 0; white-space: nowrap; }
  html.web .d-nav a { padding: 6px 0; border-bottom: 2px solid transparent; font-size: 17px; font-weight: 600; color: #333; transition: color .15s, border-color .15s; }
  html.web .d-nav a:hover { color: #000; border-color: #d0d0d0; }
  html.web .d-nav a.on { color: #000; border-color: #000; }
  html.web .who { flex: none; }
  html.web .cart-pill { flex: none; }
  /* каталог: колонки разделов нет (она в шапке), карточки в четыре ряда */
  html.web .rail { display: none; }
  html.web .pane { padding: 30px max(32px, calc((100% - 1280px) / 2)) 80px; scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; }
  html.web .pane::-webkit-scrollbar { display: block; width: 10px; }
  html.web .pane::-webkit-scrollbar-thumb { border-radius: 10px; background: #d4d4d4; border: 2px solid #fff; }
  html.web .pane .ptitle { margin-bottom: 22px; }
  html.web .pane .pt-h { font-size: 40px; line-height: 1.15; }
  html.web .pane .ptitle p { font-size: 16px; }
  html.web .pane .pt-sub { margin: 44px 0 16px; font-size: 26px; }
  html.web .pane .models, html.web .pane .sections { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  html.web .pane .model { padding: 20px 16px 24px; border-radius: 26px; transition: transform .2s ease, box-shadow .2s ease; }
  html.web .pane .model:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -22px rgba(0, 0, 0, .3); }
  html.web .pane .model b { font-size: 17px; margin-top: 8px; }
  html.web .pane .model span { font-size: 15px; }
  html.web .pane .pback { font-size: 15px; margin-bottom: 14px; }
  /* товар: фото слева (остаётся на месте при прокрутке), описание и покупка справа */
  html.web .pane.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); column-gap: 56px; align-content: start; padding-top: 22px; padding-bottom: 110px; }
  html.web .pane.prod > * { grid-column: 1 / -1; }
  html.web .pane.prod > .prow { padding: 0; margin: 0 0 14px; }
  html.web .pane.prod > .prow .pback { margin: 0; }
  html.web .pane.prod > .gallery { grid-column: 1; margin: 0; position: sticky; top: 0; align-self: start; border-radius: 30px; }
  html.web .pane.prod > .pbody { grid-column: 2; padding: 0; }
  html.web .pane.prod .pbody h1 { margin: 4px 0 16px; font-size: 32px; text-align: left; }
  html.web .gallery .slides { transform: none; opacity: 1; }
  html.web .g-arr { display: grid; place-items: center; position: absolute; z-index: 3; top: 50%; width: 46px; height: 46px; margin-top: -23px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 16px rgba(0, 0, 0, .16); opacity: 0; transition: opacity .2s, transform .15s; }
  html.web .g-arr.l { left: 16px; }
  html.web .g-arr.r { right: 16px; }
  html.web .g-arr::before { content: ''; width: 10px; height: 10px; border: solid #111; border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }
  html.web .g-arr.l::before { transform: translateX(2px) rotate(-135deg); }
  html.web .gallery:hover .g-arr { opacity: 1; }
  html.web .g-arr:active { transform: scale(.92); }
  /* корзина, профиль и панели: колонка по центру */
  html.web body:not(.shelled) main { max-width: 680px; margin: 0 auto; padding-top: 10px; }
  /* окна (шторки) открываются по центру экрана, а не снизу */
  html.web .sheet-bg { align-items: center; justify-content: center; padding: 24px; }
  html.web .sheet { max-width: 540px; max-height: 88vh; border-radius: 28px; transform: translateY(28px) scale(.97); opacity: 0; transition: transform .28s cubic-bezier(.2, .9, .25, 1), opacity .2s; }
  html.web .sheet-bg.on .sheet { transform: none; opacity: 1; }
  /* главная как на айпарк.рф */
  html.web .dh h1 { margin: 26px 0 8px; font-size: 40px; }
  html.web .dh h2 { margin: 84px 0 8px; font-size: 40px; }
  html.web .dh .sub { margin: 0 0 30px; font-size: 16px; }
  html.web .dh .tiles { justify-content: center; gap: 22px; overflow: visible; padding: 8px 0 44px; }
  html.web .dh .tile { width: 176px; transition: transform .2s ease; }
  html.web .dh .tile:hover { transform: translateY(-5px); }
  html.web .dh .tile .pic { height: 150px; }
  html.web .dh .tile img { max-height: 142px; max-width: 166px; }
  html.web .dh .tile b { margin-top: 12px; font-size: 17px; font-weight: 600; }
  html.web .dh .brands { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; padding: 0; }
  html.web .dh .brand { grid-column: span 3; border-radius: 30px; }
  html.web .dh .brand.dark { grid-column: span 4; }
  html.web .dh .socials { grid-template-columns: repeat(4, 250px); gap: 34px 60px; padding: 14px 0 6px; }
  html.web .d-foot { display: block; margin-top: 90px; padding-top: 36px; border-top: 1px solid #ededed; }
  html.web .df-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  html.web .df-cols b { display: block; font-size: 21px; font-weight: 600; }
  html.web .df-cols span { display: block; margin-top: 4px; color: var(--muted); font-weight: 300; }
  html.web .d-foot small { display: block; margin-top: 30px; color: #9a9a9a; font-size: 12px; font-weight: 300; line-height: 1.55; }
}
@media (min-width: 1000px) and (max-width: 1339px) { html.web .who-t { display: none; } html.web .d-nav { gap: 20px; } html.web .d-nav a { font-size: 16px; } }
/* компьютерная версия: плашка с ценой и кнопкой «В корзину» — плавающая карточка под правой колонкой товара */
@media (min-width: 1000px) {
  html.web body > .pbar { left: auto !important; right: max(32px, calc((100vw - 1280px) / 2)); bottom: 20px; width: 470px; padding: 14px 16px; border-radius: 26px; box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .34), 0 0 0 1px rgba(0, 0, 0, .06); }
  html.web .pane.prod { padding-bottom: 210px; }
}
@media (min-width: 1000px) { html.web body > .pbar.cbar { left: calc(50% - 340px) !important; right: auto; width: 680px; } } /* в корзине плашка «Всего» стоит под колонкой корзины */

/* ---- сайт открыт всем: вход — окно поверх магазина, гость оформляет заказ без входа ---- */
.wl { z-index: 70; background: rgba(0, 0, 0, .42); }
.wl-card { position: relative; }
.wl-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #f2f2f4; }
.wl-x::before, .wl-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px; border-radius: 2px; background: #666; transform: rotate(45deg); }
.wl-x::after { transform: rotate(-45deg); }
.g-who { flex: none; }
.g-in { display: inline-grid; place-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: #111; color: #fff; font-size: 15px; font-weight: 600; }
.wg { padding: 48px var(--gutter) 24px; text-align: center; }
.wg h1 { margin: 14px 0 8px; font-size: 28px; }
.wg .sub { margin: 0 auto 24px; max-width: 420px; }
.wg .wrap { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; }
.wg .buy { width: 100%; border: 0; }
.wl-in { display: block; width: calc(100% - 2 * var(--gutter)); max-width: 360px; margin: 24px auto 8px; border: 0; }

/* сайт на телефоне: под нижней плашкой (цена, корзина) Safari оставляет полоску у своей панели, сквозь неё видна страница — продолжаем белый фон плашки вниз */
@media (max-width: 999px) { html.web body > .pbar::after { content: ''; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 140px; background: #fff; pointer-events: none; } }

/* сайт на телефоне: вне Telegram его скрипт ставит высоту окна 100vh, а в мобильном браузере это больше видимой части (не учитывает панель с адресом) — окно товара уходило ниже плашки с ценой. Берём видимую высоту */
@media (max-width: 999px) { html.web { --tg-viewport-stable-height: 100dvh !important; } }

/* ===== панель менеджера и «Команда» (13.11.2026): аватарки, поиск, карточка клиента, лента действий ===== */
.mga { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--c, #8e8e93); color: #fff; font-size: 17px; font-weight: 600; }
.mga i { font-style: normal; }
.mga img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mga.big { width: 76px; height: 76px; font-size: 30px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); }
.adm-tabs .chip i, .mgx-tabs .chip i { display: inline-block; min-width: 18px; margin-left: 5px; padding: 0 5px; border-radius: 9px; background: rgba(0, 0, 0, .07); font-style: normal; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; color: var(--label); }
.adm-tabs .chip i:empty { display: none; }
#mgNewN { background: #ff3b30; color: #fff; }
.mg-go { flex: none; width: 8px; height: 8px; margin-left: 4px; border: solid #b5b5ba; border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* плитки статусов */
.mg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.mgs { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 12px 11px; border: 0; border-radius: 18px; background: var(--gray); text-align: left; font: inherit; transition: transform .15s, box-shadow .15s, background .2s; }
.mgs:active { transform: scale(.97); }
.mgs b { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.mgs span { margin-top: 2px; font-size: 13px; font-weight: 600; }
.mgs small { font-size: 11px; color: var(--muted); }
.mgs.s-new b { color: #e5484d; }
.mgs.s-confirmed b { color: #0a5fc4; }
.mgs.s-ready b { color: #b26a00; }
.mgs.on { background: #fff; box-shadow: 0 0 0 2px #111 inset; }

/* поиск */
.mg-q { position: relative; display: flex; align-items: center; margin: 0 0 10px; }
.mg-q svg { position: absolute; left: 13px; color: #9a9aa0; pointer-events: none; }
.mg-q input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid transparent; border-radius: 14px; background: var(--gray); font: inherit; font-size: 15px; outline: none; transition: border-color .15s, background .15s; -webkit-appearance: none; appearance: none; }
.mg-q input:focus { border-color: #d0d0d6; background: #fff; }
.mg-st { margin-bottom: 10px; }
.mg-cnt { margin: 0 2px 8px; font-size: 12px; color: var(--muted); }
.mg-cnt:empty { display: none; }
.mg-skel { height: 74px; margin-bottom: 8px; border-radius: 18px; background: linear-gradient(90deg, #f3f3f5 25%, #e9e9ec 50%, #f3f3f5 75%); background-size: 200% 100%; animation: mgSk 1.2s linear infinite; }
@keyframes mgSk { to { background-position: -200% 0; } }
.mg-none { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 20px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.45; }
.mg-none i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--gray); font-size: 24px; font-style: normal; }

/* кнопка «Написать» / «Позвонить» */
.mg-ib { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 10px; border: 0; border-radius: 19px; background: #e3efff; color: #0a6ad8; font: inherit; font-size: 14px; font-weight: 600; transition: transform .15s, background .15s; }
.mg-ib:active { transform: scale(.94); }
.mg-ib.off { background: #f1f1f3; color: #b9b9bf; }
.mg-ib svg { flex: none; }

/* строка клиента */
.mgc { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 8px; padding: 12px; border-radius: 18px; background: var(--gray); cursor: pointer; transition: transform .15s, background .15s; }
.mgc:active { transform: scale(.985); background: #efeff2; }
.mgc-t { flex: 1; min-width: 0; }
.mgc-t b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.mgc-t small { display: block; overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.mgc-r { flex: none; text-align: right; }
.mgc-r b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mgc-r small { display: block; font-size: 11px; color: var(--muted); }
.mg-pill { flex: none; padding: 3px 9px; border-radius: 10px; background: #ececf0; color: var(--label); font-size: 11px; font-weight: 600; }
.mg-pill.ok { background: #e3f6e9; color: #1f8f47; }

/* карточка заказа */
.mgo { position: relative; margin-bottom: 10px; padding: 14px; border-radius: 20px; background: var(--gray); overflow: hidden; }
.mgo::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: #c8c8ce; }
.mgo.s-new::before { background: #e5484d; }
.mgo.s-confirmed::before { background: #0a6ad8; }
.mgo.s-ready::before { background: #f5a524; }
.mgo.s-done::before { background: #30a46c; }
.mgo-h { display: flex; align-items: center; gap: 8px; }
.mgo-h b { font-size: 16px; font-weight: 600; }
.mgo-h small { margin-left: auto; font-size: 12px; color: var(--muted); }
.mgo-who { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 8px 8px 8px 10px; border-radius: 14px; background: #fff; cursor: pointer; }
.mgo-who .mga { width: 34px; height: 34px; font-size: 14px; }
.mgo-who > span:not(.mga) { flex: 1; min-width: 0; }
.mgo-who b { display: block; overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.mgo-who small { display: block; font-size: 11px; color: var(--muted); }
.mgo-who .mg-ib { height: 34px; min-width: 34px; }
.mgo .mg-items { margin-top: 8px; }
.mgo-cu { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #e8e8ec; font-size: 12px; color: var(--label); }
.mgo-cu a { color: #0a6ad8; }
.mgo-f { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; }
.mgo-f .mg-sum { margin: 0; }
.mgo-f small { font-size: 11px; color: var(--muted); }

/* списание по карте */
.mg-rd { padding: 20px 16px 6px; border-radius: 22px; background: var(--gray); text-align: center; }
.mg-rd-ico { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 17px; background: #fff; color: #111; box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.mg-rd > b { display: block; font-size: 18px; font-weight: 600; }
.mg-rd > p { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.mg-rd input { background: #fff; text-align: center; font-size: 18px; letter-spacing: 1px; }
.mg-rd-res { margin-top: 12px; animation: ipkUp .35s cubic-bezier(.2, .9, .25, 1); }

/* шторка панели */
.mgx { position: relative; padding-top: 18px; }
.mgx-x { position: absolute; top: 14px; right: 14px; z-index: 2; margin: 0; }
.mgx-ttl { margin: 4px 40px 14px 0; }
.mgx-ttl h3 { margin: 0; text-align: left; font-size: 22px; }
.mgx-ttl p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.mgx-hero { display: flex; flex-direction: column; align-items: center; padding: 6px 30px 0; text-align: center; }
.mgx-hero h3 { margin: 10px 0 0; font-size: 22px; line-height: 1.2; }
.mgx-hero p { margin: 2px 0 0; font-size: 13px; color: var(--label); }
.mgx-hero small { margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.mgx-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.mgx-acts .mg-ib { height: 40px; padding: 0 16px; }
.mgx-acts .mg-ib:first-child:not(.off) { background: #0a6ad8; color: #fff; }
.mgx-acts .mg-ib:not(:first-child) { background: #f1f1f3; color: #111; }
.mgx-tabs { margin: 14px 0 12px; }
.mgx-pane { animation: ipkUp .3s cubic-bezier(.2, .9, .25, 1); }
.mgx-form { display: grid; gap: 8px; margin-bottom: 12px; padding: 12px; border-radius: 18px; background: var(--gray); }
.mgx-row { display: grid; gap: 8px; }
.mgx-form input { width: 100%; padding: 11px 14px; border: 1px solid #e3e3e8; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; outline: none; }
.mgx-form small { font-size: 11px; color: var(--muted); }
.mgx .mg-led li { align-items: center; }

/* сводка цифрами */
.tm-per { margin: 12px 2px 8px; font-size: 13px; font-weight: 600; color: var(--label); }
.tm-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.tm-sum:not(.three) > div { padding: 11px 10px; }
.tm-sum:not(.three) b { font-size: 19px; }
.tm-sum.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; margin-bottom: 0; }
.tm-sum > div { padding: 12px; border-radius: 16px; background: var(--gray); }
.tm-sum > div.hi { background: #eaf3fd; color: #1d3f6b; }
.tm-sum b { display: block; overflow: hidden; font-size: 21px; font-weight: 600; letter-spacing: -.4px; white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tm-sum span { display: block; font-size: 11px; color: var(--muted); }
.tm-sum .hi span { color: #4d6a8c; }

/* карточки менеджеров */
.tmc { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 8px; padding: 14px 14px 14px 12px; border: 0; border-radius: 20px; background: var(--gray); font: inherit; text-align: left; transition: transform .15s; }
.tmc:active { transform: scale(.985); }
.tmc-av { position: relative; flex: none; }
.tmc-av .mga { width: 48px; height: 48px; font-size: 19px; }
.tmc-rk { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--gray); border-radius: 50%; background: #c9c9cf; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.tmc-rk.r1 { background: #f5b301; }
.tmc-rk.r2 { background: #a3a9b3; }
.tmc-rk.r3 { background: #c8834f; }
.tmc-t { flex: 1; min-width: 0; }
.tmc-t > b { display: block; font-size: 15px; font-weight: 600; }
.tmc-t > small { display: block; overflow: hidden; font-size: 12px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.tmc-bar { display: block; height: 5px; margin: 8px 0 7px; border-radius: 3px; background: #e6e6ea; overflow: hidden; }
.tmc-bar i { display: block; height: 100%; min-width: 4px; border-radius: 3px; background: linear-gradient(90deg, #0a6ad8, #5e5ce6); }
.tmc-n { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.tmc-n em { font-style: normal; }
.tmc-n b { color: var(--text); font-weight: 600; }
.tm-all { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 15px 16px; border: 0; border-radius: 18px; background: #111; color: #fff; font: inherit; font-size: 15px; font-weight: 600; text-align: left; }
.tm-all span:first-of-type { flex: 1; }
.tm-all .mg-go { border-color: #fff; opacity: .6; }

/* лента действий */
.tl-day { position: sticky; top: -1px; z-index: 1; margin: 12px 0 2px; padding: 6px 0; background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }
.tl-list > .tl-day:first-child { margin-top: 0; }
.tl { display: flex; align-items: flex-start; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #f0f0f2; }
.tl.tap { cursor: pointer; border-radius: 12px; }
.tl.tap:active { background: var(--gray); }
.tl-i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--gray); font-size: 15px; }
.tl-i.t-status { background: #e3efff; }
.tl-i.t-redeem, .tl-i.t-points { background: #fff1d6; }
.tl-i.t-review { background: #fdf3c7; }
.tl-b { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; }
.tl-b b { display: block; font-size: 13px; font-weight: 600; }
.tl-b span { display: block; color: #333; overflow-wrap: anywhere; }
.tl-t { flex: none; padding-top: 2px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl.tap .tl-t::after { content: ' ›'; color: #b5b5ba; }

/* компьютер: шире колонка, клиенты и заказы в две колонки, шторка шире */
@media (min-width: 1000px) {
  html.web body:not(.shelled) main:has(.mgp), html.web body:not(.shelled) main:has(.tmp) { max-width: 920px; }
  html.web .mgp #mgList:not(:has(.mg-none)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  html.web .mgp #mgList .mgc, html.web .mgp #mgList .mgo, html.web .mgp #mgList .mg-skel { margin: 0; }
  html.web .tm-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html.web .tm-sum.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.web .tm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html.web .tm-list .tmc { margin: 0; }
  html.web .tm-all { margin-top: 12px; }
  html.web .sheet.mgx { max-width: 620px; }
  html.web .mgx-row { grid-template-columns: 140px 1fr; }
  html.web .mgc:hover, html.web .tmc:hover { background: #efeff2; }
  html.web .mgo-who:hover { box-shadow: 0 0 0 1px #e1e1e6 inset; }
}

/* пока открыта шторка, страница под ней не листается: прокрутка остаётся внутри шторки (13.11.2026) */
.sheet { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-bg { overscroll-behavior: contain; }
html:has(body > .sheet-bg.on), body:has(> .sheet-bg.on) { overflow: hidden; }
/* кнопки «Начислить» / «Списать» в карточке клиента: в один ряд, одной высоты, «Списать» — белая с красным текстом */
.mgx-form .buy, .mg-rd .buy, .mg-rd-res .buy { margin: 0; height: 48px; }
.mgx-form .buy.alt { background: #fff; color: #d63a3a; font-weight: 600; box-shadow: 0 0 0 1px #e3e3e8 inset; }
.mgx-form .mg-two { align-items: stretch; }
/* «Мой QR» менеджера */
.mq-card { position: relative; padding: 16px 16px 14px; border-radius: 26px; background: linear-gradient(160deg, #1d1d1f 0%, #2c2c34 55%, #3a3550 100%); color: #fff; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(30, 20, 70, .65); }
.mq-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 120, 255, .35), transparent 70%); pointer-events: none; }
.mq-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.mq-top > span:not(.mga) { flex: 1; min-width: 0; }
.mq-top b { display: block; font-size: 16px; font-weight: 600; }
.mq-top small { display: block; font-size: 12px; opacity: .6; }
.mq-full { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.mq-qr { position: relative; z-index: 1; display: block; width: min(250px, 72%); aspect-ratio: 1; margin: 16px auto 12px; padding: 14px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); transition: transform .15s; }
.mq-qr:active { transform: scale(.97); }
.mq-qr svg { display: block; width: 100%; height: 100%; }
.mq-hint { position: relative; z-index: 1; margin: 0 4px 10px; font-size: 12.5px; line-height: 1.45; text-align: center; opacity: .78; }
.mq-hint b { font-weight: 600; opacity: 1; color: #fff; }
.mq-link { position: relative; z-index: 1; display: block; width: 100%; margin-bottom: 10px; padding: 10px 12px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 14px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .85); font: inherit; font-size: 13px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mq-card .mg-two { position: relative; z-index: 1; }
.mq-card .buy { margin: 0; background: #fff; color: #111; font-weight: 600; }
.mq-card .buy.alt { background: rgba(255, 255, 255, .14); color: #fff; }
.mq #mqStats { margin-top: 12px; }
.mq-h { margin: 18px 2px 8px; font-size: 15px; font-weight: 600; }
.mq-fs { padding: 4px 0 6px; text-align: center; }
.mq-fs small { font-size: 12px; color: var(--muted); }
.mq-fs h3 { margin: 2px 0 14px; font-size: 24px; }
.mq-fs-qr { width: min(330px, 86%); aspect-ratio: 1; margin: 0 auto; padding: 16px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px #ececf0, 0 14px 34px -16px rgba(0, 0, 0, .3); }
.mq-fs-qr svg { display: block; width: 100%; height: 100%; }
.mq-fs p { margin: 16px 20px 4px; font-size: 14px; line-height: 1.45; color: var(--label); }
#mgTabs .chip { padding-left: 8px; padding-right: 8px; } /* четыре вкладки влезают в ряд на узком телефоне */

/* QR менеджера: без лишнего поля снизу; на весь экран — отдельный белый слой поверх всего */
.mq-qr { display: grid; place-items: center; aspect-ratio: auto; }
.mq-qr svg, .mq-fs-qr svg { width: 100%; height: auto; }
.mq-fs { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: calc(var(--tg-top) + 64px) 22px calc(28px + env(safe-area-inset-bottom)); background: #fff; text-align: center; opacity: 0; transform: scale(1.03); transition: opacity .22s, transform .22s; }
.mq-fs.on { opacity: 1; transform: none; }
.mq-fs-x { position: absolute; top: calc(var(--tg-top) + 14px); right: 16px; width: 40px; height: 40px; margin: 0; }
.mq-fs-in { width: 100%; max-width: 440px; }
.mq-fs small { font-size: 13px; color: var(--muted); }
.mq-fs h3 { margin: 2px 0 18px; font-size: 28px; font-weight: 600; letter-spacing: -.4px; }
.mq-fs-qr { width: min(86vw, 58vh, 420px); aspect-ratio: auto; margin: 0 auto; padding: 18px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #ececf0, 0 18px 44px -20px rgba(0, 0, 0, .35); }
.mq-fs p { margin: 20px 0 0; font-size: 15px; line-height: 1.45; color: var(--label); }
.mq-fs-gift { display: inline-block; margin-top: 14px; padding: 9px 18px; border-radius: 20px; background: #eaf3fd; color: #0a5fc4; font-size: 15px; font-weight: 600; }
body:has(> .mq-fs.on) { overflow: hidden; }
/* сообщение клиенту через бота */
.mgw { display: grid; gap: 12px; padding-top: 6px; }
.mgw h3 { margin: 0; font-size: 20px; padding-right: 40px; }
.mgw .sub { margin: 0; font-size: 14px; line-height: 1.4; }
.mgw textarea { width: 100%; box-sizing: border-box; min-height: 120px; resize: vertical; border: 0; border-radius: 14px; background: var(--card2, #f2f2f7); padding: 12px 14px; font: inherit; font-size: 16px; color: inherit; outline: none; }
.mgw .buy { margin: 0; height: 48px; }
/* «Настройка устройства» в окне iPack: строка открывает описание, переключатель — сразу добавить/убрать */
.ipc-w { box-sizing: border-box; cursor: pointer; }
.ipc-w small u { text-underline-offset: 2px; }
.ipc-w .ipc-sw { flex-shrink: 0; cursor: pointer; }
.su-info { z-index: 90; }
/* кешбек в нижней панели корзины: «+N кешбек», плашка шире — как кешбек в карточке товара */
body > .pbar.cbar .cb4-cb { flex: 0 0 34%; max-width: 34%; }
html body > .pbar.cbar .cb4-in { padding-left: 6px; padding-right: 18px; } /* «В рассрочку от … ₽ в месяц» влезает на 375 px */
body > .pbar.cbar .cb4:has(> .cb4-in[hidden]) .cb4-cb { flex: 1 1 auto; max-width: none; }
/* кешбек в карточке товара: «+N кешбек» — сначала число, потом слово */
html body .pcb2 .cb-n { order: -1 !important; }
html body .pcb2 .cb-t { order: 0 !important; }
/* один размер шрифта во всех плашках кэшбэка и рассрочки (карточка товара и корзина) — 13px, как у рассрочки в карточке */
html body .pcb2 .cb-n, html body .pcb2 .cb-t b { font-size: 13px !important; }
html body > .pbar.cbar .cb4-t, html body > .pbar.cbar .cb4-t b { font-size: 13px !important; }/* плашка кэшбэка в карточке может быть чуть шире колонки цены, чтобы «+10 500 Кэшбэк» в 13px не обрезался */html body .pbar .pcb2 { width: max-content !important; min-width: 100%; max-width: none !important; overflow: visible; }
/* стрелка в «40→60 Вт»: системный шрифт iPhone (как в Telegram), там она короткая */
.ip-arr { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; margin: 0 1px; }
/* iPack в корзине: раскрытие высотой в пикселях вместо grid-рядов — плавно на iPhone; отступ сверху постоянный, чтобы ничего не прыгало */
html body .stk.ip .ipl { display: block; height: 0; overflow: hidden; transition: none; }
html body .stk.ip.open .ipl { height: auto; }
html body .stk.ip .ipl.anim { transition: height .34s cubic-bezier(.32, .72, 0, 1); will-change: height; }
html body .stk.ip .ipl ul.ipx { padding-top: 10px; overflow: visible; }
html body .stk.ip .ipl ul.ipx { transition: opacity .25s ease; opacity: 0; }
html body .stk.ip.open .ipl ul.ipx { opacity: 1; }
/* возврат из товара в список: без повторного «выпрыгивания» карточек — список мягко проявляется */
.pane.back-in .models, .pane.back-in .ptitle, .pane.back-in .pt-sub { animation: backIn .24s ease-out both; }
@keyframes backIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pane.back-in .models, .pane.back-in .ptitle, .pane.back-in .pt-sub { animation: none; } }
/* выход из товара: плашка с ценой — отдельный слой перехода, уезжает вниз; страница меняется чуть дольше, фото летит быстрее — всё заканчивается вместе */
::view-transition-group(pbar) { animation: none; z-index: 20; }
::view-transition-old(pbar) { animation: vtBarOut .34s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(pbar) { animation: none; }
@keyframes vtBarOut { to { transform: translateY(calc(100% + 30px)); opacity: 0; } }
.vt-back::view-transition-old(root), .vt-back::view-transition-new(root) { animation-duration: .32s; }
.vt-back::view-transition-group(hero) { animation-duration: .42s; }
/* плавность в мини-аппе: уже загруженные фото встают сразу (без серой заглушки и проявления), карточки появляются лёгкой анимацией без 3D и пружины */
html.sk img.im-now { transition: transform .4s, opacity 0s !important; }
.pane.entering .model { animation: cardIn2 .36s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(min(var(--i, 0), 8) * 30ms + 30ms); }
@keyframes cardIn2 { from { opacity: 0; transform: translateY(12px); } }
.pane .models, .pane .ptitle { transition: opacity .12s ease-in, transform .12s ease-in; }
.pane.leaving .models, .pane.leaving .ptitle { transform: translateX(-10px); }
.pane.prod { transition: opacity .12s ease-in, transform .12s ease-in; }
@media (prefers-reduced-motion: reduce) { .pane.entering .model { animation: none; } }
/* открытие/закрытие товара: старая страница остаётся под новой целиком, новая проявляется поверх — без полупрозрачного «двоения» и провала яркости посередине; фото летит быстрее */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vtRootIn .26s cubic-bezier(.2, .8, .2, 1) both; mix-blend-mode: normal; }
@keyframes vtRootIn { from { opacity: 0; } }
::view-transition-group(hero) { animation-duration: .44s; }
.vt-back::view-transition-new(root) { animation-duration: .26s; }
/* мини-апп на телефоне: товар въезжает справа, список возвращается слева — двигается один слой, без снимков экрана */
.pane.push-in { animation: paneIn .3s cubic-bezier(.2, .8, .2, 1) both; will-change: transform, opacity; }
.pane.pop-in { animation: paneBack .26s cubic-bezier(.2, .8, .2, 1) both; will-change: transform, opacity; }
@keyframes paneIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-20px); } }
body > .pbar.bar-in { animation: barIn .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes barIn { from { transform: translateY(calc(100% + 30px)); } }
@media (prefers-reduced-motion: reduce) { .pane.push-in, .pane.pop-in, body > .pbar.bar-in { animation: none; } }
/* ---------- быстрые цены ---------- */
.qp-go { display: block; margin: 0 0 12px; padding: 13px 16px; border-radius: 14px; background: #111; color: #fff; font-weight: 600; text-decoration: none; text-align: center; }
.qp { padding-bottom: 110px; }
.qp-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 10px; padding: 2px var(--gutter); scrollbar-width: none; transition: opacity .2s; }
.qp-chips::-webkit-scrollbar { display: none; }
.qp-chips.off { opacity: .35; }
.qp-chips button { flex: none; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--gray); font: inherit; font-size: 14px; color: #111; white-space: nowrap; }
.qp-chips button.on { background: #111; color: #fff; }
.qp-mass { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--gray); }
.qp-mass span { flex: 1; font-size: 14px; color: var(--muted); white-space: nowrap; }
.qp-mass input { width: 78px; min-width: 0; padding: 9px 10px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; text-align: right; }
.qp-mass input:focus { outline: 2px solid #111; }
.qp-mass button { flex: none; width: 38px; height: 38px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #111; }
.qp-mass .qp-pm { background: #111; color: #fff; font-size: 20px; }
.qp-it { margin: 0 0 10px; padding: 4px 14px; border-radius: 16px; background: var(--gray); }
.qp-h { display: flex; align-items: center; gap: 10px; padding: 8px 0 6px; }
.qp-h .pn-th { width: 34px; height: 34px; flex: none; }
.qp-h b { font-size: 15px; line-height: 1.25; }
.qp-ln { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.qp-lb { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 15px; }
.qp-lb small { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.qp-lb small:empty { display: none; }
.qp-rs { color: var(--blue); cursor: pointer; }
.qp-dots { display: inline-flex; align-items: center; }
.qp-dots i { width: 12px; height: 12px; margin-right: -3px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.2); }
.qp-dots em { margin-left: 6px; font-style: normal; font-size: 11px; color: var(--muted); }
.qp-in { width: 108px; flex: none; padding: 9px 10px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; font-weight: 600; text-align: right; color: #111; transition: background .15s, box-shadow .15s; }
.qp-in:focus { outline: none; box-shadow: 0 0 0 2px #111; }
.qp-rub { font-size: 14px; color: var(--muted); margin-left: -4px; }
.qp-ln.ch .qp-in { background: #fff4cc; }
.qp-ln.ch small { color: #b07a00; }
.qp-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto; padding: 8px 8px 8px 16px; border-radius: 18px; background: #111; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: qpBarIn .28s cubic-bezier(.32,.72,0,1); }
.qp-n { flex: 1; font-weight: 600; }
.qp-bar button { border: 0; border-radius: 12px; padding: 11px 14px; font: inherit; font-weight: 600; }
.qp-undo { background: rgba(255,255,255,.14); color: #fff; }
.qp-save { background: #fff; color: #111; }
@keyframes qpBarIn { from { transform: translateY(24px); opacity: 0; } }.qp-ln { padding: 5px 0; }
.qp-in { width: 100px; padding: 7px 10px; }
.qp-h { padding: 8px 0 4px; }.qp-go { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 13px 16px; }
.qp-go b { font-size: 16px; }
.qp-go small { font-weight: 400; font-size: 13px; opacity: .65; }/* быстрые цены v2: таблица на товар */
.qp-top { position: sticky; top: 0; z-index: 5; margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 2px; background: var(--bg); }
.qp-top .pr-q { margin: 0 0 8px; padding: 10px 14px; }
.qp-top .qp-chips { margin-bottom: 6px; }
.qp-it { margin: 0 0 10px; padding: 10px 12px 12px; border-radius: 18px; background: var(--gray); }
.qp-h { display: flex; align-items: center; gap: 10px; padding: 0 0 8px; }
.qp-h b { flex: 1; min-width: 0; font-size: 15px; }
.qp-site { flex: none; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 12px; color: var(--blue); }
.qp-cl { display: flex; gap: 6px; overflow-x: auto; margin: 0 -12px 8px; padding: 0 12px; scrollbar-width: none; }
.qp-cl::-webkit-scrollbar { display: none; }
.qp-cl button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: #111; white-space: nowrap; }
.qp-cl button.on { background: #111; color: #fff; }
.qp-cl i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.qp-tb { display: grid; grid-template-columns: minmax(56px, 1fr) repeat(var(--n), minmax(0, 116px)); gap: 6px; align-items: center; }
.qp-th { font-size: 11px; line-height: 1.2; color: var(--muted); text-align: right; padding: 0 8px; }
.qp-th.l { text-align: left; padding: 0; }
.qp-rl { font-size: 14px; font-weight: 500; line-height: 1.2; }
.qp-c { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.qp-c.na { text-align: center; color: var(--old); }
.qp-c .qp-in { width: 100%; min-width: 0; box-sizing: border-box; padding: 9px 8px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; text-align: right; color: #111; }
.qp-c .qp-in::placeholder { font-weight: 400; font-size: 13px; color: var(--muted); }
.qp-c .qp-in:focus { outline: none; box-shadow: 0 0 0 2px #111; }
.qp-c.ch .qp-in { background: #fff1bf; }
.qp-c s { align-self: flex-end; padding: 2px 8px 0; font-size: 11px; color: var(--muted); }
.qp-mass { margin-top: 14px; }.qp-sc { overflow-x: auto; margin: 0 -12px; padding: 0 12px; scrollbar-width: none; }
.qp-sc::-webkit-scrollbar { display: none; }
.qp-tb.cc { grid-template-columns: minmax(64px, auto) repeat(var(--n), 96px); width: max-content; min-width: 100%; }
.qp-tb.cc .qp-rl { position: sticky; left: -12px; z-index: 1; align-self: stretch; display: flex; align-items: center; margin-left: -12px; padding: 0 6px 0 12px; background: var(--gray); }
.qp-tb.cc .qp-th.l { position: sticky; left: -12px; z-index: 1; align-self: stretch; margin-left: -12px; padding-left: 12px; background: var(--gray); }
.qp-th { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.qp-th.l { justify-content: flex-start; }
.qp-th i { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.qp-tb.cc .qp-th { justify-content: flex-start; padding: 0 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
.qp-tb.cc .qp-th i { display: inline-block; vertical-align: -1px; margin-right: 4px; }
.qp-h b small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }.qp-rl small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.qp-tb.cc .qp-rl { flex-direction: column; align-items: flex-start; justify-content: center; }
.qp-rl > i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; vertical-align: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
/* быстрые цены v3: таблица всегда в ширину экрана */
.qp-it { padding: 12px 10px 12px; border-radius: 20px; }
.qp-h { padding: 0 4px 10px; }
.qp-sc { overflow: visible; margin: 0; padding: 0; }
.qp-tb, .qp-tb.cc { width: auto; min-width: 0; gap: 5px 4px; grid-template-columns: minmax(52px, auto) repeat(var(--n), minmax(0, 1fr)); }
.qp-tb:not(.cc) { grid-template-columns: minmax(52px, 1fr) repeat(var(--n), minmax(0, 112px)); }
.qp-tb.cc .qp-rl, .qp-tb.cc .qp-th.l { position: static; margin: 0; padding: 0 0 0 4px; background: none; }
.qp-rl { padding-left: 4px; font-size: 14px; font-weight: 600; }
.qp-rl small { font-size: 10.5px; font-weight: 400; margin-top: 1px; }
.qp-th, .qp-tb.cc .qp-th { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-width: 0; padding: 0 2px 2px; text-align: center; font-size: 10.5px; }
.qp-th em { display: block; max-width: 100%; font-style: normal; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qp-th i, .qp-tb.cc .qp-th i { display: block; width: 14px; height: 14px; margin: 0; }
.qp-th.l { align-items: flex-start; }
.qp-c .qp-in { padding: 10px 2px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; letter-spacing: -.2px; font-variant-numeric: tabular-nums; }
.qp-tb:not(.cc) .qp-c .qp-in { font-size: 15px; }
.qp-c s { align-self: center; padding: 2px 0 0; font-size: 10px; }
.qp-c.ch .qp-in { background: #fff1bf; box-shadow: inset 0 0 0 1.5px #f2c94c; }@media (max-width: 380px) { .qp-tb.cc { gap: 4px 3px; } .qp-tb.cc .qp-c .qp-in { font-size: 12.5px; letter-spacing: -.4px; padding: 10px 0; } .qp-it { padding-left: 8px; padding-right: 8px; } }
.qp-c.nw .qp-in { background: transparent; box-shadow: inset 0 0 0 1.5px #d6d6d6; border: 0; }
.qp-c.nw .qp-in::placeholder { font-size: 18px; font-weight: 300; color: #b5b5b5; }
.qp-c.nw.ch .qp-in { background: #fff1bf; box-shadow: inset 0 0 0 1.5px #f2c94c; }
.qp-c.own .qp-in { box-shadow: inset 0 0 0 1.5px #9ec5ff; }
/* QR приглашения у команды — в «Пригласить друга» */
.rf-qr { position: relative; display: block; width: 100%; margin: 14px 0 4px; padding: 18px 0; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.rf-qr-c { display: block; width: min(176px, 52%); aspect-ratio: 1; margin: 0 auto; }
.rf-qr-c svg { display: block; width: 100%; height: 100%; }
.rf-qr-x { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(120,120,128,.12); color: var(--label, #1c1c1e); }
.rf-qr:active { transform: scale(.98); }
.mq-fs-gift { margin-top: 22px; }
/* награда из окна «Баллы»: путь назад в магазин */
.sh-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px -4px; padding: 6px 12px 6px 10px; border: 0; border-radius: 16px; background: rgba(120,120,128,.12); color: var(--label, #1c1c1e); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sh-back .chev { width: 8px; height: 8px; margin: 0; transform: rotate(135deg); }
.sh-back:active { opacity: .6; }
/* компьютер: колонка разделов из мини-аппа — строкой под шапкой, бегунок едет вбок */
@media (min-width: 1000px) {
  html.web .d-sp { flex: 1; }
  html.web .shell { flex-direction: column; }
  html.web .shell > .pane { flex: 1; min-height: 0; }
  html.web .rail { display: flex; flex-direction: row; align-items: stretch; gap: 4px; width: auto; overflow-x: auto; overflow-y: hidden; padding: 10px 32px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  html.web .rail > .ri:nth-child(2) { margin-left: auto; }
  html.web .rail > .ri:last-child { margin-right: auto; }
  html.web .ri { flex: none; justify-content: flex-start; width: 118px; padding: 12px 6px 10px; font-size: 14px; animation-name: railInX; }
  html.web .ri img { width: 62px; height: 62px; }
  html.web .ri .ri-logo { display: grid; place-items: center; width: 62px; height: 62px; }
  html.web .ri .al { width: 26px; height: 26px; }
  html.web .ri:hover { color: var(--text); }
  html.web .rail-ind { left: 0; right: auto; top: 10px; width: var(--iw, 104px); height: var(--ih, 96px); transform: translateX(var(--ix, 0)); transition: transform .55s cubic-bezier(.34, 1.45, .5, 1), width .3s ease, opacity .2s; }
  html.web .rail-ind::before { left: 30%; right: 30%; top: auto; bottom: -12px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  html.web .dh .socials { margin-top: 0; }
  html.web .pane .dh h2 { margin-top: 84px; }
}
@keyframes railInX { from { opacity: 0; transform: translateY(-14px) scale(.9); } }@media (min-width: 1000px) {
  html.web .dh .socials { grid-template-columns: repeat(auto-fit, 250px); justify-content: center; gap: 34px 48px; }
  html.web .ri { flex: 0 1 118px; min-width: 96px; }
}
@media (min-width: 1000px) and (max-width: 1199px) { html.web .rail { padding-left: 16px; padding-right: 16px; } }
/* компьютер: всё мельче на 20% и уже по краям на 20% (ширина колонки 1280 → 1024).
   zoom уменьшает и высоту окна в CSS-пикселях — высоту колонки каталога делим обратно на 0.8 */
@media (min-width: 1000px) {
  html.web { zoom: var(--z, .8); }
  html.web .shell { height: calc((var(--tg-viewport-stable-height, 100dvh) / var(--z, .8)) - var(--bar-h) - var(--tg-top) - 2px); }
  html.web .bar { max-width: 1088px; }
  html.web .pane { padding-left: max(32px, calc((100% - 1024px) / 2)); padding-right: max(32px, calc((100% - 1024px) / 2)); }
  html.web body > .pbar { right: max(32px, calc((100vw / var(--z, .8) - 1024px) / 2)); }
  html.web .sheet { max-height: calc(88vh / var(--z, .8)); }
}
/* как на appletrade.ru: колонка ≈ 80% экрана (1150 px на 1440), шапка по краям колонки. При zoom .8 это 1440 CSS-пикселей */
@media (min-width: 1000px) {
  html.web .bar { max-width: 1440px; padding: 0; width: calc(100% - 64px); }
  html.web .pane { padding-left: max(32px, calc((100% - 1440px) / 2)); padding-right: max(32px, calc((100% - 1440px) / 2)); }
  html.web body > .pbar { right: max(32px, calc((100vw / var(--z, .8) - 1440px) / 2)); }
}
/* компьютер: карточки помельче (6 в ряд на широком экране), слайдер разделов — на всю ширину колонки */
@media (min-width: 1000px) {
  html.web .pane .models, html.web .pane .sections { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  html.web .pane .model { padding: 14px 12px 18px; border-radius: 22px; }
  html.web .pane .model b { font-size: 16px; margin-top: 6px; }
  html.web .pane .model span { font-size: 14px; }
  html.web .rail { padding-left: max(32px, calc((100% - 1440px) / 2)); padding-right: max(32px, calc((100% - 1440px) / 2)); gap: 8px; }
  html.web .rail > .ri:nth-child(2), html.web .rail > .ri:last-child { margin: 0; }
  html.web .ri { flex: 1 1 0; width: auto; min-width: 96px; }
}
@media (min-width: 1000px) { html.web .pane .pt-sub.pt-first { margin-top: 4px; } }

/* компьютер, страница товара как на appletrade.ru: фото и выбор варианта — на одной серой плашке,
   фото целиком без своей подложки, точки под фото, стрелки — простые шевроны по бокам */
@media (min-width: 1000px) {
  html.web .pane.prod { isolation: isolate; column-gap: 64px; }
  html.web .pane.prod > .gallery, html.web .pane.prod > .pbody { grid-row: 2; }
  html.web .pane.prod::before { content: ''; grid-row: 2; grid-column: 1 / -1; z-index: -1; margin: -36px -40px; border-radius: 24px; background: #f5f5f7; }
  html.web .pane.prod { padding-top: 22px; }
  html.web .pane.prod > .prow { margin-bottom: 50px; }
  html.web .pane.prod > .gallery.wide { top: 36px; margin: 0; border-radius: 0; background: transparent; overflow: visible; padding-bottom: 28px; }
  html.web .gallery.wide .slides > div { aspect-ratio: 1 / .8; }
  html.web .gallery.wide .slides img { left: 10%; top: 0; width: 80%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: contain; }
  html.web .pane.prod .gallery .dots { top: auto; bottom: 0; }
  html.web .pane.prod .gallery .dots i { width: 8px; height: 8px; }
  html.web .pane.prod .g-arr { opacity: 1; width: 40px; height: 40px; margin-top: -34px; background: transparent; box-shadow: none; }
  html.web .pane.prod .g-arr.l { left: -8px; }
  html.web .pane.prod .g-arr.r { right: -8px; }
  html.web .pane.prod .g-arr::before { width: 14px; height: 14px; border-width: 2.5px 2.5px 0 0; }
  html.web .pane.prod .g-arr:hover { background: rgba(0, 0, 0, .05); }
  html.web .pane.prod > .pbody { padding-bottom: 0; }
}
@media (min-width: 1000px) { html.web .pane.prod > .pbody { background: transparent; } html.web .pane.prod .pdesc { background: #fff; } }

/* правка по сравнению с appletrade: плашка ровно по краям колонки (как шапка), фото заметно меньше и целиком в экране,
   колонки фото и описания пополам */
@media (min-width: 1000px) {
  html.web .pane.prod { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  html.web .pane.prod::before { margin: 0; border-radius: 22px; }
  html.web .pane.prod > .prow { margin-bottom: 18px; }
  html.web .pane.prod > .gallery.wide { top: 0; padding: 40px 0 34px 40px; }
  html.web .pane.prod > .pbody { padding: 44px 44px 40px 0; }
  html.web .gallery.wide .slides > div { aspect-ratio: auto; height: min(calc(54vh / var(--z, .8)), 560px); }
  html.web .gallery.wide .slides img { left: 0; width: 100%; height: 100%; padding: 4% 12%; box-sizing: border-box; }
  html.web .pane.prod .gallery .dots { bottom: 6px; }
  html.web .pane.prod .g-arr.l { left: 40px; }
  html.web .pane.prod .g-arr.r { right: 0; }
}
@media (min-width: 1000px) { html.web .gallery.wide .slides img { padding: 0 6%; } }

/* компьютер: значок eSIM на 15% меньше */
@media (min-width: 1000px) {
  html.web .esim-btn .esim-ico { height: .83em; }
}
/* компьютер, карточка товара: вся правая колонка (название, цвета, память, Трейд Ин/iPack, цена) уже — 440 px,
   фото забирает освободившееся место. В плашке цены главная — кнопка «В корзину»: она занимает всё место справа от цены,
   кэшбэк — короткая подпись под ценой, а не полоса во всю ширину */
@media (min-width: 1000px) {
  html.web .pane.prod { grid-template-columns: minmax(0, 1fr) 484px; }
  html.web .pane.prod .pbody h1 { font-size: 28px; }
  html.web #pbody > .pbar .pbrow { gap: 14px !important; }
  html.web #pbody > .pbar .pbp { flex: 0 0 auto !important; align-items: flex-start !important; justify-content: center !important; }
  html.web #pbody > .pbar .pbn { justify-content: flex-start !important; }
  html.web #pbody > .pbar .pcb2 { width: auto !important; align-self: flex-start !important; padding-left: 12px !important; padding-right: 12px !important; }
  html.web #pbody > .pbar #buy.pbuy, html.web #pbody > .pbar .pqty { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; font-size: 17px !important; }
  html.web #pbody > .pbar #buy.pbuy:hover { opacity: .88; }
}
/* компьютер: товар целиком в одном экране, без прокрутки (как на appletrade.ru) — даже на ноутбуке 1536×710.
   Шапка и слайдер разделов ниже, правая колонка плотнее; блок товара по ширине фото + колонки, без серой пустоты вокруг фото */
@media (min-width: 1000px) {
  html.web { --bar-h: 64px; }
  html.web .rail { padding-top: 6px; padding-bottom: 8px; }
  html.web .ri { padding: 8px 6px 7px; gap: 3px; font-size: 13px; }
  html.web .ri img, html.web .ri .ri-logo { width: 46px; height: 46px; }
  html.web .ri .al { width: 22px; height: 22px; }
  html.web .rail-ind { top: 6px; }
  html.web .rail-ind::before { bottom: -8px; }
  html.web .pane.prod { padding: 12px max(32px, calc((100% - 1200px) / 2)) 24px !important; }
  html.web .pane.prod > .prow { margin-bottom: 8px; }
  html.web .pane.prod > .pbody { padding: 28px 32px 24px 0; }
  html.web .pane.prod .pbody h1 { margin: 0 0 12px; font-size: 26px; }
  html.web .pane.prod > .gallery.wide { padding: 24px 0 26px 24px; align-self: center; }
  html.web .gallery.wide .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 330px), 560px); }
  html.web #pbody .pduo .stk { min-height: 0; height: 104px; }
  html.web #pbody > .pbar { margin-top: 10px !important; }
  html.web #pbody > .pbar #buy.pbuy, html.web #pbody > .pbar .pqty { height: 60px !important; }
  html.web .pane.prod .pdesc { margin-top: 10px; }
}@media (min-width: 1000px) {
  html.web #pbody .pduo > * { min-height: 104px !important; height: 104px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
  html.web #pbody > .pbar { padding-top: 10px !important; padding-bottom: 10px !important; }
  html.web #pbody > .pbar .pbp { gap: 4px !important; }
  html.web #pbody > .pbar .pcb2 { height: 26px !important; min-height: 0 !important; }
  html.web #pbody > .pbar .pinst { margin-top: 8px !important; }
}
/* компьютер: «С этим iPad покупают» — две компактные строки (фото, название, цена, «+»), а не большие карточки каталога */
@media (min-width: 1000px) {
  html.web #xsell .xs { margin-top: 10px; }
  html.web #xsell .xs-h { margin: 0 0 6px; font-size: 14px; }
  html.web #xsell .xs-two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; padding: 0 !important; }
  html.web #xsell .xs-w { position: relative; }
  html.web #xsell .xs-w .model { flex-direction: row !important; align-items: center; gap: 8px; height: 64px; padding: 6px 40px 6px 6px !important; border-radius: 16px !important; text-align: left; background: #fff; }
  html.web #xsell .xs-w .model:hover { transform: none; box-shadow: none; }
  html.web #xsell .xs-w .model .pic { flex: none; width: 52px; height: 52px; aspect-ratio: 1; }
  html.web #xsell .xs-w .model b { margin: 0 !important; font-size: 12.5px !important; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.web #xsell .xs-w .model span { display: none; }
  html.web #xsell .xs-q { top: 50% !important; right: 8px !important; bottom: auto !important; left: auto !important; transform: translateY(-50%) !important; }
}
@media (min-width: 1000px) { html.web #pbody .opt { margin-bottom: 10px; } html.web .pane.prod { padding-bottom: 16px !important; } }

/* блок товара — по тем же краям, что шапка и слайдер разделов (колонка 1440) */
@media (min-width: 1000px) { html.web .pane.prod { padding-left: max(32px, calc((100% - 1440px) / 2)) !important; padding-right: max(32px, calc((100% - 1440px) / 2)) !important; } }

/* компьютер: полоса моделей iPhone над товаром — в одной строке с «‹ iPhone» и кнопками: карточки «название + фото», текущая обведена */
@media (min-width: 1000px) {
  html.web .pane.prod > .prow:has(> .pmods) { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
  html.web .prow > .pmods { flex: 1; min-width: 0; display: flex; gap: 8px; height: 76px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  html.web .prow > .pmods::-webkit-scrollbar { display: none; }
  html.web .prow > .pback, html.web .prow > .pact { flex: none; }
  html.web .pm { flex: 1 0 104px; display: flex; flex-direction: column; align-items: center; height: 76px; padding-top: 8px; box-sizing: border-box; overflow: hidden; border-radius: 14px; background: #f5f5f7; color: #1d1d1f; text-decoration: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s, background .15s; }
  html.web .pm b { font-size: 13px; font-weight: 600; white-space: nowrap; }
  html.web .pm-pic { flex: 1; width: 100%; margin-top: 4px; overflow: hidden; }
  html.web .pm-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
  html.web .pm:hover { background: #ececf0; }
  html.web .pm.on { box-shadow: inset 0 0 0 2px #1d1d1f; }
}
/* компьютер: карточки полосы моделей на 15% крупнее */
@media (min-width: 1000px) {
  html.web .prow > .pmods { height: 88px; gap: 9px; }
  html.web .pm { flex-basis: 120px; height: 88px; padding-top: 9px; border-radius: 16px; }
  html.web .pm b { font-size: 15px; }
  html.web .pane.prod > .prow:has(> .pmods) { margin-bottom: 10px; }
  html.web .pane.prod:has(> .prow > .pmods) > .pbody { padding-top: 20px; padding-bottom: 14px; }
  html.web .pane.prod:has(> .prow > .pmods) .gallery.wide .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 348px), 560px); }
}
/* компьютер: правая колонка товара (цена, корзина, опции) шире (+15%, потом ещё +10%) — меньше серых полей вокруг фото */
@media (min-width: 1000px) { html.web .pane.prod { grid-template-columns: minmax(0, 1fr) 612px; } }/* компьютер: AirTag (видео вместо фото) по высоте как остальные товары, iPad с «С этим iPad покупают» — чуть плотнее */
@media (min-width: 1000px) {
  html.web .pane.prod > .gallery.vid { align-self: center; background: transparent; }
  html.web .pane.prod > .gallery.vid .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 330px), 560px); aspect-ratio: auto; }
  html.web .pane.prod > .gallery.vid .slides > div > img, html.web .pane.prod > .gallery.vid video { object-fit: contain; }
  html.web #xsell .xs { margin-top: 6px; }
  html.web #xsell .xs-h { margin-bottom: 4px; }
}
/* компьютер: окно iPack PRO альбомное, без прокрутки — слева синяя карточка с четырьмя плитками, справа объяснение, сравнение цен и кнопки */
@media (min-width: 1000px) {
  html.web .sheet.ipk-sheet { max-width: none; width: min(980px, calc(100vw / var(--z, .8) - 96px)); display: grid; grid-template-columns: 430px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 40px; padding: 28px 36px 28px 28px; overflow: visible; }
  html.web .ipk-sheet > .os-grab { display: none; }
  html.web .ipk-sheet > .ipk-card { grid-column: 1; grid-row: 1 / -1; margin: 0; }
  html.web .ipk-sheet > h3, html.web .ipk-sheet > .sub, html.web .ipk-sheet > .ipk-cmp, html.web .ipk-sheet > .ipk-foot { grid-column: 2; }
  html.web .ipk-sheet > h3 { grid-row: 2; margin: 0 0 10px; font-size: 26px; letter-spacing: -.4px; text-align: left; }
  html.web .ipk-sheet > .sub { grid-row: 3; margin: 0 0 18px; text-align: left; font-size: 15px; line-height: 1.45; }
  html.web .ipk-sheet > .ipk-cmp { grid-row: 4; margin: 0 0 18px; }
  html.web .ipk-sheet > .ipk-foot { grid-row: 5; align-self: end; position: static; box-shadow: none; display: flex; gap: 10px; padding: 0; }
  html.web .ipk-sheet > .ipk-foot .buy { flex: 1; margin: 0; }
  html.web .ipk-sheet > .ipk-foot .buy:hover { opacity: .88; }
}
/* компьютер: Трейд Ин альбомный, как окно iPack — слева тёмная панель с выгодой, шагами и новым телефоном, справа опрос крупнее; высота окна не прыгает между шагами */
@media (min-width: 1000px) {
  html.web .sheet.ti.ti-desk { max-width: none; width: min(1000px, calc(100vw / var(--z, .8) - 96px)); height: min(660px, calc(88vh / var(--z, .8))); min-height: 0; display: grid; grid-template-columns: 330px minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr); column-gap: 36px; padding: 24px 32px 24px 24px; overflow: hidden; }
  html.web .ti-desk > .os-grab { display: none; }
  html.web .ti-desk > .ti-top, html.web .ti-desk > .ti-prog, html.web .ti-desk > .ti-cap, html.web .ti-desk > .ti-stage { grid-column: 2; }
  html.web .ti-desk > .ti-stage { min-height: 0; overflow-y: auto; overflow-x: hidden; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; }
  html.web .ti-desk .ti-top { height: 40px; }
  html.web .ti-desk .ti-top b { font-size: 18px; }
  html.web .ti-desk .ti-cap { margin-top: -6px; font-size: 14px; }
  html.web .ti-side { grid-column: 1; grid-row: 1 / -1; position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 24px; overflow: hidden; color: #fff; background: radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%), linear-gradient(150deg, #000 0%, #1c1c1e 62%, #3a3a3c 100%); }
  html.web .ti-side::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04); pointer-events: none; }
  html.web .ti-side .tix-ic { width: 52px; height: 52px; border-radius: 16px; }
  html.web .tis-h { margin-top: 20px; font-size: 27px; line-height: 1.12; letter-spacing: -.5px; }
  html.web .tis-s { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .65); }
  html.web .tis-steps { display: grid; gap: 4px; margin: 28px 0 0; padding: 0; list-style: none; }
  html.web .tis-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: rgba(255, 255, 255, .5); transition: background .2s, color .2s; }
  html.web .tis-steps li i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
  html.web .tis-steps li span { min-width: 0; }
  html.web .tis-steps li b { display: block; font-size: 15px; }
  html.web .tis-steps li small { display: block; margin-top: 1px; font-size: 12.5px; color: inherit; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.web .tis-steps li.on { background: rgba(255, 255, 255, .1); color: #fff; }
  html.web .tis-steps li.on i { background: #fff; color: #111; box-shadow: none; }
  html.web .tis-steps li.done { color: rgba(255, 255, 255, .85); }
  html.web .tis-steps li.done i { background: rgba(255, 255, 255, .22); box-shadow: none; }
  html.web .tis-new { position: relative; z-index: 1; margin-top: auto; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
  html.web .tis-new small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
  html.web .tis-new span { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; }
  html.web .tis-new b { display: block; margin-top: 2px; font-size: 20px; }
  html.web .ti-desk .tix-hero { display: none; }
  html.web .ti-desk .tix-lbl { margin-top: 18px; font-size: 15px; }
  html.web .ti-desk .tix-lbl:first-of-type { margin-top: 4px; }
  html.web .ti-desk .tix-gens { gap: 10px; }
  html.web .ti-desk .tix-gen { height: 78px; }
  html.web .ti-desk .tix-gen small { font-size: 12px; }
  html.web .ti-desk .tix-gen b { font-size: 26px; }
  html.web .ti-desk .tix-gen:hover:not(.on), html.web .ti-desk .ti-opt:hover:not(.on) { background: #e9e9ee; }
  html.web .ti-desk .tix-m, html.web .ti-desk .tix-p { font-size: 15px; }
  html.web .ti-desk .tix-foot .buy, html.web .ti-desk .ti-stage .buy { height: 54px; font-size: 16px; }
  html.web .ti-desk .ti-step > h3 { margin-top: 6px; font-size: 26px; letter-spacing: -.4px; }
  html.web .ti-desk .ti-step > .sub { font-size: 15px; }
  html.web .ti-desk .ti-opts { grid-template-columns: 1fr 1fr; gap: 10px; }
  html.web .ti-desk .ti-opt { min-height: 72px; padding: 12px 16px; }
  html.web .ti-desk .ti-opt b { font-size: 16px; }
  html.web .ti-desk .ti-opt small { font-size: 13px; }
  html.web .ti-desk .ti-res { padding-top: 24px; }
  html.web .ti-desk .ti-res > small { font-size: 15px; }
  html.web .ti-desk .ti-sum { font-size: 60px; }
  html.web .ti-desk .ti-res .sub { font-size: 15px; }
  html.web .ti-desk .ti-step > .buy { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
}@media (min-width: 1000px) {
  html.web .ti-desk .tix-models { flex-direction: row; gap: 10px; background: none; border-radius: 0; overflow: visible; }
  html.web .ti-desk .tix-m { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 1.5px solid transparent; border-radius: 14px; background: #f2f2f5; justify-content: center; box-shadow: none; }
  html.web .ti-desk .tix-m::before, html.web .ti-desk .tix-m::after { display: none; }
  html.web .ti-desk .tix-m i { display: none; }
  html.web .ti-desk .tix-m.on { background: #fff; border-color: #111; color: #111; font-weight: 600; }
  html.web .ti-desk .tix-m:hover:not(.on) { background: #e9e9ee; }
  html.web .ti-desk .tix-pills .tix-p { height: 46px; }
  html.web .ti-desk .tix-lbl { margin-top: 14px; }
  html.web .ti-desk .tix-gen { height: 70px; }
}/* компьютер, окно iPack: текст начинается сверху, на одной линии с карточкой; кнопки на 10% выше */
@media (min-width: 1000px) {
  html.web .sheet.ipk-sheet { grid-template-rows: 0 auto auto auto 1fr; }
  html.web .ipk-sheet > h3 { margin-top: 18px; }
  html.web .ipk-sheet > .ipk-foot .buy { height: 53px; }
}
/* компьютер: окно eSIM альбомное, без прокрутки — слева синяя карточка и «Всё настроим за вас», справа четыре плюса и сравнение, внизу кнопка */
@media (min-width: 1000px) {
  html.web .sheet.es-sheet { max-width: none; width: min(1040px, calc(100vw / var(--z, .8) - 96px)); display: grid; grid-template-columns: 360px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 20px; row-gap: 14px; padding: 24px; overflow: visible; }
  html.web .es-sheet > .os-grab { display: none; }
  html.web .es-sheet > .es-hero { grid-column: 1; grid-row: 1 / 3; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; padding: 28px; }
  html.web .es-sheet > .es-hero b { font-size: 28px; line-height: 1.15; }
  html.web .es-sheet > .es-hero small { font-size: 15px; }
  html.web .es-sheet > .es-help { grid-column: 1; grid-row: 3; margin: 0; }
  html.web .es-sheet > .es-grid { grid-column: 2; grid-row: 1; margin: 0; }
  html.web .es-sheet > .es-cmp { grid-column: 2; grid-row: 2; margin: 0; }
  html.web .es-sheet > .buy { grid-column: 2; grid-row: 3; align-self: end; margin: 0; height: 54px; font-size: 16px; }
  html.web .es-sheet > .buy:hover { opacity: .88; }
}
/* компьютер: переход между моделями из полосы — на четверть спокойнее: полоса и панель не гаснут, фото и колонка лишь мягко сменяются */
@media (min-width: 1000px) {
  html.web .pane.prod.pp.leaving { opacity: 1 !important; transform: none !important; }
  html.web .pane.prod.pp > .gallery, html.web .pane.prod.pp > .pbody { transition: opacity .1s ease-in; }
  html.web .pane.prod.pp.leaving > .gallery, html.web .pane.prod.pp.leaving > .pbody { opacity: 0; }
  html.web .pane.entering.prod.pp .pback { animation: none; }
  html.web .pane.entering.prod.pp .gallery, html.web .pane.entering.prod.pp .pbody { animation: prodInSoft .42s backwards cubic-bezier(.2, .8, .2, 1); }
  html.web .pane.entering.prod.pp .pbody { animation-delay: .06s; }
}
@keyframes prodInSoft { from { opacity: 0; transform: translateY(13px); } }
/* ===== компьютер: личный кабинет и его окна не узкой колонкой, а во всю ширину ===== */
@media (min-width: 1000px) {
  /* кабинет: слева карточка с аватаркой и баллами, справа разделы плитками в две колонки */

  /* окна разделов: шире, высота постоянная, содержимое прокручивается внутри */
  html.web .sheet.inf-desk, html.web .sheet.ord-sheet, html.web .sheet.pt2 { max-width: none; width: min(1080px, calc(100vw / var(--z, .8) - 96px)); height: min(720px, calc(88vh / var(--z, .8))); max-height: none; overflow: hidden; display: grid; padding: 28px; }

  /* гарантия, доставка, правила, политика: слева карточка раздела, справа текст в две колонки */
  html.web .inf-desk { grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 16px; }
  html.web .inf-desk > .os-grab { display: none; }
  html.web .inf-desk > .wd-hero { grid-column: 1; grid-row: 1 / 3; margin: 0; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 18px; padding: 28px; border-radius: 24px; }
  html.web .inf-desk > .wd-hero .wd-ht b { font-size: 30px; line-height: 1.1; }
  html.web .inf-desk > .wd-hero .wd-ht small { font-size: 15px; margin-top: 6px; }
  html.web .inf-desk > .wd-cols { grid-column: 2; grid-row: 1; min-height: 0; overflow-y: auto; columns: 2; column-gap: 16px; padding-right: 4px; scrollbar-width: thin; }
  html.web .inf-desk .wd-s { break-inside: avoid; margin: 0 0 16px; display: inline-block; width: 100%; box-sizing: border-box; }
  html.web .inf-desk .wd-s h5 { font-size: 17px; }
  html.web .inf-desk .wd-s p, html.web .inf-desk .wd-s li { font-size: 15px; line-height: 1.5; }
  html.web .inf-desk > .buy { grid-column: 2; grid-row: 2; margin: 0; height: 54px; font-size: 16px; }

  /* мои заказы и избранное: заголовок сверху, карточки в две колонки, кнопка снизу */
  html.web .ord-sheet { grid-template-rows: auto auto minmax(0, 1fr) auto; }
  html.web .ord-sheet > .os-grab { display: none; }
  html.web .ord-sheet > h3 { margin: 0; font-size: 28px; }
  html.web .ord-sheet > .sub { margin: 4px 0 18px; font-size: 15px; }
  html.web .ord-sheet > div:not(:empty) { min-height: 0; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; align-items: start; padding: 2px 4px 2px 2px; scrollbar-width: thin; }
  html.web .ord-sheet > div > * { margin: 0 !important; }
  html.web .ord-sheet > .buy { margin: 16px 0 0; height: 54px; font-size: 16px; }

  /* магазин баллов: слева баланс, вкладки и кнопка, справа подарки плиткой в две колонки (или история) */
  html.web .pt2 { grid-template-columns: 340px minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; column-gap: 28px; }
  html.web .pt2 > .pt-x { z-index: 2; }
  html.web .pt2 > .pt-hero { grid-column: 1; grid-row: 1; margin: 0; padding: 32px 24px; border-radius: 24px; background: #f5f5f7; text-align: left; }
  html.web .pt2 > .pt-hero .pth-n { justify-content: flex-start; }
  html.web .pt2 > .pt-hero .pth-n b { font-size: 44px; }
  html.web .pt2 > .pt-hero small { display: block; margin-top: 8px; font-size: 15px; }
  html.web .pt2 > .pt-tabs { grid-column: 1; grid-row: 2; margin: 14px 0 0; }
  html.web .pt2 > .buy { grid-column: 1; grid-row: 4; margin: 0; height: 54px; font-size: 16px; }
  html.web .pt2 > .shop-wrap, html.web .pt2 > #pointsBox { grid-column: 2; grid-row: 1 / -1; min-height: 0; overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
  html.web .pt2 .shop { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
  html.web .pt2 .shop > * { margin: 0 !important; }
  html.web .pt2 .reward:hover { filter: brightness(.98); }
}@media (min-width: 1000px) {
}@media (min-width: 1000px) {
  html.web .pt2 { position: relative; }
  html.web .pt2 > .pt-x { position: absolute; top: 18px; right: 18px; }
  html.web .pt2 .shop { display: grid !important; padding-right: 36px; }
  html.web .pt2 > .pt-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  html.web .pt2 > .pt-hero small { margin: 0; max-width: none; text-align: left; position: static; }
}@media (min-width: 1000px) {
  html.web .ord-sheet > div:not(:empty) { display: grid !important; flex-direction: initial; }
  html.web .ord-sheet > div > * { width: auto !important; max-width: none !important; align-self: start; }
}@media (min-width: 1000px) {
  html.web .inf-desk > .wd-cols { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; align-items: start; overflow-x: hidden; }
  html.web .inf-desk .wd-s { display: block; margin: 0; }
  html.web .inf-desk > .wd-hero .wd-ht b { display: block; }
  html.web .inf-desk > .wd-hero .wd-ht b::first-letter { text-transform: uppercase; }
}@media (min-width: 1000px) {
  html.web .inf-desk > .wd-hero .wd-ht { min-width: 0; max-width: 100%; }
  html.web .inf-desk > .wd-hero .wd-ht b { font-size: 26px; hyphens: auto; overflow-wrap: break-word; }
}@media (min-width: 1000px) { html.web .inf-desk > .wd-hero .wd-ht b { font-size: 23px; hyphens: manual; overflow-wrap: normal; } }@media (min-width: 1000px) {
  html.web .pane.prod.pp > .gallery, html.web .pane.prod.pp > .pbody { transition: none; }
  html.web .pane.entering.prod.pp .gallery, html.web .pane.entering.prod.pp .pbody { animation: prodFadeSoft .3s backwards ease-out; }
  html.web .pane.entering.prod.pp .pbody { animation-delay: 0s; }
}
@keyframes prodFadeSoft { from { opacity: .55; } }
/* ===== компьютер, переделка: никаких блоков разной высоты рядом ===== */
@media (min-width: 1000px) {
  /* кабинет: справа ровная сетка 4×3 одинаковых плиток (карта клиента — в две), слева карточка профиля той же высоты */

  /* гарантия, доставка, правила, политика: название наверху цветной карточки, справа текст одной колонкой на белом листе */
  html.web .inf-desk > .wd-hero { justify-content: flex-start; }
  html.web .inf-desk > .wd-cols { display: block; padding: 4px 28px 8px; border-radius: 22px; background: #fff; }
  html.web .inf-desk .wd-s { margin: 0; padding: 20px 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid #ececf0; }
  html.web .inf-desk .wd-s:last-child { border-bottom: 0; }
  html.web .inf-desk .wd-s h5 { margin: 0 0 8px; font-size: 18px; }

  /* мои заказы и избранное: один заказ на строку */
  html.web .sheet.ord-sheet { width: min(820px, calc(100vw / var(--z, .8) - 96px)); }
  html.web .ord-sheet > div:not(:empty) { grid-template-columns: 1fr !important; }
}
/* компьютер: личный кабинет. Сверху профиль (аватар, имя, баллы) и рядом большая «Карта клиента».
   Ниже две колонки по две группы одинаковой высоты: слева «Мои заказы, Избранное» и «Друг, Отзыв, Выкуп»,
   справа «Правила, Политика» и «Гарантия, Доставка, Контакты» */
@media (min-width: 1000px) {
  html.web main:has(> .me) { max-width: 1152px !important; width: calc(100% - 64px) !important; margin: 0 auto; padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "me card" "g2 g5" "g3 g4" "foot foot"; gap: 16px 20px; align-items: stretch; }
  html.web main:has(> .me) > .tg-list { display: contents; }
  html.web main:has(> .me) > .tg-list > .tg-grp { margin: 0; align-self: start; }
  html.web main:has(> .me) > .me { grid-area: me; margin: 0; padding: 28px 32px; border-radius: 26px; background: #f5f5f7; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 24px; align-content: center; justify-items: start; text-align: left; position: relative; }
  html.web main:has(> .me) > .me > .orbit { grid-row: 1 / 4; grid-column: 1; margin: 0; align-self: center; }
  html.web main:has(> .me) > .me > h1 { grid-column: 2; margin: 0; font-size: 30px; text-align: left; }
  html.web main:has(> .me) > .me > .sub { grid-column: 2; text-align: left; margin: 2px 0 0 !important; }
  html.web main:has(> .me) > .me > .points { grid-column: 2; margin: 12px 0 0; }
  html.web main:has(> .me) > .me > .me-panel { position: absolute; top: 18px; right: 18px; }
  html.web main:has(> .me) .tg-grp:has(#idCard) { grid-area: card; align-self: stretch; display: flex; }
  html.web main:has(> .me) .tg-grp:has(#ordersBtn) { grid-area: g2; }
  html.web main:has(> .me) .tg-grp:has(#refRow) { grid-area: g3; }
  html.web main:has(> .me) .tg-grp:has(#ctRow) { grid-area: g4; }
  html.web main:has(> .me) .tg-grp:has([data-info="rules"]) { grid-area: g5; }
  html.web main:has(> .me) .tg-row { min-height: 58px; font-size: 16px; }
  html.web main:has(> .me) .tg-row:hover { background: #f7f7f9; }
  /* «Карта клиента» — большой блок: иконка, название и номер карты крупно */
  html.web main:has(> .me) #idCard { flex: 1; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: end; column-gap: 16px; padding: 28px 32px; border-radius: 26px; background: linear-gradient(140deg, #0a84ff 0%, #0057d9 100%); color: #fff; }
  html.web main:has(> .me) #idCard::before, html.web main:has(> .me) #idCard::after { display: none; }
  html.web main:has(> .me) #idCard:hover { filter: brightness(1.05); background: linear-gradient(140deg, #0a84ff 0%, #0057d9 100%); }
  html.web main:has(> .me) #idCard .tg-ico { grid-row: 1; grid-column: 1; align-self: start; width: 52px; height: 52px; border-radius: 15px; background: rgba(255, 255, 255, .2) !important; }
  html.web main:has(> .me) #idCard .tg-ico svg { width: 28px; height: 28px; }
  html.web main:has(> .me) #idCard .tg-t { grid-row: 2; grid-column: 1 / 3; font-size: 15px; color: rgba(255, 255, 255, .8); }
  html.web main:has(> .me) #idCard .tg-v { grid-row: 1; grid-column: 2 / 4; align-self: end; justify-self: start; margin: 0; font-size: 30px; font-weight: 700; letter-spacing: 1px; color: #fff; }
  html.web main:has(> .me) #idCard .chev { grid-row: 2; grid-column: 3; border-color: #fff; }
  html.web main:has(> .me) > .credit { grid-area: foot; justify-self: center; margin: 12px 0 0 !important; }
  html.web main:has(> .me) > .wl-out { grid-column: 1 / -1; justify-self: center; margin: 0 !important; }
}@media (min-width: 1000px) {
  /* подарки летают вокруг аватара: место под них, чтобы не наезжали на имя и не вылезали за карточку */
  html.web main:has(> .me) > .me { padding: 30px 32px 26px 24px; column-gap: 8px; }
  html.web main:has(> .me) > .me > .orbit { margin: 38px 72px 14px 72px; }
  /* карта клиента: всё по левому краю — иконка сверху, подпись и номер внизу, стрелка справа сверху */
  html.web main:has(> .me) #idCard { grid-template-columns: 1fr auto; grid-template-rows: 1fr auto auto; align-items: start; row-gap: 4px; }
  html.web main:has(> .me) #idCard .tg-ico { grid-row: 1; grid-column: 1; justify-self: start; }
  html.web main:has(> .me) #idCard .chev { grid-row: 1; grid-column: 2; align-self: start; margin-top: 8px; }
  html.web main:has(> .me) #idCard .tg-t { grid-row: 2; grid-column: 1 / -1; justify-self: start; margin: 0; }
  html.web main:has(> .me) #idCard .tg-v { grid-row: 3; grid-column: 1 / -1; justify-self: start; align-self: start; margin: 0; line-height: 1.1; }
}
/* компьютер: гарантия, доставка, правила, политика — без высокой пустой колонки: цветная плашка с названием сверху во всю ширину, под ней текст одной колонкой, внизу кнопка */
@media (min-width: 1000px) {
  html.web .sheet.inf-desk { width: min(860px, calc(100vw / var(--z, .8) - 96px)); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 16px; }
  html.web .inf-desk > .wd-hero { grid-column: 1; grid-row: 1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding: 22px 26px; }
  html.web .inf-desk > .wd-hero .wd-ht b { font-size: 26px; }
  html.web .inf-desk > .wd-cols { grid-column: 1; grid-row: 2; }
  html.web .inf-desk > .buy { grid-column: 1; grid-row: 3; }
}
/* компьютер: инфо-окна целиком без прокрутки — текст одним листом в две колонки (как газета), высота окна по содержимому */
@media (min-width: 1000px) {
  html.web .sheet.inf-desk { width: min(1120px, calc(100vw / var(--z, .8) - 96px)); height: auto; max-height: calc(100vh / var(--z, .8) - 48px); }
  html.web .inf-desk > .wd-cols { overflow: visible; display: block; columns: 2; column-gap: 44px; column-rule: 1px solid #ececf0; padding: 22px 30px; }
  html.web .inf-desk .wd-s { display: block; break-inside: avoid; padding: 0 0 18px; border-bottom: 0; }
  html.web .inf-desk .wd-s h5 { font-size: 17px; margin-bottom: 6px; }
  html.web .inf-desk .wd-s p, html.web .inf-desk .wd-s li { font-size: 14.5px; line-height: 1.45; }
}@media (min-width: 1000px) { html.web .inf-desk > .buy { width: 280px; justify-self: end; } }@media (min-width: 1000px) {
  html.web .sheet.pt2 { width: min(1240px, calc(100vw / var(--z, .8) - 96px)); grid-template-columns: 300px minmax(0, 1fr); }
  html.web .pt2 .shop { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-right: 0; }
  html.web .pt2 > .shop-wrap { padding-top: 40px; }
}@media (min-width: 1000px) {
  html.web .sheet.pt2 { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); column-gap: 24px; row-gap: 20px; height: auto; max-height: calc(100vh / var(--z, .8) - 48px); }
  html.web .pt2 > .pt-hero { grid-column: 1; grid-row: 1; flex-direction: row; align-items: center; gap: 16px; padding: 14px 22px; border-radius: 20px; }
  html.web .pt2 > .pt-hero .pth-n b { font-size: 34px; }
  html.web .pt2 > .pt-hero small { max-width: 220px; font-size: 13.5px; line-height: 1.3; }
  html.web .pt2 > .pt-tabs { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; width: 340px; margin: 0; }
  html.web .pt2 > .pt-x { position: static; grid-column: 3; grid-row: 1; align-self: center; }
  html.web .pt2 > .shop-wrap, html.web .pt2 > #pointsBox { grid-column: 1 / -1; grid-row: 2; padding: 0; overflow: visible; }
  html.web .pt2 > #pointsBox { max-width: 760px; width: 100%; justify-self: center; overflow-y: auto; max-height: 560px; }
  html.web .pt2 > .buy { display: none; }
  html.web .pt2 .shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}@media (min-width: 1000px) { html.web .pt2 #shopBox .rw2-m small, html.web .pt2 #shopBox .rw2-m span:not(.rw2-p) { white-space: normal; overflow: visible; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }@media (min-width: 1000px) { html.web .sheet.pt2 { min-height: min(640px, calc(100vh / var(--z, .8) - 48px)); align-content: start; } }@media (min-width: 1000px) { html.web .sheet.pt2 { min-height: min(668px, calc(100vh / var(--z, .8) - 48px)); } }
/* компьютер: магазин баллов в духе Apple Store — сверху баланс, переключатель и крестик; ниже ровная сетка одинаковых карточек:
   картинка по центру, название, короткое описание, цена; тонкая полоса «сколько накоплено» внизу */
@media (min-width: 1000px) {
  html.web .sheet.pt2 { width: min(1240px, calc(100vw / var(--z, .8) - 96px)); padding: 30px 34px 34px; row-gap: 26px; }
  html.web .pt2 > .pt-hero { padding: 0; background: none; border-radius: 0; gap: 18px; }
  html.web .pt2 > .pt-hero .pth-n img { width: 34px; height: auto; }
  html.web .pt2 > .pt-hero .pth-n b { font-size: 40px; font-weight: 700; letter-spacing: -1px; }
  html.web .pt2 > .pt-hero small { max-width: 200px; color: #86868b; }
  html.web .pt2 .shop { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  html.web .pt2 #shopBox > .reward.rw2 { display: grid; grid-template-rows: 96px auto auto 1fr auto; justify-items: center; align-items: start; gap: 0; height: 100%; min-height: 0; padding: 18px 16px 16px; border: 0; border-radius: 20px; background: #f5f5f7; box-shadow: none; text-align: center; transition: background .15s, transform .15s; }
  html.web .pt2 #shopBox > .reward.rw2:hover { background: #ececf0; filter: none; transform: translateY(-1px); }
  html.web .pt2 #shopBox .rw-pic { width: 84px; height: 84px; margin: 0 0 10px; border-radius: 0; background: none; box-shadow: none; }
  html.web .pt2 #shopBox .rw-pic img { width: 100%; height: 100%; object-fit: contain; }
  html.web .pt2 #shopBox .rw2-m { display: contents; }
  html.web .pt2 #shopBox .rw2-m > b { font-size: 15px; font-weight: 600; line-height: 1.25; color: #1d1d1f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.web .pt2 #shopBox .rw2-m > small { margin-top: 4px; font-size: 12.5px; line-height: 1.3; color: #86868b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
  html.web .pt2 #shopBox .rw2-p { grid-row: 4; align-self: end; display: flex; align-items: baseline; justify-content: center; gap: 5px; margin: 12px 0 0; padding: 0; background: none; }
  html.web .pt2 #shopBox .rw2-p b { font-size: 17px; font-weight: 700; color: #1d1d1f; }
  html.web .pt2 #shopBox .rw2-p small { font-size: 13px; color: #86868b; }
  html.web .pt2 #shopBox .rw2-g { grid-row: 5; width: 100%; margin: 10px 0 0; display: block; }
  html.web .pt2 #shopBox .rw2-g em { display: none; }
  html.web .pt2 #shopBox .rw2-bar { display: block; width: 100%; height: 4px; border-radius: 2px; background: #e3e3e8; overflow: hidden; }
  html.web .pt2 #shopBox .rw2-bar i { display: block; height: 100%; border-radius: 2px; }
}@media (min-width: 1000px) {
  html.web .pt2 #shopBox > .reward.rw2 { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; grid-auto-flow: row; }
  html.web .pt2 #shopBox > .reward.rw2 > *, html.web .pt2 #shopBox .rw2-m > * { grid-column: 1 !important; position: static !important; width: auto; max-width: 100%; float: none; }
  html.web .pt2 #shopBox .rw-pic { grid-row: 1; justify-self: center; }
  html.web .pt2 #shopBox .rw2-m > b { grid-row: 2; }
  html.web .pt2 #shopBox .rw2-m > small { grid-row: 3; }
  html.web .pt2 #shopBox .rw2-g { width: 100% !important; }
  html.web .pt2 #shopBox .rw2-p { flex-direction: row !important; }
}@media (min-width: 1000px) {
  html.web .pt2 .shop { gap: 14px !important; row-gap: 14px !important; }
  html.web .pt2 #shopBox > .reward.rw2 { grid-template-rows: 78px auto auto 1fr auto; padding: 16px 14px 14px; }
  html.web .pt2 #shopBox .rw-pic { width: 70px; height: 70px; margin-bottom: 8px; }
  html.web .pt2 #shopBox .rw2-p { margin-top: 10px; }
  html.web .sheet.pt2 { padding: 26px 32px 30px; row-gap: 22px; }
}@media (min-width: 1000px) {
  html.web .pt2 .shop { grid-auto-rows: 1fr; }
  html.web .pt2 #shopBox .rw2-m > small { -webkit-line-clamp: 1; }
}@media (min-width: 1000px) { html.web .pt2 > .shop-wrap, html.web .pt2 .shop { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; } }
/* «Поменять цены»: кнопка Excel рядом с поиском */
.qp-sr { display: flex; gap: 8px; align-items: center; }
.qp-sr .pr-q { flex: 1; min-width: 0; margin: 0; }
.qp-xl { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: #1d6f42; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.qp-xl::before { content: ''; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.qp-xl:hover { background: #185c37; }

/* компьютер: «Поменять цены» во всю ширину шапки; каждый товар — одна строка: слева фото и название, справа таблица цен с ячейками одной ширины */
@media (min-width: 1000px) {
  html.web .adm.qp { max-width: 1152px !important; width: calc(100% - 64px) !important; margin: 0 auto !important; padding-top: 20px; }
  html.web .adm.qp > h1 { font-size: 32px; margin: 6px 0 16px; }
  html.web .qp .qp-top { position: static; display: grid; gap: 12px; margin-bottom: 18px; padding: 0; background: none; box-shadow: none; }
  html.web .qp .qp-sr .pr-q { height: 44px; font-size: 15px; }
  html.web .qp .qp-xl { height: 44px; padding: 0 20px; font-size: 15px; }
  html.web .qp .qp-chips { flex-wrap: wrap; overflow: visible; gap: 8px; padding: 0; margin: 0; }
  html.web .qp .qp-chips button { cursor: pointer; }
  html.web .qp #qpList { display: grid; gap: 12px; }
  html.web .qp .qp-it { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; align-items: start; margin: 0; padding: 18px 22px; border-radius: 20px; }
  html.web .qp .qp-h { flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding-top: 4px; }
  html.web .qp .qp-h > b { flex: 1; min-width: 0; font-size: 16px; line-height: 1.25; }
  html.web .qp .qp-h .pn-th { width: 48px; height: 48px; }
  html.web .qp .qp-h .qp-site { margin-left: 60px; }
  html.web .qp .qp-sc { margin: 0; padding: 0; overflow-x: auto; }
  html.web .qp .qp-tb { width: min(100%, calc(150px + var(--n) * 150px)); }
  html.web .qp .qp-in { font-size: 15px; }
  html.web .qp .qp-mass { max-width: 640px; margin: 22px 0 0; }
}@media (min-width: 1000px) {
  html.web main:has(> .adm.qp), html.web main:has(.adm.qp) { max-width: 1152px !important; width: calc(100% - 64px) !important; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; }
  html.web .adm.qp { width: 100% !important; }
}@media (min-width: 1000px) {
  html.web .pane.entering.prod.pp .gallery, html.web .pane.entering.prod.pp .pbody { animation: prodFadeSoft .22s backwards ease-out; }
}
/* компьютер: карточка профиля — текст плотным блоком по центру напротив аватара (без растянутых пустот):
   имя крупно, ник и подпись серым мельче, баллы отдельной плашкой под ними; «Панель» тихой кнопкой в углу */
@media (min-width: 1000px) {
  html.web main:has(> .me) > .me { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto 1fr; row-gap: 0; align-content: stretch; align-items: start; padding: 26px 30px 26px 22px; }
  html.web main:has(> .me) > .me > .orbit { grid-row: 1 / -1; align-self: center; }
  html.web main:has(> .me) > .me > h1 { grid-row: 2; font-size: 32px; font-weight: 700; letter-spacing: -.6px; line-height: 1.1; }
  html.web main:has(> .me) > .me > p.sub:nth-of-type(1) { grid-row: 3; margin: 4px 0 0 !important; font-size: 15px; color: #86868b; }
  html.web main:has(> .me) > .me > p.sub:nth-of-type(2) { grid-row: 4; margin: 2px 0 0 !important; font-size: 15px; color: #6e6e73; font-style: italic; }
  html.web main:has(> .me) > .me > .points { grid-row: 5; margin: 16px 0 0; padding: 9px 16px; font-size: 15px; }
  html.web main:has(> .me) > .me > .points:hover { filter: brightness(.97); }
  html.web main:has(> .me) > .me > .me-panel { top: 16px; right: 16px; padding: 6px 12px; border-radius: 10px; font-size: 13px; background: rgba(0, 0, 0, .05); color: #6e6e73; }
  html.web main:has(> .me) > .me > .me-panel:hover { background: rgba(0, 0, 0, .09); color: #1d1d1f; }
}@media (min-width: 1000px) { html.web main:has(> .me) > .me > .orbit { margin-right: 86px; } }
/* компьютер, eSIM: без пустоты над кнопкой — синяя карточка слева на всю высоту, справа подряд: плюсы, сравнение, «Всё настроим», кнопка */
@media (min-width: 1000px) {
  html.web .sheet.es-sheet { grid-template-rows: auto auto auto auto; }
  html.web .es-sheet > .es-hero { grid-column: 1; grid-row: 1 / -1; }
  html.web .es-sheet > .es-grid { grid-column: 2; grid-row: 1; }
  html.web .es-sheet > .es-cmp { grid-column: 2; grid-row: 2; }
  html.web .es-sheet > .es-help { grid-column: 2; grid-row: 3; margin: 0; }
  html.web .es-sheet > .buy { grid-column: 2; grid-row: 4; align-self: start; }
}@media (min-width: 1000px) { html.web .es-sheet > .buy { margin: 0 !important; } html.web .es-sheet > .es-help { margin: 0 !important; } }
/* компьютер, eSIM: одним потоком без колонок — синяя полоса сверху, четыре плюса в ряд, сравнение, «Всё настроим», кнопка справа */
@media (min-width: 1000px) {
  html.web .sheet.es-sheet { width: min(1000px, calc(100vw / var(--z, .8) - 96px)); grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: none !important; grid-auto-rows: auto; row-gap: 14px; }
  html.web .es-sheet > * { grid-column: 1 !important; grid-row: auto !important; }
  html.web .es-sheet > .es-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 20px; align-items: center; justify-content: stretch; min-height: 0; padding: 22px 28px; }
  html.web .es-sheet > .es-hero .es-chip { grid-row: 1 / 3; margin: 0; }
  html.web .es-sheet > .es-hero b { font-size: 26px; margin: 0; }
  html.web .es-sheet > .es-hero small { margin: 4px 0 0; }
  html.web .es-sheet > .es-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  html.web .es-sheet > .buy { width: 280px; justify-self: end; }
}
/* компьютер, iPack: карточка компактнее, справа текст, сравнение и кнопки одним блоком по центру высоты — без пустоты над кнопками */
@media (min-width: 1000px) {
  html.web .sheet.ipk-sheet { grid-template-columns: 360px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto 1fr !important; width: min(940px, calc(100vw / var(--z, .8) - 96px)); }
  html.web .ipk-sheet > .ipk-card { grid-row: 1 / -1 !important; }
  html.web .ipk-sheet > h3 { grid-row: 2 !important; margin-top: 0 !important; }
  html.web .ipk-sheet > .sub { grid-row: 3 !important; font-size: 15.5px; }
  html.web .ipk-sheet > .ipk-cmp { grid-row: 4 !important; }
  html.web .ipk-sheet > .ipk-foot { grid-row: 5 !important; align-self: start; }
}
/* компьютер, Трейд Ин: тёмная панель распределена равномерно — заголовок сверху, шаги посередине, новый телефон снизу, без провала */
@media (min-width: 1000px) {
  html.web .ti-side { justify-content: space-between; }
  html.web .ti-side .tis-steps { margin: 0; }
  html.web .ti-side .tis-new { margin-top: 0; }
  html.web .ti-side > .tix-ic + .tis-h { margin-top: 18px; }
}
/* компьютер: «полоска для свайпа» сверху окон — жест телефона, на ноутбуке её не потянуть: убрана во всех окнах */
@media (min-width: 1000px) { html.web .os-grab { display: none !important; } }
/* компьютер: правая колонка товара всегда от верха плашки (название вверху), даже если она короткая */
@media (min-width: 1000px) { html.web .pane.prod > .pbody { align-self: start; padding-top: 22px !important; padding-bottom: 12px !important; } html.web .pane.prod .pdesc > summary { padding-top: 11px; padding-bottom: 11px; } }
/* компьютер: слайдер разделов как сегменты Apple — серая дорожка по краям колонки, белый бегунок с тенью едет под выбранным разделом */
@media (min-width: 1000px) {
  html.web .rail { padding-top: 22px; padding-bottom: 12px; border-bottom: 0; gap: 4px; }
  html.web .rail::before { content: ''; position: absolute; top: 16px; bottom: 6px; left: calc(max(32px, calc((100% - 1440px) / 2)) - 6px); right: calc(max(32px, calc((100% - 1440px) / 2)) - 6px); border-radius: 22px; background: #f5f5f7; pointer-events: none; }
  html.web .ri { padding: 6px 6px 6px; border-radius: 16px; color: #6e6e73; transition: color .2s, background-color .2s; }
  html.web .ri:hover { background: rgba(255, 255, 255, .55); }
  html.web .ri.on:hover { background: transparent; }
  html.web .ri img, html.web .ri .ri-logo { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
  html.web .ri:hover img, html.web .ri:hover .ri-logo { transform: translateY(-2px) scale(1.06); }
  html.web .ri.on img, html.web .ri.on .ri-logo { transform: scale(1.1); }
  html.web .rail-ind { top: 22px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .08); transition: transform .5s cubic-bezier(.3, 1.25, .5, 1), width .3s ease, opacity .2s; }
  html.web .rail-ind::before { display: none; }
}
/* компьютер: верхняя строка (логотип, приветствие, корзина) на 18% крупнее и выше; фото товара ниже на столько же, чтобы товар по-прежнему влезал в экран */
@media (min-width: 1000px) {
  html.web { --bar-h: 76px; }
  html.web .bar > * { zoom: 1.18; }
  html.web .gallery.wide .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 352px), 560px); }
  html.web .pane.prod:has(> .prow > .pmods) .gallery.wide .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 372px), 560px); }
  html.web .pane.prod > .gallery.vid .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 352px), 560px); }
}
/* компьютер: подписанные группы раздела (Dyson: выпрямители и фены | стайлеры) — рядом в один ряд, карточки одной ширины */
@media (min-width: 1000px) {
  html.web .pane .grp-row { display: grid; grid-template-rows: auto auto; column-gap: 44px; }
  html.web .pane .grp-col { min-width: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  html.web .pane .grp-col > .pt-sub { margin-top: 8px !important; }
  html.web .pane .grp-col > .models { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
}
/* панель товара: стрелки порядка у своих фото — посередине левого и правого края (× сверху справа, ★ снизу слева) */
.pr-mv { position: absolute; left: 2px; right: 2px; top: 50%; height: 18px; margin-top: -9px; display: flex; justify-content: space-between; pointer-events: none; }
.pr-mv button { pointer-events: auto; width: 18px; height: 18px; padding: 0 0 2px; border: 0; border-radius: 9px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 15px/16px -apple-system, system-ui, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pr-mv button:active { transform: scale(.9); }
.pr-mv button.off { visibility: hidden; }
/* компьютер: полоса брендов ниже на 10px; у айфонов (полоса моделей) отдаём эти 10px из отступа под ней, чтобы товар влезал в экран */
@media (min-width: 1000px) { html.web .pane.prod:has(> .prow > .pmods) { padding-top: 0 !important; } html.web .pane.prod:has(> .prow > .pmods) > .prow { margin-bottom: 0; } }
/* компьютер: списки товаров (айфоны и т.п.) по 4 карточки в ряд */
@media (min-width: 1000px) { html.web .pane .models:has(> a.model[href^="#/p/"]):not(.grp-col > .models):not(.apple-all) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
/* компьютер: главная Apple — техника и аксессуары одной сеткой по 5 в ряд */
@media (min-width: 1000px) { html.web .pane .models.apple-all { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 4px; } }

/* компьютер, страница товара: колокольчик и сердечко в правом верхнем углу карточки; у айфонов без «‹ iPhone», полоса моделей во всю ширину как полоса брендов; точки под фото выше */
@media (min-width: 1000px) {
  html.web .pane.prod > .pbody { position: relative; }
  html.web .pane.prod > .pbody > .pact { position: absolute; top: 16px; right: 16px; margin: 0; z-index: 4; }
  html.web .pane.prod > .pbody > .pact + * { padding-right: 96px; }
  html.web .pane.prod > .prow:has(> .pmods) > .pback { display: none; }
  html.web .pane.prod > .prow > .pmods { margin: 0 -6px; }
  html.web .pane.prod .gallery .dots { bottom: 26px; }
}
/* компьютер: полоса моделей айфона — копия полосы брендов: серая подложка, фото над названием, выбранная модель на белой плашке, которая переезжает к новой */
@media (min-width: 1000px) {
  html.web .prow > .pmods { position: relative; height: 88px; padding: 6px; gap: 4px; box-sizing: border-box; border-radius: 22px; background: #f5f5f7; }
  html.web .pm { position: relative; z-index: 1; flex: 1 0 96px; height: 100%; padding: 6px; gap: 3px; justify-content: center; border-radius: 16px; background: transparent; color: #6e6e73; box-shadow: none; transition: color .2s, background-color .2s; }
  html.web .pm b { order: 2; font-size: 13px; font-weight: 600; letter-spacing: 0; }
  html.web .pm-pic { order: 1; position: static; flex: none; width: 46px; height: 46px; margin: 0; overflow: visible; }
  html.web .pm-pic img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 50%; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
  html.web .pm:hover { background: rgba(255, 255, 255, .55); }
  html.web .pm:hover .pm-pic img { transform: translateY(-2px) scale(1.06); }
  html.web .pm.on { color: #1d1d1f; box-shadow: none; }
  html.web .pm.on:hover { background: transparent; }
  html.web .pm-ind { position: absolute; z-index: 0; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .08); pointer-events: none; transition: transform .5s cubic-bezier(.3, 1.25, .5, 1), width .3s ease; }
}/* компьютер: iPack PRO — галочка не вылезает за низ плашки (содержимое не помещалось по высоте) */
@media (min-width: 1000px) { html.web .pduo .stk.ip.ipk-btn { row-gap: 4px !important; } }
/* компьютер: шапка без нижней полоски; личный кабинет слева, айпарк.рф по центру, корзина справа */
@media (min-width: 1000px) {
  html.web .top { border-bottom: 0; }
  html.web .bar { position: relative; }
  html.web .bar > .who { order: -1; }
  html.web .bar > .d-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
/* компьютер: логотип айпарк.рф — картинкой, как прислал владелец */
@media (min-width: 1000px) { html.web .d-logo img { display: block; width: 140px; height: auto; } }
/* компьютер: между полосой моделей и карточкой товара такой же зазор, как между полосой брендов и полосой моделей (6px); место берём из верхнего отступа правой колонки */
@media (min-width: 1000px) { html.web .pane.prod:has(> .prow > .pmods) > .prow { margin-bottom: 6px !important; } html.web .pane.prod:has(> .prow > .pmods) > .pbody { padding-top: 16px !important; } }
/* компьютер: в полосе айфонов картинка крупная и обрезана низом плашки (как на appletrade.ru), название жирное сверху */
@media (min-width: 1000px) {
  html.web .pm { justify-content: flex-start; padding: 8px 6px 0; overflow: hidden; }
  html.web .pm b { order: 0; position: relative; z-index: 1; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
  html.web .pm-pic { position: absolute; left: 0; right: 0; top: -2px; width: auto; height: 180px; display: flex; justify-content: center; pointer-events: none; }
  html.web .pm-pic img { width: auto; height: 100%; max-width: none; object-fit: contain; }
}
/* компьютер: подписи в полосе айфонов как в полосе брендов (13px, 600, серые); отступ сверху = отступу подписи бренда снизу (6px); картинка вписана в ширину плашки — широкое фото Duo не раздувается */
@media (min-width: 1000px) {
  html.web .pm { padding: 8px 6px 0; }
  html.web .pm b { font-size: 13px; font-weight: 600; line-height: 1.15; letter-spacing: normal; }
  html.web .pm-pic { top: 14px; left: 4px; right: 4px; height: 190px; }
  html.web .pm-pic img { width: auto; height: 100%; max-width: 135%; flex: none; object-fit: contain; object-position: 50% 0; }
}
/* компьютер: подписи айфонов той же насыщенности, что у брендов: обычные 500, выбранная 600 */
@media (min-width: 1000px) { html.web .pm b { font-weight: 500; } html.web .pm.on b { font-weight: 600; } }
/* компьютер: картинка айфона в полосе ставится скриптом по самим телефонам (pmFit); пока не подогнана — не видна */
@media (min-width: 1000px) {
  html.web .pm-pic { position: absolute; inset: 0; top: 0; left: 0; right: 0; width: auto; height: auto; display: block; overflow: hidden; border-radius: 16px; }
  html.web .pm-pic img { position: absolute; max-width: none; object-fit: fill; opacity: 0; transition: opacity .25s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
  html.web .pm.fit .pm-pic img { opacity: 1; }
  html.web .pm:hover .pm-pic img { transform: translateY(-3px); }
}
/* компьютер: полоса подкатегорий Apple — копия полосы брендов, вплотную под ней (зазор между серыми подложками 6px) */
@media (min-width: 1000px) {
  html.web .subrail[hidden] { display: none; }
  html.web .rail.subrail { padding-top: 12px; padding-bottom: 12px; }
  html.web .rail.subrail::before { top: 6px; }
  html.web .subrail .rail-ind { top: 12px; }
  html.web .shell:has(> .subrail:not([hidden])) > .rail:not(.subrail) { padding-bottom: 6px; }
  html.web .shell:has(> .subrail:not([hidden])) > .rail:not(.subrail)::before { bottom: 0; }
}
/* компьютер: когда видна полоса подкатегорий Apple, фото товара ниже на её высоту — товар помещается в экран */
@media (min-width: 1000px) {
  html.web .shell:has(> .subrail:not([hidden])) .pane.prod .gallery.wide .slides > div { height: clamp(240px, calc(100vh / var(--z, .8) - 448px), 560px); }
  html.web .shell:has(> .subrail:not([hidden])) .pane.prod:has(> .prow > .pmods) .gallery.wide .slides > div { height: clamp(240px, calc(100vh / var(--z, .8) - 468px), 560px); }
  html.web .shell:has(> .subrail:not([hidden])) .pane.prod > .gallery.vid .slides > div { height: clamp(240px, calc(100vh / var(--z, .8) - 448px), 560px); }
}
/* компьютер, полоса подкатегорий видна: чуть меньше пустых полей у карточки товара, чтобы айфоны и iPad не прокручивались на невысоких экранах */
@media (min-width: 1000px) {
  html.web .shell:has(> .subrail:not([hidden])) > .pane.prod { padding-bottom: 6px !important; }
  html.web .shell:has(> .subrail:not([hidden])) > .pane.prod > .pbody { padding-top: 12px !important; padding-bottom: 8px !important; }
}
/* телефон: «Трейд Ин Калькулятор» — длинное слово помещается в плашку на узких экранах */
@media (max-width: 999px) { .pduo .ti-btn .ti-t b { font-size: min(18px, 4.2vw) !important; } }
/* картинка iPhone 17 в полосе моделей на белом фоне — белое сливается с серой подложкой */
@media (min-width: 1000px) { html.web .pm-pic img.pm-own { mix-blend-mode: multiply; } }
/* компьютер, страница товара: все плашки по одной линии с полосой брендов — без места под полосу прокрутки (товар и так влезает в экран), серая карточка шире на 6px с каждой стороны, как подложки полос */
@media (min-width: 1000px) {
  html.web .pane.prod { scrollbar-width: none; }
  html.web .pane.prod::-webkit-scrollbar { display: none; width: 0; }
  html.web .pane.prod::before { margin: 0 -6px !important; }
}
/* компьютер, карточка товара: блок цены как «Всего» в корзине — сверху «Цена» и сумма, ниже рассрочка и кэшбэк в ряд, внизу кнопка во всю ширину; блок прижат к низу серой карточки */
@media (min-width: 1000px) {
  html.web .pane.prod > .pbody { align-self: stretch !important; display: flex; flex-direction: column; }
  html.web .pane.prod > .pbody > #pbody { flex: 1; display: flex; flex-direction: column; }
  html.web .pane.prod #pbody > .pbar { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 10px; align-items: stretch; }
  html.web .pane.prod #pbody > .pduo { margin-bottom: 12px; }
  html.web .pane.prod .pbar .pbrow, html.web .pane.prod .pbar .pbp { display: contents; }
  html.web .pane.prod .pbar .pbn { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: baseline; justify-content: space-between; }
  html.web .pane.prod .pbar .pbn::before { content: 'Цена'; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
  html.web .pane.prod .pbar .pbn b { font-size: 32px !important; line-height: 1.1; }
  html.web .pane.prod .pbar .pinst { grid-column: 1; grid-row: 2; margin: 0; justify-content: center; min-height: 34px; }
  html.web .pane.prod .pbar .pinst .pi-ico { display: none; }
  html.web .pane.prod .pbar .pinst .chev { margin-left: auto; }
  html.web .pane.prod .pbar .pcb2 { grid-column: 2; grid-row: 2; margin: 0; height: auto; min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 16px; flex-direction: row; }
  html.web .pane.prod .pbar:not(:has(.pinst)) .pcb2 { grid-column: 1 / -1; }
  html.web .pane.prod .pbar .pcb2 .cb-n { order: 1; font-size: 13px; font-weight: 700; height: auto; }
  html.web .pane.prod .pbar .pcb2 .cb-t { order: 2; height: auto; }
  html.web .pane.prod .pbar .pcb2 .cb-t b { font-size: 13px; font-weight: 500; }
  html.web .pane.prod .pbar .pbuy, html.web .pane.prod .pbar .pqty { grid-column: 1 / -1; grid-row: 3; width: 100%; margin: 0; }
}
/* компьютер: блок цены как в корзине — компактнее, чтобы товар по-прежнему помещался в экран (в колонке поля больше не схлопываются) */
@media (min-width: 1000px) {
  html.web .pane.prod #pbody > .opt { margin-bottom: 8px; }
  html.web .pane.prod #pbody > .pduo { margin-top: 12px !important; margin-bottom: 10px; }
  html.web .pane.prod #pbody > .pbar { margin-top: auto !important; padding: 10px 14px 10px !important; row-gap: 8px; }
  html.web .pane.prod .pbar .pbn::before, html.web .pane.prod .pbar .pbn b { font-size: 28px !important; }
  html.web .pane.prod .pbar .pinst, html.web .pane.prod .pbar .pcb2 { min-height: 30px; height: 30px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
  html.web .pane.prod .pbar .pbuy, html.web .pane.prod .pbar .pqty { height: 52px !important; min-height: 52px !important; }
  html.web .pane.prod > .pbody > .t-title { margin-bottom: 8px; }
}
@media (min-width: 1000px) {
  html.web .pane.prod #pbody .pbar .pinst, html.web .pane.prod #pbody .pbar .pcb2 { height: 30px !important; min-height: 30px !important; margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; align-self: stretch; }
  html.web .pane.prod #pbody .pbar .pbuy, html.web .pane.prod #pbody .pbar .pqty { height: 52px !important; min-height: 52px !important; margin: 0 !important; }
}
@media (min-width: 1000px) { html.web .pane.prod #pbody > .pbar #buy.pbuy, html.web .pane.prod #pbody > .pbar .pqty { height: 52px !important; } }
/* компьютер: блок цены всегда последний и прижат к низу карточки (у iPad под ним был блок «С этим покупают»); отступы ещё чуть меньше, чтобы айфоны влезали */
@media (min-width: 1000px) {
  html.web .pane.prod > .pbody > #pbody { display: contents; }
  html.web .pane.prod > .pbody > .pbar, html.web .pane.prod #pbody > .pbar { order: 10; margin-top: auto !important; padding: 8px 14px !important; }
  html.web .pane.prod #pbody > .opt { margin-bottom: 6px; }
  html.web .pane.prod #pbody > .pduo { margin-top: 8px !important; }
}
@media (min-width: 1000px) { html.web .pane.prod > .pbody { padding-bottom: 8px !important; } }
/* белая подложка блока цены рисуется поверх обычных элементов — поднимаем цену, кэшбэк и кнопку над ней */
@media (min-width: 1000px) { html.web .pane.prod .pbar .pbn, html.web .pane.prod .pbar .pcb2, html.web .pane.prod .pbar .pbuy, html.web .pane.prod .pbar .pqty, html.web .pane.prod .pbar .pinst { position: relative; z-index: 1; } }
@media (min-width: 1000px) { html.web .pane.prod #pbody .pbar .pbn { justify-content: space-between !important; } html.web .pane.prod #pbody .pbar .pbn b { margin-left: auto; } }
/* компьютер: «В корзину» на карточке товара такая же, как «Оформить заказ» в корзине (69px, 16px, скругление 18, тень); место берём из мелких промежутков выше */
@media (min-width: 1000px) {
  html.web .pane.prod #pbody > .pbar #buy.pbuy, html.web .pane.prod #pbody > .pbar .pqty { height: 69px !important; min-height: 69px !important; border-radius: 18px; font-size: 16px; font-weight: 600; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); }
  html.web .pane.prod > .pbody { padding-top: 8px !important; }
  html.web .pane.prod > .pbody > .t-title { margin-bottom: 6px; }
  html.web .pane.prod #pbody > .opt { margin-bottom: 4px; }
  html.web .pane.prod #pbody > .pduo { margin-top: 6px !important; margin-bottom: 8px; }
  html.web .pane.prod #pbody > .pbar { row-gap: 6px; }
}
/* компьютер: переключатель eSIM растянут до кнопки «i», между ними 8px */
@media (min-width: 1000px) { html.web .pane.prod .sim-opt { gap: 8px; } html.web .pane.prod .sim-opt > .chips { flex: 1 1 auto !important; } }
/* компьютер: блок цены на карточке — пропорции ровно как у «Всего» в корзине (поля 14/16, сумма 32px, зазоры 10 и 12, рассрочка:кэшбэк = 66:34 с зазором 8, ряд 34px, кнопка 69px, скругление 26); место — из промежутков выше и плашек Трейд Ин / iPack */
@media (min-width: 1000px) {
  html.web .pane.prod #pbody > .pbar { padding: 14px 16px !important; border-radius: 26px; grid-template-columns: minmax(0, 65.6fr) minmax(0, 34.4fr) !important; column-gap: 8px !important; row-gap: 0 !important; }
  html.web .pane.prod .pbar .pbn::before, html.web .pane.prod .pbar .pbn b { font-size: 32px !important; line-height: 1.1 !important; }
  html.web .pane.prod #pbody .pbar .pinst, html.web .pane.prod #pbody .pbar .pcb2 { height: 34px !important; min-height: 34px !important; margin-top: 10px !important; border-radius: 11px; font-size: 13px; }
  html.web .pane.prod #pbody .pbar .pcb2 { grid-column: 2 !important; padding: 0 8px !important; }
  html.web .pane.prod #pbody .pbar:not(:has(.pinst)) .pcb2 { grid-column: 1 / -1 !important; }
  html.web .pane.prod #pbody > .pbar #buy.pbuy, html.web .pane.prod #pbody > .pbar .pqty { margin-top: 12px !important; }
  html.web .pane.prod #pbody > .pduo .ti-btn, html.web .pane.prod #pbody > .pduo .stk.ip.ipk-btn { height: 96px !important; min-height: 0 !important; }
  html.web .pduo .stk.ip.ipk-btn { padding-top: 10px !important; padding-bottom: 10px !important; }
  html.web .pane.prod #pbody > .pduo { margin-top: 4px !important; margin-bottom: 6px !important; }
  html.web .pane.prod #pbody > .opt { margin-bottom: 3px; }
  html.web .pane.prod > .pbody { padding-top: 6px !important; padding-bottom: 6px !important; }
  html.web .pane.prod > .pbody > .t-title { margin-bottom: 4px; }
  html.web .shell > .pane.prod { padding-bottom: 0 !important; }
}
/* компьютер: название цвета в одной строке справа от кружков (освобождает место под блок цены как в корзине); плашки Трейд Ин / iPack прежней высоты — галочка не прилипает к низу */
@media (min-width: 1000px) {
  html.web .pane.prod #pbody > .opt:has(> .swatches) { display: flex; align-items: center; gap: 12px; }
  html.web .pane.prod #pbody > .opt:has(> .swatches) > .name { order: 2; margin: 0; }
  html.web .pane.prod #pbody > .pduo .ti-btn, html.web .pane.prod #pbody > .pduo .stk.ip.ipk-btn { height: 104px !important; }
  html.web .pduo .stk.ip.ipk-btn { padding-top: 12px !important; padding-bottom: 12px !important; }
}
/* «Цена» / «Всего» на 1% правее, сумма на 1% левее: на карточке товара — только сайт на компьютере, в корзине — везде */
@media (min-width: 1000px) { html.web .pane.prod #pbody .pbar .pbn { padding-left: 1% !important; padding-right: 1% !important; box-sizing: border-box; } }
.pbar.cbar .cb3-top { padding-left: 1% !important; padding-right: 1% !important; box-sizing: border-box; }
/* компьютер: название цвета ровно по центру кружков (у подписи оставался нижний отступ от старой раскладки) */
@media (min-width: 1000px) { html.web .pane.prod #pbody > .opt:has(> .swatches) > .name { padding: 0 !important; } }
/* компьютер: у правой колонки карточки товара серый край одинаковый сверху, справа и снизу — 16px (справа 10 + 6 подложка шире колонки) */
@media (min-width: 1000px) {
  html.web .shell .pane.prod > .pbody { padding-top: 16px !important; padding-right: 10px !important; padding-bottom: 16px !important; }
  html.web .pane.prod > .pbody > .pact { top: 16px !important; right: 10px !important; }
}
@media (min-width: 1000px) { html.web #pane.pane.prod > .pbody { padding-top: 16px !important; padding-bottom: 16px !important; padding-right: 10px !important; } }
/* компьютер: место под одинаковые серые края правой колонки (16px) — плашки Трейд Ин / iPack 100px, зазоры между блоками выбора меньше */
@media (min-width: 1000px) {
  html.web .pane.prod #pbody > .pduo .ti-btn, html.web .pane.prod #pbody > .pduo .stk.ip.ipk-btn { height: 100px !important; }
  html.web .pane.prod #pbody > .opt { margin-bottom: 2px !important; }
  html.web .pane.prod #pbody > .pduo { margin-top: 3px !important; margin-bottom: 4px !important; }
}
@media (min-width: 1000px) { html.web .pduo .stk.ip.ipk-btn { row-gap: 0 !important; } }
/* компьютер: хлебные крошки над полосой моделей (товары Apple) — серые ссылки, текущий товар чёрным, разделитель — тонкая стрелка */
@media (min-width: 1000px) {
  html.web .pane.prod > .prow:has(> .crumbs) { flex-wrap: wrap; row-gap: 0; }
  html.web .crumbs { flex: 0 0 100%; order: -1; display: flex; align-items: center; gap: 8px; padding: 10px 4px 10px; font-size: 13px; font-weight: 600; line-height: 16px; color: #6e6e73; }
  html.web .crumbs a { color: inherit; text-decoration: none; transition: color .15s; }
  html.web .crumbs a:hover { color: #1d1d1f; }
  html.web .crumbs b { color: #1d1d1f; font-weight: 600; }
  html.web .crumbs .cr-s { width: 5px; height: 5px; border: solid #b0b0b5; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); flex: none; }
  html.web .pane.prod > .prow:has(> .crumbs) > .pback { display: none; }
}
/* компьютер: место под хлебные крошки — переключатели памяти и eSIM ниже (34px), кружки цвета 32px, без зазоров между блоками выбора */
@media (min-width: 1000px) {
  html.web .crumbs { padding: 8px 4px 8px; }
  html.web .pane.prod #pbody > .opt > .chips { height: 34px !important; min-height: 0 !important; box-sizing: border-box; }
  html.web .pane.prod #pbody > .opt > .chips .chip { height: 26px !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 26px !important; }
  html.web .pane.prod #pbody > .opt { margin-bottom: 0 !important; }
  html.web .pane.prod #pbody > .opt > .swatches .sw { width: 32px !important; height: 32px !important; }
}
/* компьютер: хлебные крошки в стиле ссылки «‹ AirPods» — синие 15px, такие же стрелки; текущий товар чёрным */
@media (min-width: 1000px) {
  html.web .crumbs { gap: 4px; font-size: 15px; font-weight: 500; color: var(--blue); line-height: 18px; padding: 7px 4px 7px; }
  html.web .crumbs a:hover { color: var(--blue); opacity: .75; }
  html.web .crumbs b { color: #1d1d1f; font-weight: 500; }
  html.web .crumbs .cr-s { width: .95em; height: .95em; border: 0; transform: none; fill: none; stroke: #b0b0b5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
}
/* панель Trade-In: вкладки поколений, карточка модели с таблицей «Память / Цена / SIM + eSIM» */
.tp .qp-top { margin-bottom: 4px; }
.tp-card { margin: 0 0 12px; padding: 14px 14px 10px; border-radius: 20px; background: var(--gray); }
.tp-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.tp-h b { flex: 1; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.tp-del { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #8e8e93; transition: background .15s, color .15s; }
.tp-del.ask { background: #ff3b30; color: #fff; }
.tp-th, .tp-r { display: grid; grid-template-columns: minmax(70px, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr) 30px; gap: 6px; align-items: center; }
.tp-th { padding: 0 2px 4px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.tp-r { margin: 0 0 6px; }
.tp-in { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 10px; border: 0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; font-weight: 600; color: #111; outline: none; transition: box-shadow .15s; }
.tp-in:focus { box-shadow: 0 0 0 2px #111; }
.tp-in::placeholder { color: #b5b5ba; font-weight: 500; }
.tp-pr { position: relative; display: block; }
.tp-pr .tp-in { padding-right: 24px; text-align: right; }
.tp-pr span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
.tp-x { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #8e8e93; font-size: 20px; line-height: 1; }
.tp-add { margin: 2px 0 2px; padding: 8px 2px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--blue); }
.tp-f { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6px; margin: 0 0 12px; }
.tp-f label span { display: block; margin: 0 0 4px 2px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.tp-new .buy { margin-top: 8px; }
.tp #tpBar { left: 12px; right: 12px; }
.tp #tpBox { padding-bottom: 80px; }
.tp-card.nosim .tp-th, .tp-card.nosim .tp-r { grid-template-columns: minmax(70px, .9fr) minmax(0, 2.2fr) 30px; }
.tp-new.nosim .tp-p2c { display: none; }
.tp-th, .tp-f label span { text-transform: none; letter-spacing: 0; font-size: 12px; } /* «eSIM» не превращается в «ESIM» */
/* Trade-In: вместо тёмного баннера — простая надпись; плашка «Сдать в Trade-In другую технику»; разделы техники — три плитки */
.tix-lead { margin: 10px 2px 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: #111; letter-spacing: -.01em; }
.tix-oth { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 0; padding: 14px 16px; border: 0; border-radius: 16px; background: #f2f2f5; color: #111; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.tix-oth:active { transform: scale(.98); }
.tix-oth span { flex: 1; min-width: 0; }
.tix-oth b { display: block; font-size: 15.5px; font-weight: 600; }
.tix-oth small { display: block; margin-top: 2px; font-size: 13px; color: #8e8e93; }
.tix-oth .chev { flex: none; width: 8px; height: 8px; border: solid #8e8e93; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.tix-cats { grid-template-columns: repeat(3, 1fr); }
.tix-cats .tix-gen b { font-size: 16px; letter-spacing: -.2px; }
.tix-m small { margin-left: 6px; font-size: 13px; font-weight: 400; color: #8e8e93; }
.tix-m.on small { color: rgba(255, 255, 255, .7); }
.tix-lead .nw { white-space: nowrap; }
/* панель Trade-In: подзаголовки поколений iPhone; выбор вида техники в форме новой модели */
.tp-gen { margin: 18px 2px 8px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.tp-gen:first-of-type { margin-top: 6px; }
.tp-types { margin: 0 -14px 12px; padding: 0 14px; }
.tp-types button { background: #fff; }
.tp-f .tp-wide { grid-column: 1 / -1; }
.tp-new.nosim .tp-p2c { display: none; }
/* сайт без входа: «Войти» в левом углу шапки, корзина справа (пустая распорка d-sp сдвигала кнопку в середину) */
.bar > .g-who { margin-right: auto; }
/* компьютер, Trade-In «другая техника»: плитки разделов как плитки поколений iPhone; модели сеткой по 4 в ряд, название в одну строку, память серым под ним */
@media (min-width: 1000px) {
  html.web .ti-desk .tix-lead { margin: 6px 2px 0; font-size: 18px; }
  html.web .ti-desk .tix-lead + .tix-lbl { margin-top: 18px; }
  html.web .ti-desk .tix-cats .tix-gen { height: 70px; }
  html.web .ti-desk .tix-cats .tix-gen b { font-size: 20px; }
  html.web .ti-desk .tix-cats ~ .tix-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  html.web .ti-desk .tix-cats ~ .tix-models .tix-m { flex: none; height: 58px; padding: 0 10px; }
  html.web .ti-desk .tix-cats ~ .tix-models .tix-m span { display: flex; flex-direction: column; align-items: center; min-width: 0; line-height: 1.2; text-align: center; white-space: nowrap; }
  html.web .ti-desk .tix-cats ~ .tix-models .tix-m small { margin: 2px 0 0; font-size: 12px; }
}
/* компьютер, карточка товара: свободное место делится поровну между рядами (название, цвет, память, Трейд Ин/iPack, цена) — у товаров с меньшим выбором не зажато; где места нет, промежутки как были */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody { justify-content: space-between; }
  html.web .pane.prod > .pbody > #pbody > .pbar, html.web .pane.prod #pbody > .pbar { margin-top: 0 !important; }
  html.web .pane.prod > .pbody > :empty:not(.pact) { display: none; }
  html.web .pane.prod #pbody > .pduo { margin-bottom: 4px !important; }
}
/* компьютер, карточка товара: одинаковые промежутки между рядами (минимум 4px, остальное место — поровну) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody { row-gap: 4px; }
  html.web #pane.pane.prod > .pbody > :not(.pact), html.web #pane.pane.prod #pbody > * { margin-top: 0 !important; margin-bottom: 0 !important; }
}
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody { justify-content: flex-start; row-gap: var(--pg, 4px); }
  html.web #pane.pane.prod #pbody > .pbar { margin-top: auto !important; }
}
/* сайт на компьютере: корзина на 10 % крупнее — колонка товаров и плашка «Всего» */
@media (min-width: 1000px) {
  html.web body:not(.shelled) main:has(> .pm-cart), html.web body:not(.shelled) main:has(> .lw) { zoom: 1.1; }
  html.web body > .pbar.cbar { zoom: 1.1; }
}

/* 19.11.2026 карточка товара на компьютере в духе apple.com: фото в своей серой плашке, справа белая колонка, обводные плашки Trade-In и iPack, синяя кнопка */
@media (min-width: 1000px) {
  html.web #pane.pane.prod::before { background: transparent !important; }
  html.web #pane.pane.prod > .gallery { background: #f5f5f7; border-radius: 24px; margin: 0 !important; align-self: stretch; display: flex; flex-direction: column; justify-content: center; position: relative; }
  html.web #pane.pane.prod > .gallery .g-arr { width: 52px; height: 52px; border-radius: 50%; background: #e3e3e8 !important; color: #3a3a3c; box-shadow: none !important; border: 0; }
  html.web #pane.pane.prod > .gallery .g-arr:hover { background: #d6d6dc !important; }
  html.web #pane.pane.prod > .pbody { background: #fff; padding-left: 56px !important; padding-right: 0 !important; }
  html.web #pane.pane.prod > .pbody > .pact { right: 0 !important; }
  html.web #pane.pane.prod > .pbody > h1 { font-size: 26px !important; font-weight: 700; letter-spacing: -.02em; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 10px !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) > .name { order: 0 !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) > .name em { font-style: normal; font-size: 14px; font-weight: 500; color: #1d1d1f; }
  html.web #pane.pane.prod #pbody > .opt > .swatches { gap: 8px; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw { width: 36px !important; height: 36px !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips { height: 50px !important; border-radius: 25px !important; background: #f0f0f2 !important; padding: 4px !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip { height: 42px !important; line-height: 42px !important; font-size: 15px !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .gl-ind { border-radius: 21px !important; }
  html.web #pane.pane.prod #pbody > .sim-opt .sim-i { width: 26px; height: 26px; flex: 0 0 26px; border: 1.5px solid #0071e3; color: #0071e3; background: #fff; font-size: 14px; }
  /* Trade-In и iPack — две плашки друг под другом с синей обводкой */
  html.web #pane.pane.prod #pbody > .pduo { display: flex !important; flex-direction: column; gap: 12px; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn { width: 100% !important; height: 72px !important; min-height: 0 !important; margin: 0 !important; padding: 0 18px !important; box-sizing: border-box; border: 2px solid #5a9cf0 !important; border-radius: 14px !important; background: #fff !important; color: #1d1d1f !important; box-shadow: none !important; display: flex !important; align-items: center; justify-content: center; gap: 10px; text-align: center; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn::after, html.web #pane.pane.prod #pbody > .pduo .ti-btn::before, html.web #pane.pane.prod #pbody > .pduo .ipk-btn::before, html.web #pane.pane.prod #pbody > .pduo .ipk-btn::after { display: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .chev { display: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b { font-size: 17px !important; line-height: 1.2; font-weight: 600; color: #1d1d1f; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b br { display: none; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small { font-size: 12.5px; color: #1d1d1f; opacity: .8; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { display: block; text-align: center; white-space: nowrap; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b { display: inline; font-size: 16px; font-weight: 600; color: #1d1d1f; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b::after { content: '.'; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { display: inline; margin-left: 5px; font-size: 16px; color: #6e6e73; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn em { position: absolute; right: 52px; top: 50%; transform: translateY(-50%); width: auto !important; height: auto !important; margin: 0 !important; font-style: normal; font-size: 13px; font-weight: 600; color: #0071e3; background: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); margin: 0 !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn:has(.ck.on) { background: #f2f7ff !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn:not(:has(.ck.on)) em { color: #6e6e73; }
  /* цена и кнопка — без серой подложки, синяя кнопка как у Apple */
  html.web #pane.pane.prod #pbody > .pbar { padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
  html.web #pane.pane.prod #pbody > .pbar::before, html.web #pane.pane.prod #pbody > .pbar::after { display: none !important; }
  html.web #pane.pane.prod #pbody .pbar .pbn { padding: 0 !important; }
  html.web #pane.pane.prod .pbar .pbn::before, html.web #pane.pane.prod .pbar .pbn b { font-size: 24px !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst, html.web #pane.pane.prod #pbody .pbar .pcb2 { height: 30px !important; min-height: 30px !important; margin-top: 8px !important; border-radius: 8px; font-size: 12px; }
  html.web #pane.pane.prod #pbody > .pbar #buy.pbuy { height: 56px !important; min-height: 56px !important; margin-top: 12px !important; border-radius: 14px !important; background: #0071e3 !important; color: #fff !important; font-size: 17px !important; font-weight: 500 !important; box-shadow: none !important; }
  html.web #pane.pane.prod #pbody > .pbar #buy.pbuy:hover { background: #0077ed !important; }
  html.web #pane.pane.prod #pbody > .pbar #buy.pbuy::before { display: none !important; }
  html.web #pane.pane.prod #pbody > .pbar .pqty { margin-top: 12px !important; border-radius: 14px !important; }
}
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-btn > *, html.web #pane.pane.prod #pbody > .pduo .ipk-btn > .ipk-tx { align-self: center !important; height: auto !important; margin: 0 !important; justify-content: center; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b, html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small { height: auto !important; margin: 0 !important; }
}@media (min-width: 1000px) { html.web #pane.pane.prod #pbody > .pduo .ipk-btn em { display: none !important; } }/* блоки идут сверху вниз подряд, цена сразу под последним выбором (если чего-то нет — не прижимается к низу) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody { justify-content: flex-start !important; row-gap: 16px !important; }
  html.web #pane.pane.prod #pbody > .pbar { margin-top: 4px !important; }
}/* полоса брендов сжимается до названий внутри раздела и на товаре */
@media (min-width: 1000px) {
  html.web #rail.rail.rail-mini { height: 46px !important; min-height: 0 !important; background: transparent !important; box-shadow: none !important; padding-top: 0 !important; padding-bottom: 0 !important; align-items: center; }
  html.web #rail.rail.rail-mini::before, html.web #rail.rail.rail-mini::after { display: none !important; }
  html.web #rail.rail-mini .rail-ind { opacity: 0 !important; }
  html.web #rail.rail-mini .ri { height: 46px !important; min-height: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; flex-direction: row !important; justify-content: center; align-items: center; }
  html.web #rail.rail-mini .ri > img, html.web #rail.rail-mini .ri > .ri-logo { display: none !important; }
  html.web #rail.rail-mini .ri > span { display: block !important; font-size: 17px !important; font-weight: 400 !important; color: #1d1d1f !important; opacity: .8; margin: 0 !important; letter-spacing: -.01em; }
  html.web #rail.rail-mini .ri:hover > span, html.web #rail.rail-mini .ri.on > span { opacity: 1; }
  html.web #rail.rail-mini .ri.on > span { font-weight: 600 !important; }
}@media (min-width: 1000px) {
  html.web .shell:has(> #rail.rail-mini) .pane.prod .gallery.wide .slides > div, html.web .shell:has(> #rail.rail-mini) .pane.prod > .gallery.vid .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 310px), 600px) !important; }
  html.web .shell:has(> #rail.rail-mini) .pane.prod:has(> .prow > .pmods) .gallery.wide .slides > div { height: clamp(300px, calc(100vh / var(--z, .8) - 330px), 600px) !important; }
}/* 19.11.2026 пропорции карточки как на референсе (без ужимания под экран): широкое фото, узкая колонка справа; шрифт — системный San Francisco */
@media (min-width: 1000px) {
  html.web body, html.web button, html.web input, html.web textarea, html.web select { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'SFUIDISPLAY', 'Helvetica Neue', Arial, sans-serif; }
  html.web #rail.rail-mini .ri > span { font-size: 15px !important; font-weight: 400 !important; letter-spacing: -.016em; color: #1d1d1f !important; opacity: .88; }
  html.web #rail.rail-mini .ri.on > span { font-weight: 400 !important; opacity: 1; }
  html.web #pane.pane.prod { grid-template-columns: minmax(0, 1fr) 310px !important; column-gap: 52px !important; }
  html.web .shell #pane.pane.prod .gallery.wide .slides > div, html.web .shell #pane.pane.prod > .gallery.vid .slides > div { height: auto !important; aspect-ratio: 1.53; max-height: none !important; }
  html.web #pane.pane.prod > .gallery { align-self: start !important; }
  html.web #pane.pane.prod > .pbody { padding-left: 0 !important; row-gap: 18px !important; }
  html.web #pane.pane.prod > .pbody > h1 { font-size: 22px !important; font-weight: 600 !important; letter-spacing: -.01em; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) { gap: 8px !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) > .name em { font-size: 13px; font-weight: 400; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw { width: 32px !important; height: 32px !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips { height: 42px !important; border-radius: 21px !important; padding: 3px !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip { height: 36px !important; line-height: 36px !important; font-size: 14px !important; font-weight: 400 !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip.on { font-weight: 600 !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .gl-ind { border-radius: 18px !important; }
  html.web #pane.pane.prod #pbody > .sim-opt .sim-i { width: 24px; height: 24px; flex: 0 0 24px; font-size: 13px; }
  html.web #pane.pane.prod #pbody > .pduo { gap: 10px; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn { height: 62px !important; border-width: 1.5px !important; border-radius: 10px !important; padding: 0 12px !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b { font-size: 14px !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small { font-size: 11px; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 13px; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck { right: 10px; }
  html.web #pane.pane.prod .pbar .pbn::before, html.web #pane.pane.prod .pbar .pbn b { font-size: 18px !important; font-weight: 600 !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst, html.web #pane.pane.prod #pbody .pbar .pcb2 { height: 24px !important; min-height: 24px !important; margin-top: 6px !important; border-radius: 6px; font-size: 10px; }
  html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-n, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-t b { font-size: 10px !important; }
  html.web #pane.pane.prod #pbody > .pbar #buy.pbuy { height: 44px !important; min-height: 44px !important; margin-top: 10px !important; border-radius: 10px !important; font-size: 15px !important; font-weight: 400 !important; }
  html.web #pane.pane.prod #pbody > .pbar .pqty { height: 44px !important; min-height: 44px !important; margin-top: 10px !important; }
}/* 19.11.2026 сайт во всю ширину, по бокам минимум; карточка в пропорциях референса: фото 68%, промежуток 5%, колонка 27%, размеры в колонке — доли её ширины (cqw) */
@media (min-width: 1000px) {
  html.web .top .bar { max-width: none !important; margin-left: 32px !important; margin-right: 32px !important; }
  html.web #rail.rail { padding-left: 32px !important; padding-right: 32px !important; }
  html.web #pane.pane { padding-left: 32px !important; padding-right: 32px !important; }
  html.web #pane.pane.prod { grid-template-columns: minmax(0, 68fr) minmax(0, 27fr) !important; column-gap: 5% !important; }
  html.web #pane.pane.prod > .pbody { container-type: inline-size; row-gap: 5.9cqw !important; padding-top: 2cqw !important; }
  html.web #pane.pane.prod > .pbody > h1 { font-size: 6.9cqw !important; }
  html.web #pane.pane.prod > .pbody > .pact { top: 2cqw !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) { gap: 2.6cqw !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) > .name em { font-size: 4.3cqw; }
  html.web #pane.pane.prod #pbody > .opt > .swatches { gap: 2.6cqw; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw { width: 10.5cqw !important; height: 10.5cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips { height: 13.1cqw !important; border-radius: 6.6cqw !important; padding: 1cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip { height: 11.1cqw !important; line-height: 11.1cqw !important; font-size: 4.6cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .gl-ind { border-radius: 5.6cqw !important; }
  html.web #pane.pane.prod #pbody > .sim-opt { gap: 2.6cqw !important; }
  html.web #pane.pane.prod #pbody > .sim-opt .sim-i { width: 7.5cqw; height: 7.5cqw; flex: 0 0 7.5cqw; font-size: 4.3cqw; }
  html.web #pane.pane.prod #pbody > .pduo { gap: 3.6cqw; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn { height: 20.3cqw !important; border-radius: 3.3cqw !important; padding: 0 4cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b { font-size: 4.6cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small { font-size: 3.3cqw; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 4.3cqw; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck { right: 3.3cqw; }
  html.web #pane.pane.prod .pbar .pbn::before, html.web #pane.pane.prod .pbar .pbn b { font-size: 5.9cqw !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst, html.web #pane.pane.prod #pbody .pbar .pcb2 { height: 7.2cqw !important; min-height: 0 !important; margin-top: 2cqw !important; border-radius: 2cqw; font-size: 3cqw; }
  html.web #pane.pane.prod #pbody .pbar .pinst b, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-n, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-t b { font-size: 3cqw !important; }
  html.web #pane.pane.prod #pbody .pbar { column-gap: 2.6cqw !important; }
  html.web #pane.pane.prod #pbody > .pbar #buy.pbuy, html.web #pane.pane.prod #pbody > .pbar .pqty { height: 13.1cqw !important; min-height: 0 !important; margin-top: 3.3cqw !important; border-radius: 3.3cqw !important; font-size: 4.6cqw !important; }
  html.web #pane.pane.prod #pbody > .pbar .pqty { background: #0071e3 !important; color: #fff !important; box-shadow: none !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody { row-gap: 0 !important; }
  html.web #pane.pane.prod > .pbody > h1, html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: 5.9cqw !important; }
  html.web #pane.pane.prod #pbody > .pbar { margin-top: 1cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips { font-size: 4.6cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .gl-view, html.web #pane.pane.prod #pbody > .opt > .chips .gl-t { font-size: 4.6cqw !important; }
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { height: auto !important; aspect-ratio: 1.53 !important; }
  html.web #pane.pane.prod > .pbody > .pact { top: calc(2cqw + 4px) !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody { padding-top: 16px !important; }
  html.web #pane.pane.prod > .pbody > h1 { padding-bottom: 4.6cqw !important; line-height: 1.25 !important; }
  html.web #pane.pane.prod > .pbody > .pact { top: calc(16px + 4.3cqw - 18px) !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { padding: 0 9cqw !important; white-space: normal; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 3.9cqw; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { padding: 0 8cqw !important; white-space: nowrap !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 3.6cqw; }
}/* фото товара не выше экрана: на широких и низких мониторах плашка не уходит вниз */
@media (min-width: 1000px) {
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { max-height: calc(100vh / var(--z, .8) - 290px) !important; min-height: 320px; }
}/* 19.11.2026 адаптация под любой экран: подложка полосы брендов по новой ширине, плитки — сколько влезет (от 300 px), колонка карточки по высоте экрана */
@media (min-width: 1000px) {
  html.web #rail.rail::before { left: 32px !important; right: 32px !important; width: auto !important; }
  html.web #pane .models { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; }
  html.web #pane.pane.prod { grid-template-columns: minmax(0, 1fr) max(320px, min(27%, calc((100vh / var(--z, .8) - 250px) / 1.95))) !important; }
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { max-height: calc(100vh / var(--z, .8) - 270px) !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod { grid-template-columns: minmax(0, 1fr) max(340px, min(27%, calc((100vh / var(--z, .8) - 240px) / 1.75))) !important; }
}/* 19.11.2026 отступы как на apple.com/shop/buy-iphone (замер на 1536 px, колонка 328 px = 100cqw):
   фото 70.8% / промежуток 4.5% / колонка 24.6%; фото 943×671, скругление 18; стрелки 56 в 18 от края;
   заголовок 24/600, под ним 27; между разделами 75; между плашками 14; плашки r12, рамка 0.8 #86868b, выбранная 2 px #0071e3; кружки 36 через 5 */
@media (min-width: 1000px) {
  html.web #pane.pane.prod { grid-template-columns: minmax(0, 70.8fr) minmax(300px, 24.6fr) !important; column-gap: 4.5% !important; align-items: start; }
  html.web #pane.pane.prod > .gallery { position: sticky !important; top: 12px; align-self: start !important; border-radius: 22px !important; overflow: hidden; }
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { aspect-ratio: 1.405 !important; max-height: calc(100vh / var(--z, .8) - 230px) !important; }
  html.web #pane.pane.prod > .gallery .g-arr { width: 70px !important; height: 70px !important; background: rgba(210, 210, 215, .64) !important; }
  html.web #pane.pane.prod > .gallery .g-arr.r { right: 22px !important; }
  html.web #pane.pane.prod > .gallery .g-arr.l { left: 22px !important; }
  html.web #pane.pane.prod > .pbody { padding-top: 0 !important; padding-bottom: 40px !important; }
  html.web #pane.pane.prod > .pbody > h1 { font-size: 7.3cqw !important; font-weight: 600 !important; line-height: 1.17 !important; padding-bottom: 0 !important; margin-bottom: 8.2cqw !important; letter-spacing: .009em; }
  html.web #pane.pane.prod > .pbody > .pact { top: 0 !important; }
  html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: 22.9cqw !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) { gap: 5.8cqw !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) > .name em { font-size: 5.2cqw !important; font-weight: 600 !important; letter-spacing: -.022em; }
  html.web #pane.pane.prod #pbody > .opt > .swatches { gap: 1.5cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw { width: 11cqw !important; height: 11cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips, html.web #pane.pane.prod #pbody > .opt > .chips .gl-view, html.web #pane.pane.prod #pbody > .opt > .chips .gl-t { font-size: 5.2cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip { font-size: 5.2cqw !important; letter-spacing: -.022em; }
  html.web #pane.pane.prod #pbody > .pduo { gap: 4.3cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn { height: auto !important; min-height: 20.3cqw !important; padding: 4.6cqw !important; border: .8px solid #86868b !important; border-radius: 3.7cqw !important; background: #fff !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn:has(.ck.on) { border: 2px solid #0071e3 !important; background: #fff !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b { font-size: 5.2cqw !important; font-weight: 600 !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small { font-size: 4.3cqw !important; opacity: 1; color: #1d1d1f; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 4.3cqw !important; }
  html.web #pane.pane.prod #pbody > .pbar { margin-top: 0 !important; }
  html.web #pane.pane.prod .pbar .pbn::before, html.web #pane.pane.prod .pbar .pbn b { font-size: 7.3cqw !important; font-weight: 600 !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst, html.web #pane.pane.prod #pbody .pbar .pcb2 { height: 8.5cqw !important; margin-top: 4.3cqw !important; border-radius: 2.4cqw !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst, html.web #pane.pane.prod #pbody .pbar .pinst b, html.web #pane.pane.prod #pbody .pbar .pcb2, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-n, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-t b { font-size: 3.7cqw !important; }
  html.web #pane.pane.prod #pbody > .pbar #buy.pbuy, html.web #pane.pane.prod #pbody > .pbar .pqty { height: 15.2cqw !important; margin-top: 4.3cqw !important; border-radius: 3.7cqw !important; font-size: 5.2cqw !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody > h1 { margin-bottom: 0 !important; padding-bottom: 8.2cqw !important; }
  html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: 12.2cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { padding: 0 6cqw !important; white-space: nowrap !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 3.9cqw !important; }
}/* 19.11.2026 сверка со скриншотом apple.com на экране ~1840: плашка фото 1130×648 (1.744), колонка 410, промежуток 75; заголовок 30, варианты 22 */
@media (min-width: 1000px) {
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { aspect-ratio: 1.744 !important; }
  html.web #pane.pane.prod > .pbody > h1 { font-size: 6.6cqw !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) { gap: 4cqw !important; }
  html.web #pane.pane.prod #pbody > .opt:has(> .swatches) > .name em { font-size: 4.9cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw { width: 10cqw !important; height: 10cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips { height: 12cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip { height: 10cqw !important; line-height: 10cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .chips, html.web #pane.pane.prod #pbody > .opt > .chips .chip, html.web #pane.pane.prod #pbody > .opt > .chips .gl-view, html.web #pane.pane.prod #pbody > .opt > .chips .gl-t { font-size: 4.3cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b { font-size: 4.9cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small { font-size: 3.7cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx * { white-space: nowrap !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { padding: 0 9cqw 0 0 !important; overflow: hidden; text-overflow: clip; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { font-size: 3.7cqw !important; }
  html.web #pane.pane.prod .pbar .pbn::before, html.web #pane.pane.prod .pbar .pbn b { font-size: 6.6cqw !important; }
}/* поля по бокам как у apple.com: 6% ширины с каждой стороны (112 px на экране 1843) — шапка, полосы, страницы и карточка на одной линии */
@media (min-width: 1000px) {
  html.web .top .bar { margin-left: 6% !important; margin-right: 6% !important; }
  html.web #rail.rail { padding-left: 6% !important; padding-right: 6% !important; }
  html.web #rail.rail::before { left: 6% !important; right: 6% !important; }
  html.web #pane.pane { padding-left: 6% !important; padding-right: 6% !important; }
}@media (min-width: 1000px) {
  html.web .top .bar { width: auto !important; max-width: none !important; }
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { max-height: calc(100vh / var(--z, .8) - 290px) !important; }
}/* фото ровно по высоте правой колонки: верх и низ на одной линии (соседи одной высоты) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod { align-items: stretch !important; }
  html.web #pane.pane.prod > .gallery { position: relative !important; top: auto !important; align-self: stretch !important; display: flex !important; flex-direction: column; justify-content: stretch; padding-top: 0 !important; padding-bottom: 0 !important; }
  html.web #pane.pane.prod > .gallery > .slides { flex: 1 1 0; min-height: 0; height: auto !important; }
  html.web .shell:has(> #rail) #pane.pane.prod:has(> .gallery) > .gallery .slides > div { height: 100% !important; aspect-ratio: auto !important; max-height: none !important; min-height: 0 !important; }
  html.web #pane.pane.prod > .pbody { padding-top: 0 !important; padding-bottom: 0 !important; align-self: start !important; }
  html.web #pane.pane.prod > .pbody > h1 { margin-top: -.17em !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: 9cqw !important; }
  html.web #pane.pane.prod > .pbody > h1 { padding-bottom: 6.5cqw !important; }
  html.web .shell > #pane.pane.prod { padding-bottom: 24px !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > .gallery { min-height: min(calc(100vh / var(--z, .8) - 300px), 620px); }
}/* воздух между полосой моделей и карточкой */
@media (min-width: 1000px) {
  html.web .shell #pane.pane.prod > .prow { margin-bottom: 28px !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: 7.5cqw !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > .gallery { min-height: min(calc(100vh / var(--z, .8) - 300px), 480px) !important; }
}/* корзина на компьютере: блок «Всего / Оформить заказ» ровно по ширине карточек товаров и по центру */
@media (min-width: 1000px) {
  html.web body > .pbar.cbar { left: 50% !important; right: auto !important; width: 632px !important; max-width: calc(100vw / (var(--z, .8) * 1.1) - 48px) !important; transform: translateX(-50%) !important; margin: 0 !important; }
}@media (min-width: 1000px) {
  html.web #rail.rail::before { left: calc(6% - 6px) !important; right: calc(6% - 6px) !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane { scrollbar-width: none; }
  html.web #pane.pane::-webkit-scrollbar { display: none; width: 0; }
}/* 19.11.2026 у всех товаров плашка фото одного размера, как у iPhone Duo: высота только от экрана; колонка подгоняется промежутками --sg (prodGaps) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .gallery { height: calc(100vh / var(--z, .8) - 261px) !important; min-height: 440px !important; max-height: none !important; align-self: start !important; }
  html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: var(--sg, 7.5cqw) !important; }
}/* «С этим … покупают» под карточкой на всю ширину */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > #xsell { grid-column: 1 / -1; margin-top: 48px; }
  html.web #pane.pane.prod > #xsell:empty { display: none; }
  html.web #pane.pane.prod > #xsell .xs-h { margin-bottom: 16px; font-size: 24px; font-weight: 600; }
  html.web #pane.pane.prod > #xsell .models { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .opt > .chips { width: 100% !important; box-sizing: border-box; }
  html.web #pane.pane.prod #pbody > .opt > .chips .chip:only-of-type { flex: 1 1 auto !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > #xsell .models { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 18px !important; }
  html.web #pane.pane.prod > #xsell .xs-w { height: auto !important; }
  html.web #pane.pane.prod > #xsell .xs-w .model { flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; gap: 8px; width: 100%; height: auto !important; padding: 20px 16px 22px !important; background: #f5f5f7 !important; border-radius: 22px !important; box-shadow: none !important; text-align: center; }
  html.web #pane.pane.prod > #xsell .xs-w .pic { position: relative; width: 100% !important; height: 220px !important; flex: none !important; margin: 0 0 6px !important; }
  html.web #pane.pane.prod > #xsell .xs-w .pic img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; transform: none !important; }
  html.web #pane.pane.prod > #xsell .xs-w .model b { font-size: 15px !important; }
  html.web #pane.pane.prod > #xsell .xs-w .model span { font-size: 14px !important; }
  html.web #pane.pane.prod > #xsell .xs-q { top: 14px !important; right: 14px !important; bottom: auto !important; left: auto !important; width: 36px !important; height: 36px !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > #xsell .xs-q { transform: none !important; }
  html.web #pane.pane.prod > #xsell .xs-w .model span { display: block !important; color: #6e6e73; }
}/* полоса моделей iPhone — прежней ширины (как до растягивания сайта: 1440 px вёрстки + 6 px поля), по центру */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .prow > .pmods { width: min(calc(100% + 12px), 1452px) !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
  html.web #pane.pane.prod > .prow { justify-content: center; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod > .prow > .pmods { flex: 0 1 auto !important; max-width: 1452px !important; }
}/* строка брендов (сжатая, внутри раздела и на товаре) — той же ширины, что полоса моделей iPhone, по центру */
@media (min-width: 1000px) {
  html.web #rail.rail.rail-mini { padding-left: max(6%, calc(50% - 720px)) !important; padding-right: max(6%, calc(50% - 720px)) !important; }
}/* обе полосы ещё на 10% уже (1440 → 1296 px вёрстки) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .prow > .pmods { width: min(calc(90% + 12px), 1308px) !important; max-width: 1308px !important; }
  html.web #rail.rail.rail-mini { padding-left: max(10.4%, calc(50% - 648px)) !important; padding-right: max(10.4%, calc(50% - 648px)) !important; }
}/* полоса моделей iPhone: до карточки +10% (28 → 31 px), и такой же отступ от надписей брендов сверху */
@media (min-width: 1000px) {
  html.web .shell #pane.pane.prod > .prow:has(> .pmods) { margin-top: 16.5px !important; margin-bottom: 31px !important; }
}/* стеклянный ползунок по центру строки: высота строки — по содержимому (раньше жёсткая высота была меньше плашки на рамку, плашка съезжала вниз) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .opt > .chips { height: auto !important; min-height: 0 !important; }
  /* галочка iPack — круг */
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck::before, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck::after { border-radius: 50% !important; }
}/* по центру — только полоса моделей iPhone; ссылка «‹ Раздел» на остальных товарах — слева, как была */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .prow:not(:has(> .pmods)) { justify-content: flex-start !important; }
}/* 19.11.2026 по просьбе владельца: Трейд Ин и iPack одного размера; между всеми блоками колонки один промежуток (6cqw) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-btn, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn { box-sizing: border-box !important; height: 19cqw !important; min-height: 19cqw !important; max-height: 19cqw !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  html.web #pane.pane.prod > .pbody > h1 { padding-bottom: 6cqw !important; }
  html.web #pane.pane.prod #pbody > .opt, html.web #pane.pane.prod #pbody > .pduo { margin-bottom: 6cqw !important; }
  html.web #pane.pane.prod #pbody > .pduo { gap: 6cqw !important; row-gap: 6cqw !important; }
  html.web #pane.pane.prod #pbody > .pbar { margin-top: 0 !important; }
}/* текст iPack как у Трейд Ин: название сверху (тот же размер), описание под ним (тот же размер и цвет) */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0 !important; padding: 0 9cqw !important; text-align: center !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b::after { content: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t { gap: 0 !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t b, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx b { display: block !important; font-size: 4.9cqw !important; font-weight: 600 !important; line-height: 1.25 !important; color: #1d1d1f !important; margin: 0 !important; letter-spacing: normal !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t small, html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx small { display: block !important; font-size: 3.7cqw !important; font-weight: 400 !important; line-height: 1.4 !important; color: #1d1d1f !important; opacity: 1 !important; margin: 1cqw 0 0 !important; letter-spacing: normal !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn { position: relative !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ipk-tx { position: absolute !important; inset: 0 !important; width: auto !important; height: auto !important; }
  html.web #pane.pane.prod #pbody > .pduo .ipk-btn .ck { z-index: 2; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-btn { position: relative !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-btn .ti-t { position: absolute !important; inset: 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; padding: 0 9cqw !important; }
}/* строка брендов (сжатая): одинаковый промежуток между словами, на 15% меньше прежнего среднего (108 → 92 px вёрстки), по центру */
@media (min-width: 1000px) {
  html.web #rail.rail.rail-mini { justify-content: center !important; column-gap: 92px !important; gap: 0 92px !important; }
  html.web #rail.rail.rail-mini .ri { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
}@media (min-width: 1000px) {
  html.web #rail.rail.rail-mini { column-gap: min(92px, calc((100% - 440px) / 7)) !important; gap: 0 min(92px, calc((100% - 440px) / 7)) !important; }
}@media (min-width: 1000px) {
  html.web #rail.rail.rail-mini { column-gap: 92px !important; gap: 0 92px !important; }
}
@media (min-width: 1000px) and (max-width: 1150px) {
  html.web #rail.rail.rail-mini { column-gap: 60px !important; gap: 0 60px !important; }
}/* выбранный Трейд Ин (.ti-on) — как плашки Трейд Ин / iPack: та же высота, текст по центру того же размера, синяя рамка «выбрано», крестик справа на месте галочки */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-on { position: relative !important; box-sizing: border-box !important; width: 100% !important; height: 19cqw !important; min-height: 19cqw !important; max-height: 19cqw !important; margin: 0 !important; padding: 0 !important; border: 2px solid #0071e3 !important; border-radius: 3.7cqw !important; background: #fff !important; box-shadow: none !important; display: block !important; animation: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-on::before, html.web #pane.pane.prod #pbody > .pduo .ti-on::after { display: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-on .ti-t { position: absolute !important; inset: 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; padding: 0 12cqw !important; text-align: center !important; gap: 0 !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-on .ti-t b { display: block !important; font-size: 4.9cqw !important; font-weight: 600 !important; line-height: 1.25 !important; color: #1d1d1f !important; margin: 0 !important; letter-spacing: normal !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  html.web #pane.pane.prod #pbody > .pduo .ti-on .ti-t small { display: block !important; font-size: 3.7cqw !important; font-weight: 400 !important; line-height: 1.4 !important; color: #1d1d1f !important; opacity: 1 !important; margin: 1cqw 0 0 !important; letter-spacing: normal !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-on .ti-x { position: absolute !important; right: 3.3cqw !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; z-index: 2; border-radius: 50% !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-on .ti-t b { text-overflow: clip !important; }
}/* полоса брендов с картинками — той же ширины, что полоса моделей iPhone, по центру */
@media (min-width: 1000px) {
  html.web #rail.rail:not(.rail-mini) { padding-left: max(10.4%, calc(50% - 648px)) !important; padding-right: max(10.4%, calc(50% - 648px)) !important; }
  html.web #rail.rail:not(.rail-mini)::before { left: calc(max(10.4%, calc(50% - 648px)) - 6px) !important; right: calc(max(10.4%, calc(50% - 648px)) - 6px) !important; }
}
/* 20.11.2026 компьютер: граница «потолка» (шапка + бренды) — линия, тающая к краям, и мягкая тень; видна, только когда страница уехала под шапку */
@media (min-width: 1000px) {
  html.web #ceil { position: absolute; z-index: 30; left: 0; right: 0; height: 18px; margin-top: -1px; pointer-events: none; opacity: 0; transition: opacity .35s ease;
    background:
      linear-gradient(90deg, rgba(0,0,0,0) 4%, rgba(0,0,0,.16) 22%, rgba(0,0,0,.16) 78%, rgba(0,0,0,0) 96%) top / 100% 1px no-repeat,
      radial-gradient(50% 100% at 50% 0, rgba(0,0,0,.08), rgba(0,0,0,0)) top / 100% 18px no-repeat; }
  html.web #ceil.on { opacity: 1; }
  /* стрелки галереи: светло-серый круг и скруглённый тёмно-серый шеврон, как на apple.com */
  html.web #pane.pane.prod > .gallery .g-arr { background: rgba(210, 210, 215, .64) !important; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
  html.web #pane.pane.prod > .gallery .g-arr:hover { background: rgba(223, 223, 227, .7) !important; }
  html.web #pane.pane.prod > .gallery .g-arr::before { width: 30px !important; height: 30px !important; border: 0 !important; transform: none !important; background: rgba(0, 0, 0, .56);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M12 7.5 19.5 15 12 22.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M12 7.5 19.5 15 12 22.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
  html.web #pane.pane.prod > .gallery .g-arr.l::before { transform: scaleX(-1) !important; }
}
/* 20.11.2026 рассрочка и кэшбэк на 9% ближе друг к другу */
@media (min-width: 1000px) { html.web #pane.pane.prod #pbody .pbar { column-gap: 2.37cqw !important; } }
/* 20.11.2026 рассрочка и кэшбэк на 6% ближе к синей кнопке */
@media (min-width: 1000px) { html.web #pane.pane.prod #pbody > .pbar #buy.pbuy, html.web #pane.pane.prod #pbody > .pbar .pqty { margin-top: 3.72cqw !important; } }
/* 20.11.2026 шапка на компьютере: логотип слева (на месте кабинета), справа корзина, за ней кабинет — его правый край по краю шапки */
@media (min-width: 1000px) {
  html.web .top .bar > .d-logo { position: static !important; left: auto !important; right: auto !important; top: auto !important; transform: none !important; margin: 0 !important; order: -2 !important; flex: 0 0 auto; }
  html.web .top .bar > .d-sp { order: -1 !important; flex: 1 1 auto !important; }
  html.web .top .bar > .cart-pill { order: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  html.web .top .bar > .who { order: 1 !important; margin-left: 0 !important; margin-right: 0 !important; }
}
/* 20.11.2026 название товара на 15% крупнее; бусины цветов как у Apple: вдавленный круг с тенью сверху, выбранный — синее кольцо 2px с белым зазором */
@media (min-width: 1000px) {
  html.web #pane.pane.prod > .pbody > h1 { font-size: 7.59cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07), inset 0 3px 5px rgba(0, 0, 0, .22) !important; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw.on::after { border-width: 2px !important; border-color: #0071e3 !important; }
}
/* 20.11.2026 кабинет в шапке: аватарка справа от приветствия, текст прижат к ней */
@media (min-width: 1000px) {
  html.web .top .bar > .who { flex-direction: row-reverse !important; }
  html.web .top .bar > .who .who-t { align-items: flex-end !important; text-align: right !important; }
  html.web .top .bar > .who .who-t small { justify-content: flex-end; }
}
/* 20.11.2026 логотип в шапке на 15% крупнее (обычной толщины) */
@media (min-width: 1000px) { html.web .top .bar > .d-logo img { width: 161px !important; height: auto !important; max-width: none !important; max-height: none !important; } }
/* 20.11.2026 баллы под приветствием — по левому краю, как «Доброй» */
@media (min-width: 1000px) {
  html.web .top .bar > .who .who-t { align-items: flex-start !important; text-align: left !important; }
  html.web .top .bar > .who .who-t small { justify-content: flex-start !important; }
}
/* 20.11.2026 значок (i) у eSIM — синий и толщина обводки как у плашки iPack */
@media (min-width: 1000px) { html.web #pane.pane.prod #pbody .sim-i { border: 2px solid #0071e3 !important; color: #0071e3 !important; } }
/* 20.11.2026 iPack на компьютере — тёмная капсула как кнопка покупки на apple.com: белый текст слева, синяя кнопка справа */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 3cqw !important; padding: 0 2.6cqw 0 6cqw !important; border: 0 !important; border-radius: 999px !important; background: #2a2a2d !important; box-shadow: none !important; color: #fff !important; text-align: left !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta):hover { background: #333336 !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta).off { background: #2a2a2d !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ipk-tx { position: static !important; inset: auto !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: .8cqw !important; min-width: 0; flex: 1 1 auto; padding: 0 !important; text-align: left !important; white-space: nowrap !important; transform: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ipk-tx b { display: block !important; font-size: 4.3cqw !important; font-weight: 600 !important; color: #fff !important; letter-spacing: -.01em; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ipk-tx b::after { content: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ipk-tx small { display: block !important; margin: 0 !important; font-size: 3.4cqw !important; color: rgba(255, 255, 255, .72) !important; opacity: 1 !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ck.ipk-cta { position: static !important; transform: none !important; inset: auto !important; flex: 0 0 auto; width: auto !important; height: 10.4cqw !important; min-width: 0 !important; margin: 0 !important; padding: 0 5cqw !important; border: 0 !important; border-radius: 999px !important; background: #0071e3 !important; color: #fff !important; font: 500 4.1cqw/1 inherit !important; font-family: inherit !important; font-size: 4.1cqw !important; font-weight: 500 !important; line-height: 1 !important; box-shadow: none !important; cursor: pointer; display: inline-flex !important; align-items: center; justify-content: center; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ck.ipk-cta:hover { background: #0077ed !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ck.ipk-cta::before, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ck.ipk-cta::after { content: none !important; display: none !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ck.ipk-cta { width: 11.4cqw !important; height: 11.4cqw !important; padding: 0 0 .5cqw !important; border-radius: 50% !important; font-size: 7.4cqw !important; font-weight: 300 !important; }
}
/* 20.11.2026 название товара на 2% меньше */
@media (min-width: 1000px) { html.web #pane.pane.prod > .pbody > h1 { font-size: 6.92cqw !important; } }
/* 20.11.2026 бусины ближе к apple.com: промежуток ~половина диаметра, тень внутри мягче, тонкий ободок */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .opt > .swatches { gap: 2.5cqw !important; }
  html.web #pane.pane.prod #pbody > .opt > .swatches .sw::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09), inset 0 2px 3px rgba(0, 0, 0, .15) !important; }
}
/* 20.11.2026 «Добавить в корзину» и счётчик − 1 + — той же высоты, что «Оформить заказ» в корзине (75.9) */
@media (min-width: 1000px) { html.web #pane.pane.prod #pbody > .pbar #buy.pbuy, html.web #pane.pane.prod #pbody > .pbar .pqty { height: 75.9px !important; min-height: 75.9px !important; } }
/* 20.11.2026 Трейд Ин на компьютере — такая же тёмная капсула, как iPack: справа синяя кнопка «Рассчитать»; выбранный Трейд Ин — капсула с круглой «−» */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill { position: relative; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 3cqw !important; padding: 0 2.6cqw 0 6cqw !important; border: 0 !important; border-radius: 999px !important; background: #2a2a2d !important; box-shadow: none !important; color: #fff !important; text-align: left !important; cursor: pointer; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill:hover { background: #333336 !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-t { position: static !important; inset: auto !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: .8cqw !important; min-width: 0; flex: 1 1 auto; padding: 0 !important; text-align: left !important; white-space: nowrap !important; transform: none !important; overflow: hidden; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-t b { display: block !important; max-width: 100%; overflow: hidden; font-size: 4.3cqw !important; font-weight: 600 !important; line-height: 1.2 !important; color: #fff !important; letter-spacing: -.01em; text-align: left !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-t small { display: block !important; margin: 0 !important; font-size: 3.4cqw !important; line-height: 1.2 !important; color: rgba(255, 255, 255, .72) !important; opacity: 1 !important; text-align: left !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill::before, html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill::after, html.web #pane.pane.prod #pbody > .pduo .ti-pill .chev { display: none !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill .ti-cta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 10.4cqw; padding: 0 5cqw; border-radius: 999px; background: #0071e3; color: #fff; font-size: 4.1cqw; font-weight: 500; line-height: 1; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill:hover .ti-cta { background: #0077ed; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-x.ti-cx { position: static !important; transform: none !important; inset: auto !important; flex: 0 0 auto; width: 11.4cqw !important; height: 11.4cqw !important; margin: 0 !important; padding: 0 0 .5cqw !important; border: 0 !important; border-radius: 50% !important; background: #0071e3 !important; color: #fff !important; font-family: inherit !important; font-size: 7.4cqw !important; font-weight: 300 !important; line-height: 1 !important; display: inline-flex !important; align-items: center; justify-content: center; box-shadow: none !important; cursor: pointer; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-x.ti-cx:hover { background: #0077ed !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-x.ti-cx::before, html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-x.ti-cx::after { content: none !important; display: none !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill { flex-direction: row !important; flex-wrap: nowrap !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-cta { position: static !important; margin: 0 !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-cta { display: inline-flex !important; height: 10.4cqw !important; padding: 0 5cqw !important; border-radius: 999px !important; background: #0071e3 !important; color: #fff !important; font-size: 4.1cqw !important; font-weight: 500 !important; line-height: 1 !important; }
}@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-t b, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ipk-tx b { line-height: 1.25 !important; letter-spacing: -.01em !important; }
  html.web #pane.pane.prod #pbody > .pduo .ti-pill.ti-pill.ti-pill .ti-t small, html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill:has(.ck.ipk-cta) .ipk-tx small { line-height: 1.4 !important; letter-spacing: 0 !important; }
}
/* 20.11.2026 рассрочка и кэшбэк ещё на 7% ближе друг к другу */
@media (min-width: 1000px) { html.web #pane.pane.prod #pbody .pbar { column-gap: 2.2cqw !important; } }
/* 20.11.2026 рассрочка и кэшбэк ещё на 3% ближе; «Цена» и сумма на 3% крупнее */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody .pbar { column-gap: 2.13cqw !important; }
  html.web #pane.pane.prod .pbar .pbn::before, html.web #pane.pane.prod .pbar .pbn b { font-size: 6.8cqw !important; }
}
/* 20.11.2026 надпись «Добавить в корзину» чуть жирнее */
@media (min-width: 1000px) { html.web #pane.pane.prod #pbody > .pbar #buy.pbuy { font-weight: 500 !important; } }
/* 20.11.2026 Трейд Ин на компьютере: окно вырастает из тёмной капсулы (призрак .ti-ghost) и само тёмное, в цвет капсулы; выбор — синей обводкой, кнопки синие */
.ti-ghost { position: fixed; z-index: 41; pointer-events: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
@media (min-width: 1000px) {
  html.web .sheet-bg.ti-morph .sheet { transition: none !important; transform: none !important; }
  html.web .sheet.ti.ti-desk { background: #161617 !important; color: #f5f5f7 !important; }
  html.web .ti-desk .ti-side { background: #2a2a2d !important; }
  html.web .ti-desk .ti-side .tix-ic { background: rgba(255, 255, 255, .1) !important; }
  html.web .ti-desk .ti-top b, html.web .ti-desk .tix-lead, html.web .ti-desk .tix-lbl, html.web .ti-desk .ti-step > h3, html.web .ti-desk .ti-res, html.web .ti-desk .ti-sum { color: #f5f5f7 !important; }
  html.web .ti-desk .ti-cap, html.web .ti-desk .ti-cap em, html.web .ti-desk .ti-step > .sub, html.web .ti-desk .ti-res > small, html.web .ti-desk .ti-res .sub { color: rgba(255, 255, 255, .56) !important; }
  html.web .ti-desk .ti-back { color: #2997ff !important; }
  html.web .ti-desk .ti-back svg, html.web .ti-desk .ti-back .bkv path { stroke: #2997ff !important; }
  html.web .ti-desk .ti-close { background: rgba(255, 255, 255, .12) !important; }
  html.web .ti-desk .ti-close:hover { background: rgba(255, 255, 255, .2) !important; }
  html.web .ti-desk .ti-close::before, html.web .ti-desk .ti-close::after { background: #f5f5f7 !important; }
  html.web .ti-desk .ti-prog { background: rgba(255, 255, 255, .12) !important; }
  html.web .ti-desk #tiProg { background: #0071e3 !important; }
  html.web .ti-desk .tix-gen, html.web .ti-desk .tix-m, html.web .ti-desk .tix-p, html.web .ti-desk .ti-opt, html.web .ti-desk .tix-oth { background: #2a2a2d !important; color: #f5f5f7 !important; border-color: transparent !important; box-shadow: none !important; }
  html.web .ti-desk .tix-gen small, html.web .ti-desk .tix-oth small, html.web .ti-desk .ti-opt small { color: rgba(255, 255, 255, .56) !important; }
  html.web .ti-desk .tix-gen b, html.web .ti-desk .tix-oth b, html.web .ti-desk .ti-opt b, html.web .ti-desk .tix-m span { color: #f5f5f7 !important; }
  html.web .ti-desk .tix-oth .chev { color: rgba(255, 255, 255, .56) !important; }
  html.web .ti-desk .tix-gen:hover:not(.on), html.web .ti-desk .tix-m:hover:not(.on), html.web .ti-desk .tix-p:hover:not(.on), html.web .ti-desk .ti-opt:hover:not(.on), html.web .ti-desk .tix-oth:hover { background: #333336 !important; }
  html.web .ti-desk .tix-gen.on, html.web .ti-desk .tix-m.on, html.web .ti-desk .tix-p.on, html.web .ti-desk .ti-opt.on { background: #2a2a2d !important; color: #fff !important; box-shadow: inset 0 0 0 2px #0071e3 !important; }
  html.web .ti-desk .tix-gen.on small { color: rgba(255, 255, 255, .7) !important; }
  html.web .ti-desk .ti-opt i { border-color: rgba(255, 255, 255, .3) !important; }
  html.web .ti-desk .ti-opt.on i { background-color: #0071e3 !important; border-color: #0071e3 !important; }
  html.web .ti-desk .gl-ind { background: rgba(255, 255, 255, .14) !important; box-shadow: inset 0 0 0 2px #0071e3 !important; }
  html.web .ti-desk .tix-foot { background: linear-gradient(rgba(22, 22, 23, 0), #161617 30%) !important; }
  html.web .ti-desk .buy { background: #0071e3 !important; color: #fff !important; border-radius: 999px !important; opacity: 1 !important; }
  html.web .ti-desk .buy:hover:not(:disabled) { background: #0077ed !important; }
  html.web .ti-desk .buy:disabled { background: #2a2a2d !important; color: rgba(255, 255, 255, .35) !important; }
  html.web .ti-desk .buy.alt { background: #2a2a2d !important; color: #f5f5f7 !important; }
  html.web .ti-desk .ti-new { background: #2a2a2d !important; color: #f5f5f7 !important; }
  html.web .ti-desk .ti-new s, html.web .ti-desk .ti-new span { color: rgba(255, 255, 255, .56) !important; }
  html.web .ti-desk .ti-new b { color: #f5f5f7 !important; }
  html.web .ti-desk .ti-badge { background: rgba(0, 113, 227, .16) !important; }
  html.web .ti-desk .ti-stage { scrollbar-color: rgba(255, 255, 255, .2) transparent; }
}
/* 20.11.2026 «Добавить в корзину»: волна искажения из центра (см. dwaveStart в app.js) */
@property --r { syntax: '<length>'; inherits: false; initial-value: 0px; }
.dwave, .dwave-ring { position: fixed; z-index: 35; pointer-events: none; }
.dwave { filter: url(#dwave); }
.dwave-in { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 3px)); mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 3px)); }
.dwave-ring { overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) calc(var(--r) - 16px), rgba(255, 255, 255, .55) var(--r), rgba(255, 255, 255, 0) calc(var(--r) + 10px)); mix-blend-mode: screen; }.dwave { filter: none !important; overflow: hidden; }
.dwave-fx { position: absolute; inset: -8px; filter: url(#dwave); }
.dwave-fx > .dwave-in { inset: 8px; }
/* 20.11.2026 iPack снят: капсула и синяя «+» яркие, приглушён только текст */
@media (min-width: 1000px) {
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill.off:has(.ck.ipk-cta) { opacity: 1 !important; }
  html.web #pane.pane.prod #pbody > .pduo .stk.ip.ipk-btn.ipk-pill.off:has(.ck.ipk-cta) .ipk-tx { opacity: .6 !important; }
}

/* 20.11.2026 компьютер: плитка главной ↔ товар — вся плитка растягивается в галерею, главная гаснет, правая колонка поднимается следом */
html.vt-card::view-transition-group(vcard) { animation-duration: .5s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); z-index: 5; }
html.vt-card::view-transition-old(vcard), html.vt-card::view-transition-new(vcard) { width: 100%; height: 100%; object-fit: fill; mix-blend-mode: normal; }
html.vt-card::view-transition-old(vcard) { animation: vtcOut .18s ease-out both; }
html.vt-card::view-transition-new(vcard) { animation: vtcIn .3s ease-out .08s both; }
html.vt-card::view-transition-group(hero) { animation-duration: .5s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); }
html.vt-card::view-transition-old(root) { animation: vtcRootOut .14s ease-out both; }
html.vt-card::view-transition-new(root) { animation: vtcIn .24s ease-out .14s both; mix-blend-mode: normal; }
html.vt-card::view-transition-group(vinfo) { animation: none; }
html.vt-card::view-transition-new(vinfo) { animation: vtcRise .45s cubic-bezier(.32, .72, 0, 1) .18s both; }
html.vt-card .top { view-transition-name: vhead; }
html.vt-card::view-transition-group(vhead), html.vt-card::view-transition-old(vhead), html.vt-card::view-transition-new(vhead) { animation: none; }
html.vt-card::view-transition-old(vhead) { display: none; }
html.vt-card::view-transition-old(vinfo) { animation: vtcOut .16s ease-out both; }
@keyframes vtcOut { to { opacity: 0; } }
@keyframes vtcIn { from { opacity: 0; } }
@keyframes vtcRootOut { to { opacity: 0; transform: scale(.98); } }
@keyframes vtcRise { from { opacity: 0; transform: translateY(18px); } }html.vt-card::view-transition-old(hero) { animation: vtcOut .16s ease-out both; }
html.vt-card::view-transition-new(hero) { animation: vtcIn .16s ease-out both; mix-blend-mode: normal; }
/* 20.11.2026 компьютер: полоса брендов ↔ строка названий. Серая подложка перетекает в полосу моделей айфона, названия встают строкой, модели проявляются по очереди */
html.vt-rail::view-transition-group(vpm) { animation-duration: .5s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); z-index: 4; }
html.vt-rail::view-transition-old(vpm), html.vt-rail::view-transition-new(vpm) { width: 100%; height: 100%; object-fit: fill; mix-blend-mode: normal; }
html.vt-rail::view-transition-old(vpm) { animation: vtcOut .22s ease-out both; }
html.vt-rail::view-transition-new(vpm) { animation: vtcIn .22s ease-out .06s both; }
html.vt-rail::view-transition-old(vpm):only-child { transform-origin: 50% 0; animation: vtrFold .34s cubic-bezier(.32, .72, 0, 1) both; }
html.vt-rail::view-transition-new(vpm):only-child { transform-origin: 50% 0; animation: vtrUnfold .42s cubic-bezier(.32, .72, 0, 1) .06s both; }
html.vt-rail::view-transition-group(vbrand) { animation-duration: .45s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); z-index: 6; }
html.vt-rail::view-transition-old(vbrand) { animation: vtcOut .14s ease-out both; }
html.vt-rail::view-transition-new(vbrand) { animation: vtrDrop .4s cubic-bezier(.32, .72, 0, 1) .08s both; mix-blend-mode: normal; }
html.vt-rail::view-transition-new(vbrand):only-child { animation: vtrDrop .4s cubic-bezier(.32, .72, 0, 1) .08s both; }
@keyframes vtrFold { to { opacity: 0; transform: scaleY(.35); } }
@keyframes vtrUnfold { from { opacity: 0; transform: scaleY(.35); } }
@keyframes vtrDrop { from { opacity: 0; transform: translateY(10px); } }
html.web .pmods.pm-stag > .pm, html.web .pmods.pm-stag > .pm-ind { opacity: 0 !important; transform: translateY(8px); }
html.web .pmods.pm-go > .pm, html.web .pmods.pm-go > .pm-ind { transition: opacity .32s ease-out, transform .45s cubic-bezier(.32, .72, 0, 1) !important; }
html.web .pmods.pm-go > .pm-ind { transition-delay: .05s !important; }
html.web .pmods.pm-go > .pm:nth-child(2) { transition-delay: .03s !important; }
html.web .pmods.pm-go > .pm:nth-child(3) { transition-delay: .07s !important; }
html.web .pmods.pm-go > .pm:nth-child(4) { transition-delay: .11s !important; }
html.web .pmods.pm-go > .pm:nth-child(5) { transition-delay: .15s !important; }
html.web .pmods.pm-go > .pm:nth-child(6) { transition-delay: .19s !important; }
html.web .pmods.pm-go > .pm:nth-child(7) { transition-delay: .23s !important; }
html.web .pmods.pm-go > .pm:nth-child(8) { transition-delay: .27s !important; }
html.web .pmods.pm-go > .pm:nth-child(9) { transition-delay: .31s !important; }
html.web .pmods.pm-go > .pm:nth-child(n+10) { transition-delay: .35s !important; }html.vt-rail::view-transition-old(root) { animation: vtcOut .14s ease-out both; }
html.vt-rail::view-transition-new(root) { animation: vtcIn .24s ease-out .12s both; mix-blend-mode: normal; }html.vt-rail .top { view-transition-name: vhead; }
html.vt-rail::view-transition-group(vhead), html.vt-rail::view-transition-old(vhead), html.vt-rail::view-transition-new(vhead) { animation: none; }
html.vt-rail::view-transition-old(vhead) { display: none; }/* назад к брендам: модели гаснут до перелёта, иконки брендов проявляются по очереди после */
html.web .pmods.pm-out > .pm, html.web .pmods.pm-out > .pm-ind { opacity: 0 !important; transition: opacity .14s ease-out !important; }
html.web #rail.rail-stag > .ri, html.web #rail.rail-stag > .rail-ind { opacity: 0 !important; transform: translateY(6px); }
html.web #rail.rail-go > .ri { transition: opacity .3s ease-out, transform .42s cubic-bezier(.32, .72, 0, 1) !important; }
html.web #rail.rail-go > .rail-ind { transition: opacity .3s ease-out .05s !important; }
html.web #rail.rail-go > .ri:nth-of-type(1) { transition-delay: 0s !important; }
html.web #rail.rail-go > .ri:nth-of-type(2) { transition-delay: .035s !important; }
html.web #rail.rail-go > .ri:nth-of-type(3) { transition-delay: .07s !important; }
html.web #rail.rail-go > .ri:nth-of-type(4) { transition-delay: .105s !important; }
html.web #rail.rail-go > .ri:nth-of-type(5) { transition-delay: .14s !important; }
html.web #rail.rail-go > .ri:nth-of-type(6) { transition-delay: .175s !important; }
html.web #rail.rail-go > .ri:nth-of-type(7) { transition-delay: .21s !important; }
html.web #rail.rail-go > .ri:nth-of-type(n+8) { transition-delay: .245s !important; }
html.vt-rail-out::view-transition-old(vpm) { animation: vtcOut .2s ease-out both; }
html.vt-rail-out::view-transition-new(vpm) { animation: vtcIn .2s ease-out both; }
/* 20.11.2026 компьютер, iPhone и iPad: «Приобретайте вместе с …» под фото, две плашки в ширину фото; правая колонка прилипает и едет вниз вслед за страницей */
html.web .pane.prod > .pbody { grid-row: 2 / span 2 !important; position: sticky !important; top: 20px !important; align-self: start !important; }
html.web .pane.prod > .pacc { grid-column: 1 !important; grid-row: 3 !important; margin: 72px 0 56px; text-align: center; min-width: 0; }
html.web .pacc h2 { margin: 0; font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: #1d1d1f; }
html.web .pacc .pacc-s { margin: 10px 0 0; font-size: 19px; font-weight: 500; color: #1d1d1f; }
html.web .pacc .pacc-g { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
html.web .pacc .pacc-c { position: relative; background: #f6f6f6; border-radius: 22px; overflow: hidden; }
html.web .pacc .pacc-a { display: flex; flex-direction: column; align-items: center; padding: 34px 28px 0; color: inherit; text-decoration: none; height: 100%; box-sizing: border-box; }
html.web .pacc .pacc-a b { font-size: 32px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; color: #1d1d1f; }
html.web .pacc .pacc-a span { margin-top: 10px; font-size: 15px; line-height: 1.35; color: #86868b; max-width: 92%; }
html.web .pacc .pacc-a img { display: block; width: 72%; max-width: 420px; aspect-ratio: 1374 / 1191; object-fit: contain; margin: 18px auto 8px; transition: transform .5s cubic-bezier(.32, .72, 0, 1); }
html.web .pacc .pacc-c:hover .pacc-a img { transform: scale(1.03); }
html.web .pacc .xs-q { position: absolute; right: 18px; bottom: 18px; top: auto; left: auto; }html.web .pacc .pacc-a img { margin: auto auto 8px !important; padding-top: 18px; }
html.web .pacc .pacc-a span { max-width: 100%; }html.web .pacc .pacc-a img { mix-blend-mode: darken; } /* фон картинки сливается с плашкой: без светлого прямоугольника */
/* 20.11.2026 окно Трейд Ин на компьютере на 12% больше (всё содержимое пропорционально) */
html.web .sheet.ti.ti-desk { zoom: 1.12; width: min(1000px, calc(100vw / var(--z, .8) / 1.12 - 86px)) !important; height: min(660px, calc(88vh / var(--z, .8) / 1.12)) !important; }
/* 20.11.2026 окно iPack на компьютере: как Трейд Ин — тёмное, того же размера, вырастает из своей капсулы. Слева карточка набора, справа текст, сравнение цен и кнопки */
@media (min-width: 1000px) {
  html.web .sheet.ipk-sheet.ipk-desk { zoom: 1.12; max-width: none !important; width: min(1000px, calc(100vw / var(--z, .8) / 1.12 - 86px)) !important; height: min(660px, calc(88vh / var(--z, .8) / 1.12)) !important; min-height: 0 !important; display: grid !important; grid-template-columns: 330px minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr); column-gap: 36px; align-content: start; padding: 24px 32px 24px 24px !important; overflow: hidden !important; background: #161617 !important; color: #f5f5f7 !important; border-radius: 28px !important; }
  html.web .ipk-desk > .ipk-card { grid-column: 1; grid-row: 1 / 5 !important; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 28px 22px 22px !important; }
  html.web .ipk-desk > h3 { grid-column: 2; margin: 18px 0 0 !important; font-size: 30px !important; font-weight: 600; letter-spacing: -.02em; color: #f5f5f7 !important; text-align: left; }
  html.web .ipk-desk > .sub { grid-column: 2; margin: 14px 0 0 !important; text-align: left !important; font-size: 15px !important; line-height: 1.5; color: rgba(255, 255, 255, .62) !important; }
  html.web .ipk-desk > .ipk-cmp { grid-column: 2; margin: 22px 0 0 !important; gap: 8px; }
  html.web .ipk-desk .ipk-cmp > div { background: #2a2a2d !important; padding: 14px 18px !important; font-size: 16px !important; color: #f5f5f7; }
  html.web .ipk-desk .ipk-cmp span { color: rgba(255, 255, 255, .62) !important; font-size: 15px !important; }
  html.web .ipk-desk .ipk-cmp s { color: rgba(255, 255, 255, .45) !important; }
  html.web .ipk-desk .ipk-cmp .win { box-shadow: inset 0 0 0 2px #0071e3; }
  html.web .ipk-desk .ipk-cmp .win b { color: #2997ff !important; font-size: 19px !important; }
  html.web .ipk-desk .ipk-cmp .save b { color: #30d158 !important; }
  html.web .ipk-desk > .ipk-foot { grid-column: 2; align-self: end; position: static !important; background: none !important; box-shadow: none !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px !important; }
  html.web .ipk-desk > .ipk-foot:not(:has(.alt)) { grid-template-columns: 1fr; }
  html.web .ipk-desk .buy { margin: 0 !important; background: #0071e3 !important; color: #fff !important; border-radius: 999px !important; }
  html.web .ipk-desk .buy:hover { background: #0077ed !important; }
  html.web .ipk-desk .buy.alt { background: #2a2a2d !important; color: #f5f5f7 !important; }
  html.web .ipk-desk .buy.alt:hover { background: #333336 !important; }
  /* своя волна появления у окна (после вылета); плитки набора выскакивают, когда окно уже село */
  html.web .ipk-bg.on .ipk-desk h3, html.web .ipk-bg.on .ipk-desk .sub, html.web .ipk-bg.on .ipk-desk .ipk-cmp, html.web .ipk-bg.on .ipk-desk .ipk-foot, html.web .ipk-bg.on .ipk-desk .ipk-h, html.web .ipk-bg.on .ipk-desk .ipk-warr { animation: none !important; }
  html.web .ipk-bg.on .ipk-desk .ipk-t { animation-delay: calc(.62s + var(--i) * .09s) !important; }
  html.web .ipk-bg.on .ipk-desk .ipk-warr::after { animation-delay: 1.1s !important; }
  html.web .sheet-bg.ipk-bg.ti-morph .sheet { transition: none !important; transform: none !important; }
}
/* 20.11.2026 переход плитка → товар: строка брендов стоит на месте (раньше гасла и проявлялась вместе со страницей — казалось, что грузится заново) */
html.vt-card:not(.vt-rail) #rail { view-transition-name: vrailfix; }
html.vt-card::view-transition-group(vrailfix), html.vt-card::view-transition-old(vrailfix), html.vt-card::view-transition-new(vrailfix) { animation: none; }
html.vt-card::view-transition-old(vrailfix) { display: none; }

@media (min-width: 1000px) {
  /* окно iPack: служебный «язычок» шторки занимал ячейку сетки и сдвигал текст вниз — убираем; заголовок вровень с верхом карточки, кнопки вровень с низом */
  html.web .ipk-desk::before, html.web .ipk-desk::after, html.web .ipc-desk::before, html.web .ipc-desk::after, html.web .lt-desk::before, html.web .lt-desk::after { display: none !important; content: none !important; }
  html.web .ipk-desk { grid-template-rows: auto auto auto minmax(0, 1fr) !important; }
  html.web .ipk-desk > h3 { grid-row: 1 !important; margin-top: 8px !important; }
  html.web .ipk-desk > .sub { grid-row: 2 !important; }
  html.web .ipk-desk > .ipk-cmp { grid-row: 3 !important; }
  html.web .ipk-desk > .ipk-foot { grid-row: 4 !important; align-self: end !important; }

  /* окно «Настрой свой iPack»: тёмное, того же размера, слева карточка набора, справа список с прокруткой и итог внизу */
  html.web .sheet.ipc-sheet.ipc-desk { zoom: 1.12; max-width: none !important; width: min(1000px, calc(100vw / var(--z, .8) / 1.12 - 86px)) !important; height: min(660px, calc(88vh / var(--z, .8) / 1.12)) !important; min-height: 0 !important; display: grid !important; grid-template-columns: 330px minmax(0, 1fr); column-gap: 36px; padding: 24px 32px 24px 24px !important; overflow: hidden !important; background: #161617 !important; color: #f5f5f7 !important; border-radius: 28px !important; }
  html.web .ipc-desk > .ipk-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 28px 22px 22px !important; }
  html.web .ipc-desk .ipc-r { display: flex; flex-direction: column; min-height: 0; }
  html.web .ipc-desk h3 { margin: 8px 0 0 !important; font-size: 30px !important; font-weight: 600; letter-spacing: -.02em; text-align: left !important; color: #f5f5f7 !important; }
  html.web .ipc-desk .sub { margin: 10px 0 16px !important; text-align: left !important; font-size: 15px !important; color: rgba(255, 255, 255, .62) !important; }
  html.web .ipc-desk .ipc-list { flex: 1; min-height: 0; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
  html.web .ipc-desk .ipc-t { color: rgba(255, 255, 255, .56) !important; }
  html.web .ipc-desk .ipc-o { background: #2a2a2d !important; color: #f5f5f7 !important; }
  html.web .ipc-desk .ipc-o:hover:not(.on) { background: #333336 !important; }
  html.web .ipc-desk .ipc-o.on { background: #0071e3 !important; color: #fff !important; }
  html.web .ipc-desk .ipc-w { background: #2a2a2d !important; border-color: transparent !important; color: #f5f5f7 !important; }
  html.web .ipc-desk .ipc-w.on { box-shadow: inset 0 0 0 2px #0071e3; }
  html.web .ipc-desk .ipc-w small { color: rgba(255, 255, 255, .56); opacity: 1; }
  html.web .ipc-desk .ipc-sw { background: rgba(255, 255, 255, .2) !important; }
  html.web .ipc-desk .ipc-w.on .ipc-sw { background: #0071e3 !important; }
  html.web .ipc-desk .ipc-bot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; padding-top: 14px; }
  html.web .ipc-desk .ipc-sum { margin: 0 !important; background: #2a2a2d !important; color: #f5f5f7; align-items: center; padding: 0 18px !important; border-radius: 999px !important; }
  html.web .ipc-desk .ipc-sum span { color: rgba(255, 255, 255, .62); }
  html.web .ipc-desk #ipcOk { position: static !important; box-shadow: none !important; margin: 0 !important; background: #0071e3 !important; color: #fff !important; border-radius: 999px !important; }
  html.web .sheet-bg.ipc-bg.ti-morph .sheet { transition: none !important; transform: none !important; }

  /* светлые окна (eSIM, рассрочка): того же размера, что Трейд Ин, вылетают из своей кнопки */
  .ti-ghost.ti-ghost-l { box-shadow: 0 30px 80px rgba(0, 0, 0, .18); }
  html.web .sheet.lt-desk { zoom: 1.12; max-width: none !important; width: min(1000px, calc(100vw / var(--z, .8) / 1.12 - 86px)) !important; height: min(660px, calc(88vh / var(--z, .8) / 1.12)) !important; min-height: 0 !important; max-height: none !important; background: #f2f3f7 !important; border-radius: 28px !important; padding: 24px !important; overflow-y: auto !important; transition: none !important; transform: none !important; }
  html.web .sheet.lt-desk > .os-grab { display: none !important; }
  html.web .sheet-bg.ti-morph .sheet.lt-desk { transition: none !important; }
  /* рассрочка: шапка во всю ширину, ниже срок и «как оформить» рядом, кнопка справа внизу */
  html.web .sheet.inst-sheet.lt-desk { display: grid !important; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
  html.web .inst-sheet.lt-desk > .wd-hero { grid-column: 1 / -1; margin: 0 !important; }
  html.web .inst-sheet.lt-desk > .inst-calc { grid-column: 1; grid-row: 2; margin: 0 !important; display: flex; flex-direction: column; justify-content: center; }
  html.web .inst-sheet.lt-desk > .wd-s:not(.inst-calc) { grid-column: 2; grid-row: 2; margin: 0 !important; display: flex; flex-direction: column; justify-content: center; }
  html.web .inst-sheet.lt-desk > #wdClose { grid-column: 2; grid-row: 3; margin: 0 !important; }
  html.web .inst-sheet.lt-desk .ic-sum b { font-size: 56px !important; }
  html.web .inst-sheet.lt-desk .wd-s p { font-size: 17px !important; line-height: 1.5; }
}@media (min-width: 1000px) {
  html.web .sheet.ipk-sheet.ipk-desk { grid-template-rows: minmax(0, 1fr) !important; align-content: stretch !important; }
  html.web .ipk-desk > .ipk-card { grid-row: 1 !important; }
  html.web .ipk-desk > .ipk-r { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; min-height: 0; }
  html.web .ipk-desk .ipk-r > h3 { margin: 8px 0 0 !important; font-size: 30px !important; font-weight: 600; letter-spacing: -.02em; color: #f5f5f7 !important; text-align: left; }
  html.web .ipk-desk .ipk-r > .sub { margin: 14px 0 0 !important; text-align: left !important; font-size: 15px !important; line-height: 1.5; color: rgba(255, 255, 255, .62) !important; }
  html.web .ipk-desk .ipk-r > .ipk-cmp { margin: 22px 0 0 !important; gap: 8px; }
  html.web .ipk-desk .ipk-r > .ipk-foot { margin-top: auto !important; position: static !important; background: none !important; box-shadow: none !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px !important; }
  html.web .ipk-desk .ipk-r > .ipk-foot:not(:has(.alt)) { grid-template-columns: 1fr; }
  html.web .ipc-desk { grid-template-rows: minmax(0, 1fr) !important; }
}@media (min-width: 1000px) {
  html.web .sheet.lt-desk > * { flex-shrink: 0 !important; }
  html.web .es-sheet.lt-desk { gap: 12px !important; }
  html.web .es-sheet.lt-desk .es-r { padding-top: 7px !important; padding-bottom: 7px !important; }
  html.web .es-sheet.lt-desk .es-pro { padding-top: 14px !important; padding-bottom: 14px !important; }
}@media (min-width: 1000px) {
  html.web .sheet.es-sheet.lt-desk { grid-template-columns: minmax(0, 1fr) 240px !important; grid-auto-rows: auto !important; align-content: start; gap: 10px !important; }
  html.web .es-sheet.lt-desk > * { min-height: fit-content !important; }
  html.web .es-sheet.lt-desk > .es-hero, html.web .es-sheet.lt-desk > .es-grid, html.web .es-sheet.lt-desk > .es-cmp { grid-column: 1 / -1 !important; margin: 0 !important; }
  html.web .es-sheet.lt-desk > .es-help { grid-column: 1 !important; margin: 0 !important; }
  html.web .es-sheet.lt-desk > #wdClose { grid-column: 2 !important; margin: 0 !important; align-self: stretch; height: auto !important; }
  html.web .es-sheet.lt-desk .es-r { padding-top: 5px !important; padding-bottom: 5px !important; }
}@media (min-width: 1000px) {
  html.web .es-sheet.lt-desk > .es-help { width: auto !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; margin-right: 0 !important; }
  html.web .es-sheet.lt-desk > #wdClose { width: auto !important; }
}@media (min-width: 1000px) {
  html.web .inst-sheet.lt-desk > .wd-s { justify-content: flex-start !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > h5 { margin-bottom: auto !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-ticks { margin-bottom: auto !important; }
  html.web .es-sheet.lt-desk > #wdClose { width: 100% !important; justify-self: stretch !important; }
}
/* 20.11.2026 полоса брендов ↔ полоса моделей: одна серая плашка съезжает вниз и растягивается (назад — сжимается и поднимается); иконки брендов тают поверх неё */
.vt-plate { position: fixed; z-index: 2; display: block; background: #f5f5f7; pointer-events: none; view-transition-name: vplate; }
.vt-plate.vt-plate-gone { height: 0 !important; opacity: 0; }
html.vt-rail::view-transition-group(vplate) { animation-duration: .52s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); z-index: 3; }
html.vt-rail::view-transition-old(vplate), html.vt-rail::view-transition-new(vplate) { width: 100%; height: 100%; object-fit: fill; animation: none; mix-blend-mode: normal; }
html.vt-rail::view-transition-new(vplate):only-child { animation: vtcIn .3s ease-out both; }
html.vt-rail::view-transition-old(vplate):only-child { animation: vtcOut .3s ease-out both; }
html.vt-rail::view-transition-group(vicons) { animation: none; z-index: 4; }
html.vt-rail::view-transition-old(vicons) { animation: vtcOut .16s ease-out both; }
/* прежний перелёт снимков полосы больше не используется */
html.vt-rail .pmods { view-transition-name: none; }

@media (min-width: 1000px) {
  /* окно iPack: строки сравнения растягиваются до кнопок, без пустоты */
  html.web .ipk-desk .ipk-r > .ipk-cmp { flex: 1; display: grid !important; grid-auto-rows: 1fr; gap: 10px !important; margin: 24px 0 0 !important; }
  html.web .ipk-desk .ipk-r > .ipk-cmp > div { align-items: center !important; padding: 0 22px !important; font-size: 18px !important; border-radius: 18px !important; }
  html.web .ipk-desk .ipk-r > .ipk-cmp span { font-size: 17px !important; }
  html.web .ipk-desk .ipk-r > .ipk-cmp s { font-size: 19px !important; }
  html.web .ipk-desk .ipk-r > .ipk-cmp .win b { font-size: 26px !important; }
  html.web .ipk-desk .ipk-r > .ipk-cmp .save b { font-size: 20px !important; }
  html.web .ipk-desk .ipk-r > .ipk-foot { margin-top: 0 !important; }
}@media (min-width: 1000px) {
  /* окно eSIM: низ — одна синяя плашка «Всё настроим за вас» во всю ширину, «Понятно» — белая кнопка внутри неё справа */
  html.web .es-sheet.lt-desk > .es-help { grid-column: 1 / -1 !important; grid-row: 4 !important; padding-right: 250px !important; }
  html.web .es-sheet.lt-desk > #wdClose { grid-column: 2 !important; grid-row: 4 !important; align-self: center !important; justify-self: end !important; width: 200px !important; height: 50px !important; min-height: 0 !important; margin: 0 18px 0 0 !important; position: relative; z-index: 1; background: #fff !important; color: #1d3f8f !important; border-radius: 999px !important; font-weight: 600; box-shadow: 0 4px 14px rgba(10, 30, 90, .25); }
  html.web .es-sheet.lt-desk > #wdClose:hover { background: #eef3ff !important; }
}@media (min-width: 1000px) {
  /* рассрочка: одна колонка — ползунок во всю ширину, «как оформить» под ним, кнопка во всю ширину */
  html.web .sheet.inst-sheet.lt-desk { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto minmax(0, 1fr) auto auto !important; }
  html.web .inst-sheet.lt-desk > .wd-hero { grid-column: 1 !important; grid-row: 1 !important; }
  html.web .inst-sheet.lt-desk > .inst-calc { grid-column: 1 !important; grid-row: 2 !important; justify-content: center !important; padding: 22px 48px !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > h5 { margin-bottom: 0 !important; align-self: flex-start; }
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-ticks { margin-bottom: 0 !important; }
  html.web .inst-sheet.lt-desk > .wd-s:not(.inst-calc) { grid-column: 1 !important; grid-row: 3 !important; }
  html.web .inst-sheet.lt-desk > #wdClose { grid-column: 1 !important; grid-row: 4 !important; width: 100% !important; }
  html.web .inst-sheet.lt-desk .ic-sum b { font-size: 64px !important; }
  html.web .inst-sheet.lt-desk .ic-ticks span { font-size: 17px; }
}@media (min-width: 1000px) {
  /* синяя карточка iPack: крупнее плитки, содержимое распределено по всей высоте */
  html.web .sheet.ipk-sheet.ipk-desk, html.web .sheet.ipc-sheet.ipc-desk { grid-template-columns: 370px minmax(0, 1fr) !important; }
  html.web .ipk-desk > .ipk-card, html.web .ipc-desk > .ipk-card { justify-content: space-evenly !important; padding: 26px 22px !important; }
  html.web .ipk-desk .ipk-h, html.web .ipc-desk .ipk-h { font-size: 46px !important; }
  html.web .ipk-desk .ipk-warr, html.web .ipc-desk .ipk-warr { margin: 0 !important; }
  html.web .ipk-desk .ipk-grid, html.web .ipc-desk .ipk-grid { gap: 12px !important; }
}@media (min-width: 1000px) {
  html.web .es-sheet.lt-desk > .es-help { margin-top: 10px !important; }
  /* рассрочка: заголовки обеих карточек по одному краю; ползунок и сумма — с отступом внутри */
  html.web .inst-sheet.lt-desk > .wd-s { padding: 18px 20px !important; }
  html.web .inst-sheet.lt-desk > .inst-calc { justify-content: flex-start !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > h5 { align-self: stretch !important; text-align: left; margin: 0 !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-sum { margin-top: auto !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-sum, html.web .inst-sheet.lt-desk > .inst-calc > input, html.web .inst-sheet.lt-desk > .inst-calc > .ic-ticks { margin-left: 28px !important; margin-right: 28px !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-ticks { margin-bottom: auto !important; }
  /* волны появления моделей и иконок брендов — быстрые, без долгой «полупрозрачной тени» */
  html.web .pmods.pm-go > .pm, html.web .pmods.pm-go > .pm-ind { transition: opacity .18s ease-out, transform .26s cubic-bezier(.32, .72, 0, 1) !important; }
  html.web #rail.rail-go > .ri { transition: opacity .18s ease-out, transform .26s cubic-bezier(.32, .72, 0, 1) !important; }
  html.web .pmods.pm-go > .pm:nth-child(n) { transition-delay: 0s !important; }
  html.web .pmods.pm-go > .pm:nth-child(n+4) { transition-delay: .03s !important; }
  html.web .pmods.pm-go > .pm:nth-child(n+7) { transition-delay: .06s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(n) { transition-delay: 0s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(n+4) { transition-delay: .03s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(n+7) { transition-delay: .06s !important; }
  html.web .pmods.pm-stag > .pm, html.web .pmods.pm-stag > .pm-ind, html.web #rail.rail-stag > .ri, html.web #rail.rail-stag > .rail-ind { transform: translateY(4px); }
}@media (min-width: 1000px) {
  html.web .es-sheet.lt-desk .es-r { padding-top: 2px !important; padding-bottom: 2px !important; min-height: 0 !important; }
  html.web .es-sheet.lt-desk .es-pro { padding-top: 11px !important; padding-bottom: 11px !important; }
  html.web .es-sheet.lt-desk .es-cmp p { margin-top: 6px !important; margin-bottom: 0 !important; }
  html.web .es-sheet.lt-desk > .es-help { margin-top: 0 !important; }
}
/* кольцо выбранного цвета: «выскакивает» только при выборе цвета (класс .pop), а не при каждой перерисовке карточки */
html.web #pbody .sw.on::after { animation: none; }
html.web #pbody .sw.on.pop::after { animation: pop .25s ease; }
/* колокольчик и сердце: по геометрии в центре, но на глаз сердце выше, колокольчик ниже — оптическая поправка */
html.web #pane #bellBtn svg { transform: translateY(-1px); }
html.web #pane #favBtn svg { transform: translateY(1px); }
/* 20.11.2026 волна появления моделей и иконок брендов — прежняя, на 10% быстрее (перекрывает быструю версию выше) */
@media (min-width: 1000px) {
  html.web .pmods.pm-stag > .pm, html.web .pmods.pm-stag > .pm-ind { transform: translateY(8px); }
  html.web #rail.rail-stag > .ri, html.web #rail.rail-stag > .rail-ind { transform: translateY(6px); }
  html.web .pmods.pm-go > .pm, html.web .pmods.pm-go > .pm-ind { transition: opacity .29s ease-out, transform .4s cubic-bezier(.32, .72, 0, 1) !important; }
  html.web .pmods.pm-go > .pm-ind { transition-delay: .045s !important; }
  html.web .pmods.pm-go > .pm:nth-child(2) { transition-delay: .027s !important; }
  html.web .pmods.pm-go > .pm:nth-child(3) { transition-delay: .063s !important; }
  html.web .pmods.pm-go > .pm:nth-child(4) { transition-delay: .099s !important; }
  html.web .pmods.pm-go > .pm:nth-child(5) { transition-delay: .135s !important; }
  html.web .pmods.pm-go > .pm:nth-child(6) { transition-delay: .171s !important; }
  html.web .pmods.pm-go > .pm:nth-child(7) { transition-delay: .207s !important; }
  html.web .pmods.pm-go > .pm:nth-child(8) { transition-delay: .243s !important; }
  html.web .pmods.pm-go > .pm:nth-child(9) { transition-delay: .279s !important; }
  html.web .pmods.pm-go > .pm:nth-child(n+10) { transition-delay: .315s !important; }
  html.web #rail.rail-go > .ri { transition: opacity .27s ease-out, transform .38s cubic-bezier(.32, .72, 0, 1) !important; }
  html.web #rail.rail-go > .rail-ind { transition: opacity .27s ease-out .045s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(1) { transition-delay: 0s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(2) { transition-delay: .032s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(3) { transition-delay: .063s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(4) { transition-delay: .095s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(5) { transition-delay: .126s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(6) { transition-delay: .158s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(7) { transition-delay: .189s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(n+8) { transition-delay: .22s !important; }
}@media (min-width: 1000px) {
  /* eSIM: таблица сравнения забирает свободную высоту окна — без пустоты внизу на высоких экранах */
  html.web .sheet.es-sheet.lt-desk { grid-template-rows: auto auto minmax(min-content, 1fr) auto !important; align-content: stretch !important; }
  html.web .es-sheet.lt-desk > .es-cmp { display: flex !important; flex-direction: column; justify-content: space-between; }
  html.web .es-sheet.lt-desk > .es-cmp > .es-r { flex: 1 1 auto; align-items: center; }
}@media (min-width: 1000px) {
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-sum, html.web .inst-sheet.lt-desk > .inst-calc > input, html.web .inst-sheet.lt-desk > .inst-calc > .ic-ticks { width: calc(100% - 56px) !important; max-width: none !important; margin-left: 28px !important; margin-right: 28px !important; box-sizing: border-box; align-self: auto !important; }
  html.web .inst-sheet.lt-desk > .inst-calc > .ic-sum { text-align: center; display: flex; flex-direction: column; align-items: center; }
}@media (min-width: 1000px) {
  /* 20.11.2026 волна моделей и брендов ещё на 15% быстрее */
  html.web .pmods.pm-go > .pm, html.web .pmods.pm-go > .pm-ind { transition: opacity .245s ease-out, transform .34s cubic-bezier(.32, .72, 0, 1) !important; }
  html.web .pmods.pm-go > .pm-ind { transition-delay: .038s !important; }
  html.web .pmods.pm-go > .pm:nth-child(2) { transition-delay: .023s !important; }
  html.web .pmods.pm-go > .pm:nth-child(3) { transition-delay: .054s !important; }
  html.web .pmods.pm-go > .pm:nth-child(4) { transition-delay: .084s !important; }
  html.web .pmods.pm-go > .pm:nth-child(5) { transition-delay: .115s !important; }
  html.web .pmods.pm-go > .pm:nth-child(6) { transition-delay: .145s !important; }
  html.web .pmods.pm-go > .pm:nth-child(7) { transition-delay: .176s !important; }
  html.web .pmods.pm-go > .pm:nth-child(8) { transition-delay: .207s !important; }
  html.web .pmods.pm-go > .pm:nth-child(9) { transition-delay: .237s !important; }
  html.web .pmods.pm-go > .pm:nth-child(n+10) { transition-delay: .268s !important; }
  html.web #rail.rail-go > .ri { transition: opacity .23s ease-out, transform .32s cubic-bezier(.32, .72, 0, 1) !important; }
  html.web #rail.rail-go > .rail-ind { transition: opacity .23s ease-out .038s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(1) { transition-delay: 0s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(2) { transition-delay: .027s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(3) { transition-delay: .054s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(4) { transition-delay: .081s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(5) { transition-delay: .107s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(6) { transition-delay: .134s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(7) { transition-delay: .161s !important; }
  html.web #rail.rail-go > .ri:nth-of-type(n+8) { transition-delay: .187s !important; }
  /* синяя карточка iPack: плитки прижаты к низу с тем же отступом, что по бокам, без пустой полосы снизу */
  html.web .ipk-desk > .ipk-card, html.web .ipc-desk > .ipk-card { justify-content: space-between !important; padding: 36px 22px 22px !important; }
}
/* Trade-In в мини-аппе: под закреплённой кнопкой «Дальше» список больше не просвечивает в нижнем отступе шторки */
.sheet.ti:not(.ti-desk) .tix-foot { box-shadow: 0 calc(18px + env(safe-area-inset-bottom)) 0 #fff; }
@media (min-width: 1000px) { /* 20.11.2026 строка названий брендов: шрифт +10% (15 -> 16.5px) */ html.web #rail.rail-mini .ri > span { font-size: 16.5px !important; } }

@media (min-width: 1000px) { /* 20.11.2026 полоса брендов: больше воздуха под серой плашкой (6 -> 14px), сама плашка того же размера */ html.web #rail.rail:not(.rail-mini) { padding-bottom: 20px !important; } html.web #rail.rail:not(.rail-mini)::before { bottom: 14px !important; } }

@media (min-width: 1000px) { /* 20.11.2026 название товара: место справа ровно под колокольчик и сердце, чтобы «Apple iPhone 18 Pro Max» шло одной строкой */ html.web #pane.pane.prod > .pbody > .pact + * { padding-right: 80px !important; } }

/* 20.11.2026 товар не из айфонов: плашка брендов стягивается в «таблетку» посреди строки названий и тает, иконки улетают вверх с размытием; обратно — плашка вырастает из «таблетки» */
html.vt-rail.vt-flat::view-transition-group(vplate), html.vt-rail.vt-flat-out::view-transition-group(vplate) { animation-duration: .5s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); }
html.vt-rail.vt-flat::view-transition-old(vplate) { animation: vtFlatOut .46s cubic-bezier(.4, 0, .2, 1) both; }
html.vt-rail.vt-flat-out::view-transition-new(vplate) { animation: vtFlatIn .42s cubic-bezier(.2, 0, .2, 1) both; }
html.vt-rail.vt-flat::view-transition-old(vicons) { animation: vtIconsUp .3s cubic-bezier(.4, 0, .6, 1) both; }
@keyframes vtFlatOut { 0% { opacity: 1; } 55% { opacity: .75; } 100% { opacity: 0; } }
@keyframes vtFlatIn { 0% { opacity: 0; } 45% { opacity: .8; } 100% { opacity: 1; } }
@keyframes vtIconsUp { to { opacity: 0; transform: translateY(-14px) scale(.96); } } /* без размытия: blur на широком снимке дёргал анимацию */
/* 20.11.2026 вспомогательная плашка перехода лежит под полосой брендов: в кадре перед стартом она больше не закрывает иконки (было мигание), а снимок для анимации делается всё равно */
.vt-plate { z-index: -1 !important; }

/* 20.11.2026 не айфон: каждая иконка бренда превращается в своё название (и обратно), волной слева направо */
@keyframes vtMorphOut { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vtMorphIn { 0% { opacity: 0; } 100% { opacity: 1; } }
html.vt-morph::view-transition-group(vri0) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.000s; z-index: 5; }
html.vt-morph::view-transition-old(vri0), html.vt-morph::view-transition-new(vri0) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri0) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.000s both; }
html.vt-morph::view-transition-new(vri0) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.000s + .14s) both; }
html.vt-morph::view-transition-group(vri1) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.028s; z-index: 5; }
html.vt-morph::view-transition-old(vri1), html.vt-morph::view-transition-new(vri1) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri1) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.028s both; }
html.vt-morph::view-transition-new(vri1) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.028s + .14s) both; }
html.vt-morph::view-transition-group(vri2) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.056s; z-index: 5; }
html.vt-morph::view-transition-old(vri2), html.vt-morph::view-transition-new(vri2) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri2) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.056s both; }
html.vt-morph::view-transition-new(vri2) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.056s + .14s) both; }
html.vt-morph::view-transition-group(vri3) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.084s; z-index: 5; }
html.vt-morph::view-transition-old(vri3), html.vt-morph::view-transition-new(vri3) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri3) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.084s both; }
html.vt-morph::view-transition-new(vri3) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.084s + .14s) both; }
html.vt-morph::view-transition-group(vri4) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.112s; z-index: 5; }
html.vt-morph::view-transition-old(vri4), html.vt-morph::view-transition-new(vri4) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri4) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.112s both; }
html.vt-morph::view-transition-new(vri4) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.112s + .14s) both; }
html.vt-morph::view-transition-group(vri5) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.140s; z-index: 5; }
html.vt-morph::view-transition-old(vri5), html.vt-morph::view-transition-new(vri5) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri5) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.140s both; }
html.vt-morph::view-transition-new(vri5) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.140s + .14s) both; }
html.vt-morph::view-transition-group(vri6) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.168s; z-index: 5; }
html.vt-morph::view-transition-old(vri6), html.vt-morph::view-transition-new(vri6) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri6) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.168s both; }
html.vt-morph::view-transition-new(vri6) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.168s + .14s) both; }
html.vt-morph::view-transition-group(vri7) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.196s; z-index: 5; }
html.vt-morph::view-transition-old(vri7), html.vt-morph::view-transition-new(vri7) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri7) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.196s both; }
html.vt-morph::view-transition-new(vri7) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.196s + .14s) both; }
html.vt-morph::view-transition-group(vri8) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.224s; z-index: 5; }
html.vt-morph::view-transition-old(vri8), html.vt-morph::view-transition-new(vri8) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri8) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.224s both; }
html.vt-morph::view-transition-new(vri8) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.224s + .14s) both; }
html.vt-morph::view-transition-group(vri9) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.252s; z-index: 5; }
html.vt-morph::view-transition-old(vri9), html.vt-morph::view-transition-new(vri9) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri9) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.252s both; }
html.vt-morph::view-transition-new(vri9) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.252s + .14s) both; }
html.vt-morph::view-transition-group(vri10) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.280s; z-index: 5; }
html.vt-morph::view-transition-old(vri10), html.vt-morph::view-transition-new(vri10) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri10) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.280s both; }
html.vt-morph::view-transition-new(vri10) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.280s + .14s) both; }
html.vt-morph::view-transition-group(vri11) { animation-duration: .56s; animation-timing-function: cubic-bezier(.32, .72, 0, 1); animation-delay: 0.308s; z-index: 5; }
html.vt-morph::view-transition-old(vri11), html.vt-morph::view-transition-new(vri11) { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
html.vt-morph::view-transition-old(vri11) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) 0.308s both; }
html.vt-morph::view-transition-new(vri11) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) calc(0.308s + .14s) both; }

/* 20.11.2026 иконки брендов превращаются в названия все одновременно, без волны */
html.vt-morph::view-transition-group(vri0) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri0) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri0) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri1) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri1) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri1) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri2) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri2) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri2) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri3) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri3) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri3) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri4) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri4) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri4) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri5) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri5) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri5) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri6) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri6) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri6) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri7) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri7) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri7) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri8) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri8) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri8) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri9) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri9) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri9) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri10) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri10) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri10) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }
html.vt-morph::view-transition-group(vri11) { animation-delay: 0s; }
html.vt-morph::view-transition-old(vri11) { animation: vtMorphOut .3s cubic-bezier(.4, 0, .6, 1) both; }
html.vt-morph::view-transition-new(vri11) { animation: vtMorphIn .34s cubic-bezier(.2, 0, .2, 1) .14s both; }

/* 20.11.2026 выпадающее меню брендов (как на apple.com): белая панель под полосой брендов, страница под ней размыта */
@media (min-width: 1000px) {
  html.web #mega { position: fixed; left: 0; right: 0; z-index: 91; height: 0; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .18); transition: height .38s cubic-bezier(.32, .72, 0, 1); view-transition-name: vmega; }
  html.web #megaSh { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(232, 232, 237, .38); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .32s ease; view-transition-name: vmegash; }
  html.web #megaSh.on { opacity: 1; }
  html.web #mega .mega-in { display: flex; align-items: flex-start; gap: 72px; padding-top: 30px; padding-bottom: 54px; box-sizing: border-box; }
  html.web #mega .mg-col { display: flex; flex-direction: column; min-width: 150px; }
  html.web #mega .mg-col h6 { margin: 0 0 14px; font-size: 13px; font-weight: 400; color: #6e6e73; letter-spacing: -.01em; }
  html.web #mega .mg-col a { display: block; padding: 5px 0; font-size: 15px; font-weight: 600; line-height: 1.25; color: #1d1d1f; text-decoration: none; letter-spacing: -.01em; transition: color .15s; }
  html.web #mega .mg-col.big a { padding: 4px 0; font-size: 29px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
  html.web #mega .mg-col a:hover { color: #0066cc; }
  html.web #mega .mg-col > * { opacity: 0; transform: translateY(-6px); transition: opacity .24s ease, transform .34s cubic-bezier(.32, .72, 0, 1), color .15s; }
  html.web #mega.show .mg-col > * { opacity: 1; transform: none; transition-delay: calc(var(--i) * 18ms), calc(var(--i) * 18ms), 0s; }
}
::view-transition-old(vmega), ::view-transition-old(vmegash) { animation: vtcOut .2s ease-out both; }
@media (min-width: 1000px) { /* длинные названия товаров (Dyson, DJI) в меню брендов — помельче, чтобы не громоздко */ html.web #mega .mg-col.mid a { padding: 5px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; } }

@media (min-width: 1000px) { /* заголовки колонок меню брендов («Техника Apple», «Аксессуары»…) без своей анимации — стоят сразу */ html.web #mega .mg-col > h6, html.web #mega.show .mg-col > h6 { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* 20.11.2026 корзина: «Упаковать в подарок» +750 ₽ — строка с коробкой и круглой галочкой */
.gift-row { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; margin: 14px 0 0; padding: 10px 16px 10px 10px; border: 0; border-radius: 18px; background: #f5f5f7; color: #1d1d1f; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, transform .15s; }
.gift-row:active { transform: scale(.985); }
.gift-row .gf-ico { flex: none; display: block; }
.gift-row .gf-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gift-row .gf-t b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.gift-row .gf-t small { font-size: 12.5px; color: #6e6e73; }
.gift-row em { flex: none; font-style: normal; font-size: 15px; font-weight: 600; color: #6e6e73; transition: color .2s; }
.gift-row .gf-ck { flex: none; position: relative; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #c7c7cc; background: #fff; transition: background .2s, box-shadow .2s; }
.gift-row .gf-ck::after { content: ''; position: absolute; left: 8.5px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.gift-row.on .gf-ck { background: #0071e3; box-shadow: none; }
.gift-row.on .gf-ck::after { transform: rotate(45deg) scale(1); }
.gift-row.on em { color: #1d1d1f; }
.gift-row.on.hop .gf-ico { animation: gfHop .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes gfHop { 0% { transform: scale(1); } 35% { transform: translateY(-4px) scale(1.08) rotate(-4deg); } 100% { transform: none; } }
/* строка подарка — той же ширины и того же вида, что карточка товара и промокод */
.gift-row { width: auto !important; margin: 0 24px 8px !important; padding: 8px 14px 8px 10px !important; border-radius: 20px !important; background: rgb(246, 246, 246) !important; }

.gift-row { width: 100% !important; margin: 0 0 8px !important; }
@media (min-width: 1000px) { html.web .gift-row { width: calc(100% - 48px) !important; margin: 0 24px 8px !important; } }

@media (max-width: 999.98px) { .gift-row { width: calc(100% - 32px) !important; margin: 0 16px 8px !important; } }

/* 20.11.2026 мини-апп: кнопка «Панель» у аватарки (менеджеры и админы) — квадратнее (скругление 9px вместо капсулы) и на ~30% больше по площади: 28→32px высота, шрифт 12→13.5px */
.me-panel { height: 32px; padding: 0 13px; border-radius: 9px; font-size: 13.5px; }

/* кнопка «Панель» в мини-аппе: ещё +20% в высоту (32→38px) */
.me-panel { height: 38px; }

/* 20.11.2026 цена «счётчиком»: колонка цифр 0–9 в окошке высотой в строку, едет к новой цифре */
.pbn b .od { position: relative; display: inline-block; overflow: hidden; vertical-align: top; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.pbn b .od-w { visibility: hidden; }
.pbn b .od-s { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; transform: translateY(calc(var(--d) * -10%)); }
.pbn b .od-s i { display: block; font-style: normal; }
.pbn b.od-go .od-s { transition: transform .7s cubic-bezier(.32, .72, 0, 1); transition-delay: calc(var(--i) * 28ms); }
.pbn b .od-new { opacity: 0; }
.pbn b.od-go .od-new { opacity: 1; transition: opacity .35s ease; }
/* подпись варианта, которая не влезла даже уменьшенной, — в две строки внутри своей кнопки */
.chips .chip.chip-2l { height: auto !important; min-height: 100%; line-height: 1.15 !important; white-space: normal !important; padding-top: 6px !important; padding-bottom: 6px !important; }
.chips:has(.chip-2l) { height: auto !important; }

/* варианты с длинными подписями — друг под другом на всю ширину */
.chips.chips-col { display: flex !important; flex-direction: column !important; height: auto !important; align-items: stretch !important; }
.chips.chips-col > .chip { width: 100% !important; max-width: none !important; flex: none !important; }

@media (min-width: 1000px) {
  /* 20.11.2026 карточка товара: рассрочка и кэшбэк без цветной заливки — только тонкая обводка своего цвета, текст того же цвета, шрифт −3% (3.7 → 3.59cqw) */
  html.web #pane.pane.prod #pbody .pbar .pinst, html.web #pane.pane.prod #pbody .pbar .pinst b, html.web #pane.pane.prod #pbody .pbar .pcb2, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-n, html.web #pane.pane.prod #pbody .pbar .pcb2 .cb-t b { font-size: 3.59cqw !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(26, 127, 67, .7) !important; color: rgb(26, 127, 67) !important; }
  html.web #pane.pane.prod #pbody .pbar .pinst:hover { background: rgba(26, 127, 67, .05) !important; }
  html.web #pane.pane.prod #pbody .pbar .pcb2 { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(106, 63, 200, .7) !important; color: rgb(106, 63, 200) !important; }
}
/* 20.11.2026 везде (мини-апп, корзина): рассрочка и кэшбэк — без заливки, тонкая обводка своего цвета, текст того же цвета, шрифт −3% (zoom .97 у содержимого, размер плашки прежний) */
body > .pbar .pinst, body > .pbar .cb4-in { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(26, 127, 67, .7) !important; color: rgb(26, 127, 67) !important; }
body > .pbar .pcb2, body > .pbar .cb4-cb { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(106, 63, 200, .7) !important; color: rgb(106, 63, 200) !important; }
body > .pbar .pinst > *, body > .pbar .pcb2 > *, body > .pbar .cb4-in > *, body > .pbar .cb4-cb > * { zoom: .97; } /* без :is(): deskBarCss копирует правила, деля селектор по запятым */
@media (hover: hover) { body > .pbar .pinst:hover, body > .pbar .cb4-in:hover { background: rgba(26, 127, 67, .05) !important; } }
/* 20.11.2026 галочка iPack PRO в корзине — как у «Упаковать в подарок»: круг 24px, выключена — серое кольцо, включена — синий круг с белой галочкой */
.stk.ip .ck.ck2, .stk.ip .ck.ck2:not(.on) { position: relative; width: 24px !important; height: 24px !important; padding: 0; margin-right: 0; box-sizing: border-box; border: 0 !important; border-radius: 50% !important; background: #fff !important; box-shadow: inset 0 0 0 1.6px #c7c7cc !important; animation: none !important; transform: none; transition: background .2s, box-shadow .2s; }
.stk.ip .ck.ck2.on { background: #0071e3 !important; box-shadow: none !important; }
.stk.ip .ck.ck2::after { content: '' !important; position: absolute; left: 8.5px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; border-radius: 0; background: none; transform: rotate(45deg) scale(0); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); animation: none; }
.stk.ip .ck.ck2.on::after { transform: rotate(45deg) scale(1); }
.stk.ip .ck.ck2::before { content: none !important; }
/* 20.11.2026 сайт: полоса прокрутки страницы скрыта (прокрутка работает) — при её появлении страница сдвигалась влево, например при раскрытии iPack в корзине */
html.web, html.web body { scrollbar-width: none; -ms-overflow-style: none; }
html.web::-webkit-scrollbar, html.web body::-webkit-scrollbar { display: none; width: 0; height: 0; }

@media (min-width: 1000px) {
  /* 20.11.2026 корзина как карточка товара: слева товары в большой светлой плашке, справа колонка с итогом (едет вместе с прокруткой) */
  html.web main:has(> .dcart) { max-width: none !important; width: auto !important; padding-left: 0 !important; padding-right: 0 !important; }
  html.web .dcart { display: grid; grid-template-columns: minmax(0, 1fr) 390px; column-gap: 72px; align-items: start; width: min(1585px, calc(100vw / var(--z, .8) - 214px)); margin: 24px auto 80px; }
  html.web .dc-l { min-width: 0; }
  html.web .dc-box { background: #f5f5f7; border-radius: 30px; padding: 8px 40px; }
  html.web .dc-box > .lw { margin: 0 !important; padding: 0; }
  html.web .dc-box > .lw + .lw { border-top: 1px solid rgba(0, 0, 0, .08); }
  html.web .dc-box .lw > .line { display: flex !important; align-items: center; gap: 32px; margin: 0 !important; padding: 30px 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
  html.web .dc-box .line > .pic { flex: none; width: 150px !important; height: 150px !important; border-radius: 18px; background: #fff; display: grid; place-items: center; overflow: hidden; }
  html.web .dc-box .line > .pic img { width: 82% !important; height: 82% !important; object-fit: contain; }
  html.web .dc-box .line > div { flex: 1; min-width: 0; }
  html.web .dc-box .line b { display: block; font-size: 24px !important; font-weight: 600 !important; letter-spacing: -.015em; line-height: 1.2; }
  html.web .dc-box .line small { display: block; margin-top: 4px; font-size: 15px !important; color: #6e6e73 !important; }
  html.web .dc-box .line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px !important; }
  html.web .dc-box .line .qty { background: #fff !important; border-radius: 12px; }
  html.web .dc-box .line .sum { font-size: 24px !important; font-weight: 600 !important; letter-spacing: -.01em; }
  html.web .dc-box .lw > .stk { position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: none !important; width: auto !important; margin: -6px 0 26px 182px !important; border-radius: 16px !important; box-shadow: none !important; z-index: auto !important; }
  html.web .dc-box .lw > .stk.ip { background: #fff !important; }
  html.web .dc-l .pacc { margin-top: 40px; }
  html.web .dc-r { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 12px; }
  html.web .dc-r .dc-h { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-align: left; }
  html.web .dc-r .dc-n { margin: -6px 0 12px; font-size: 15px; color: #6e6e73; }
  html.web .dc-r .gift-row, html.web .dc-r .pm-cart { width: 100% !important; margin: 0 !important; }
  html.web .dc-r .su-row, html.web .dc-r .pm-miss { margin: 0 !important; }
  html.web #dcSum { margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .08); }
  html.web #dcSum .cb3-top { display: flex; align-items: baseline; justify-content: space-between; }
  html.web #dcSum .cb3-l { font-size: 26px; font-weight: 600; letter-spacing: -.015em; }
  html.web #dcSum .pbn b { font-size: 28px; font-weight: 600; letter-spacing: -.015em; }
  html.web #dcSum .cb4 { display: flex; gap: 8px; margin-top: 12px; }
  html.web #dcSum .cb4-t { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 4px; height: 34px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-size: 13.5px; cursor: default; white-space: nowrap; }
  html.web #dcSum .cb4-in { color: rgb(26, 127, 67); box-shadow: inset 0 0 0 1px rgba(26, 127, 67, .7); cursor: pointer; }
  html.web #dcSum .cb4-in:hover { background: rgba(26, 127, 67, .05); }
  html.web #dcSum .cb4-cb { flex: 0 0 auto; color: rgb(106, 63, 200); box-shadow: inset 0 0 0 1px rgba(106, 63, 200, .7); }
  html.web #dcSum .cb4-in .chev { width: 6px; height: 6px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin-left: 4px; }
  html.web #dcSum .cb-go { display: block; width: 100%; height: 58px; margin-top: 16px; border: 0; border-radius: 16px; background: #0071e3; color: #fff; font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
  html.web #dcSum .cb-go:hover { background: #0077ed; }
  html.web #dcSum .cb-go:active { transform: scale(.985); }
  html.web #dcSum .cb-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: #86868b; text-align: center; }
}
@media (min-width: 1000px) {
  html.web .dc-box .line > .pic img { width: 100% !important; height: 100% !important; object-fit: contain; }
  html.web .dc-box .line .qty { height: 38px; padding: 0 4px; }
  html.web .dc-box .line .qty button { width: 36px; height: 38px; font-size: 20px !important; }
  html.web .dc-box .line .qty span { min-width: 22px; text-align: center; font-size: 17px !important; font-weight: 600; }
  html.web .dc-box .lw > .stk.ip .ipr { min-height: 52px; padding: 0 14px 0 18px; }
  html.web .dc-box .lw > .stk.ip .ipn b { font-size: 16px !important; }
  html.web .dc-box .lw > .stk.ip .ipr em { font-size: 16px !important; }
  html.web .dc-box .lw > .stk.ip .ipx li { font-size: 14.5px !important; }
  html.web .dc-box .lw > .stk.ip .ipk-cfgb { font-size: 15px !important; height: 42px; }
  html.web .dc-l .pacc, html.web .dc-l .pacc h2, html.web .dc-l .pacc .pacc-s { text-align: center !important; }
  html.web .dc-r .gift-row { padding: 12px 16px 12px 12px !important; }
  html.web .dc-r .gift-row .gf-t b { font-size: 17px; }
  html.web .dc-r .gift-row .gf-t small { font-size: 14px; }
  html.web .dc-r .gift-row em { font-size: 16px; }
  html.web .dc-r .pm-cart .pm-box { padding: 12px 12px 12px 16px !important; }
  html.web .dc-r .pm-cart .pm-in { font-size: 17px !important; }
  html.web .dc-r .pm-cart .pm-go { font-size: 15px !important; padding: 10px 16px !important; }
  html.web .dc-r .dc-h { font-size: 38px; }
  html.web .dc-r .dc-n { font-size: 16px; }
  html.web #dcSum .cb3-l { font-size: 30px; }
  html.web #dcSum .pbn b { font-size: 30px; }
  html.web #dcSum .cb4-t { height: 38px; font-size: 14.5px; }
  html.web #dcSum .cb-go { height: 72px; border-radius: 18px; font-size: 20px; }
  html.web #dcSum .cb-note { font-size: 13.5px; }
}
@media (min-width: 1000px) {
  html.web main .dcart .dc-box .lw .line > a.pic { width: 150px !important; height: 150px !important; background: transparent !important; border-radius: 0 !important; }
  html.web main .dcart .dc-box .lw .line > a.pic > img { width: 150px !important; height: 150px !important; max-width: none !important; max-height: none !important; object-fit: contain !important; mix-blend-mode: darken; border-radius: 0 !important; }
  html.web #dcSum .cb4-in { flex: 1 1 0 !important; min-width: 0; overflow: hidden; }
  html.web #dcSum .cb4-in .cb4-x { overflow: hidden; text-overflow: ellipsis; }
  html.web .dc-box .lw > .stk.ip .ipx li, html.web .dc-box .lw > .stk.ip .ipx li * { font-size: 14.5px !important; }
  html.web .dc-box .lw > .stk.ip .ipx li { padding-top: 7px !important; padding-bottom: 7px !important; }
}
@media (min-width: 1000px) { html.web #dcSum .cb4-t { font-size: 13.2px !important; padding: 0 10px !important; gap: 3px; } }

@media (min-width: 1000px) {
  /* 20.11.2026 корзина: левая плашка вровень с заголовком «Корзина» */
  html.web .dcart > .dc-l { margin-top: 30px; }
  /* iPack PRO в корзине — аккуратная строка в духе Apple: синяя иконка набора, «iPack PRO» и подпись, цена, круглая галочка */
  html.web .dc-box .lw > .stk.ip { background: #fff !important; border-radius: 18px !important; overflow: hidden; }
  html.web .dc-box .lw > .stk.ip .ipr { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 0 18px 0 14px !important; }
  html.web .dc-box .lw > .stk.ip .ipn { flex: 1; min-width: 0; display: grid !important; grid-template-columns: 44px auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 0 !important; background: none; border: 0; text-align: left; cursor: pointer; }
  html.web .dc-box .lw > .stk.ip .ipn::before { content: ''; grid-column: 1; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 4.5 5.4v5.7c0 4.6 3 8.5 7.5 10.4 4.5-1.9 7.5-5.8 7.5-10.4V5.4z' fill='%23fff'/%3E%3Cpath d='m8.6 12.1 2.4 2.4 4.5-4.7' fill='none' stroke='%235a78cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat, linear-gradient(160deg, #93b2f3, #4b5fc8); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .06); }
  html.web .dc-box .lw > .stk.ip .ipn b { grid-column: 2; grid-row: 1; font-size: 17px !important; font-weight: 600 !important; color: #1d1d1f !important; letter-spacing: -.01em; }
  html.web .dc-box .lw > .stk.ip .ipn .chev { grid-column: 3; grid-row: 1; justify-self: start; width: 7px !important; height: 7px !important; margin: 0 0 3px 2px !important; border: solid #86868b !important; border-width: 0 1.7px 1.7px 0 !important; transform: rotate(45deg); transition: transform .25s ease; background: none !important; }
  html.web .dc-box .lw > .stk.ip.open .ipn .chev { transform: rotate(-135deg); margin-bottom: -3px !important; }
  html.web .dc-box .lw > .stk.ip .ipn::after { content: 'Аксессуары и гарантия 2 года'; grid-column: 2 / 4; grid-row: 2; font-size: 13.5px; font-weight: 400; color: #6e6e73; }
  html.web .dc-box .lw > .stk.ip .ipr em { font-style: normal; font-size: 17px !important; font-weight: 600 !important; color: #1d1d1f !important; }
  html.web .dc-box .lw > .stk.ip.off .ipr em { color: #86868b !important; }
  /* раскрытый состав */
  html.web .dc-box .lw > .stk.ip .ipl { padding: 0 18px !important; }
  html.web .dc-box .lw > .stk.ip .ipx { margin: 0 !important; padding: 4px 0 16px !important; border-top: 1px solid rgba(0, 0, 0, .07); }
  html.web .dc-box .lw > .stk.ip .ipx li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0 !important; border: 0 !important; border-bottom: 1px solid rgba(0, 0, 0, .05) !important; color: #1d1d1f !important; }
  html.web .dc-box .lw > .stk.ip .ipx li, html.web .dc-box .lw > .stk.ip .ipx li * { font-size: 15px !important; }
  html.web .dc-box .lw > .stk.ip .ipx li > span { flex: 1; color: #1d1d1f !important; }
  html.web .dc-box .lw > .stk.ip .ipx li > s { color: #86868b !important; }
  html.web .dc-box .lw > .stk.ip .ipx li > b { color: #1d1d1f !important; font-weight: 600 !important; }
  html.web .dc-box .lw > .stk.ip .ipx li.gf2, html.web .dc-box .lw > .stk.ip .ipx li.gf2 * { color: #1a7f43 !important; }
  html.web .dc-box .lw > .stk.ip .ipx li.gf2 { border-bottom: 0 !important; }
  html.web .dc-box .lw > .stk.ip .ipx li.cfgrow { padding: 12px 0 !important; border-bottom: 0 !important; }
  html.web .dc-box .lw > .stk.ip .ipk-cfgb { width: 100%; height: 46px !important; border: 0 !important; border-radius: 12px !important; background: #f5f5f7 !important; color: #0066cc !important; font: inherit; font-size: 15px !important; font-weight: 600 !important; cursor: pointer; transition: background .15s; }
  html.web .dc-box .lw > .stk.ip .ipk-cfgb:hover { background: #ececf0 !important; }
}
@media (min-width: 1000px) {
  /* корзина: верх плашки — ровно по верху букв «Корзина» (у заголовка срезаны отступы строки сверху) */
  html.web .dcart > .dc-l { margin-top: 0 !important; }
  html.web .dc-r .dc-h { text-box: trim-both cap alphabetic; line-height: 1; margin: 0 0 14px !important; }
  html.web .dc-r .dc-n { margin: 0 0 14px !important; }
  /* iPack PRO в корзине, как дополнительная услуга в корзине apple.com: миниатюра набора, название, подпись, синяя ссылка «Состав набора»; справа цена и ссылка «Убрать» */
}
.ipk-th, .ipk-sub, .ipk-more { display: none; }
@media (min-width: 1000px) {
  /* правая колонка корзины в покое стоит на своём месте (липнет только при прокрутке), поэтому верх плашки ровно по буквам «Корзина» */
  html.web .dc-r { top: 110px !important; }
  /* Trade-In в корзине — те же габариты и шрифты, что у строки iPack PRO */
}

@media (min-width: 1000px) { /* 20.11.2026 плашка фото короче: снизу такой же воздух (~30px), как между полосой моделей и фото; правая колонка не меняется */ html.web #pane.pane.prod > .gallery { height: calc(100vh / var(--z, .8) - 289px) !important; } }
@media (min-width: 1000px) { /* крестик Trade-In того же размера, что галочка iPack */ html.web .dc-box .lw > .stk.ti .ti-x { width: 24px !important; height: 24px !important; flex: 0 0 24px; } html.web .dc-box .lw > .stk.ti .ti-x::before, html.web .dc-box .lw > .stk.ti .ti-x::after { width: 10px !important; } }
@media (min-width: 1000px) {
  /* 20.11.2026 корзина на ПК: iPack и Trade-In — подтовары айфона в той же плашке: под тонкой линией, одинаковые белые строки с плиткой-значком, содержимое строго по центру */
  html.web main .dcart .dc-box .lw .line > a.pic, html.web main .dcart .dc-box .lw .line > a.pic > img { width: 158px !important; height: 158px !important; }
  html.web .dc-box .lw.has-stk > .line { position: relative; padding-bottom: 24px !important; }
  html.web .dc-box .lw.has-stk > .line::after { content: ''; position: absolute; left: 190px; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .04)); }
  html.web .dc-box .lw > .stk { zoom: 1 !important; margin: 0 0 10px 190px !important; padding: 0 !important; min-height: 0 !important; border-radius: 18px !important; background: #fff !important; box-shadow: none !important; overflow: hidden; }
  html.web .dc-box .lw > .stk[style*="--n:0"] { margin-top: 22px !important; }
  html.web .dc-box .lw > .stk:last-child { margin-bottom: 30px !important; }
  /* iPack PRO */
  html.web .dc-box .lw > .stk.ip .ipr { display: flex !important; align-items: center; gap: 14px; min-height: 0 !important; padding: 14px 16px !important; }
  html.web .dc-box .lw > .stk.ip .ipn { column-gap: 14px !important; row-gap: 2px !important; }
  html.web .dc-box .lw > .stk.ip .ipn::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 4.5 5.4v5.7c0 4.6 3 8.5 7.5 10.4 4.5-1.9 7.5-5.8 7.5-10.4V5.4z' fill='%23fff'/%3E%3Cpath d='m8.6 12.1 2.4 2.4 4.5-4.7' fill='none' stroke='%230071e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat, #0071e3 !important; box-shadow: none !important; }
  html.web .dc-box .lw > .stk.ip .ipl { padding: 0 16px !important; }
  html.web .dc-box .lw > .stk.ip.off .ipn::before { filter: grayscale(1); opacity: .5; }
  html.web .dc-box .lw > .stk.ip.off .ipn b { color: #86868b !important; }
  /* Trade-In — такая же строка: плитка со стрелками, название и что сдано, справа сумма и кружок */
  html.web .dc-box .lw > .stk.ti { display: flex !important; align-items: center; gap: 14px; height: auto !important; padding: 14px 16px !important; color: inherit !important; }
  html.web .dc-box .lw > .stk.ti.off { background: #fff !important; }
  html.web .dc-box .lw > .stk.ti::before { content: ''; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11a8.5 8.5 0 0 0-15-4.6'/%3E%3Cpath d='M3.5 13a8.5 8.5 0 0 0 15 4.6'/%3E%3Cpath d='M5.5 2.5v4h4'/%3E%3Cpath d='M18.5 21.5v-4h-4'/%3E%3C/svg%3E") center / 22px no-repeat, #30b158; }
  html.web .dc-box .lw > .stk.ti.off::before { filter: grayscale(1); opacity: .5; }
  html.web .dc-box .lw > .stk.ti > span:not(.ti-ico) { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; align-items: center; flex: 1; min-width: 0; font-size: 13.5px !important; line-height: 1.3; color: #6e6e73 !important; opacity: 1 !important; }
  html.web .dc-box .lw > .stk.ti > span:not(.ti-ico) > b { display: contents !important; font-size: 17px !important; font-weight: 600 !important; color: #1d1d1f !important; letter-spacing: -.01em; }
  html.web .dc-box .lw > .stk.ti > span:not(.ti-ico) > b > em { grid-column: 2; grid-row: 1 / 3; margin: 0 !important; font-style: normal; font-size: 17px !important; font-weight: 600 !important; color: #1a7f43 !important; }
  html.web .dc-box .lw > .stk.ti.off > span:not(.ti-ico) > b, html.web .dc-box .lw > .stk.ti.off > span:not(.ti-ico) > b > em { color: #86868b !important; }
}
@media (min-width: 1000px) { /* Trade-In: крестик справа; маленький значок слева не нужен — есть плитка */ html.web .dc-box .lw > .stk.ti > .ti-ico { display: none !important; } /* убранный Trade-In: такая же строка с серой плиткой и ссылкой «Вернуть» */ html.web .dc-box .lw > .stk.add.tb { display: flex !important; align-items: center; gap: 14px; height: auto !important; padding: 14px 16px !important; } html.web .dc-box .lw > .stk.add.tb::before { content: ''; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11a8.5 8.5 0 0 0-15-4.6'/%3E%3Cpath d='M3.5 13a8.5 8.5 0 0 0 15 4.6'/%3E%3Cpath d='M5.5 2.5v4h4'/%3E%3Cpath d='M18.5 21.5v-4h-4'/%3E%3C/svg%3E") center / 22px no-repeat, #c7c7cc; } html.web .dc-box .lw > .stk.add.tb .add-go { flex: 1; height: 44px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; text-align: left; font: inherit; font-size: 15px !important; font-weight: 500 !important; color: #0066cc !important; cursor: pointer; } html.web .dc-box .lw > .stk.add.tb .add-go:hover { text-decoration: underline; } }
@media (min-width: 1000px) { /* 20.11.2026 поля по бокам у всего сайта как в корзине: содержимое не шире 1585 px и не ближе 107 px к краю — шапка, полоса брендов, страницы и корзина на одной линии */ html.web .top .bar { margin-left: max(107px, calc((100% - 1585px) / 2)) !important; margin-right: max(107px, calc((100% - 1585px) / 2)) !important; } html.web #rail.rail { padding-left: max(107px, calc((100% - 1585px) / 2)) !important; padding-right: max(107px, calc((100% - 1585px) / 2)) !important; } html.web #rail.rail::before { left: max(107px, calc((100% - 1585px) / 2)) !important; right: max(107px, calc((100% - 1585px) / 2)) !important; } html.web #pane.pane { padding-left: max(107px, calc((100% - 1585px) / 2)) !important; padding-right: max(107px, calc((100% - 1585px) / 2)) !important; } }
@media (min-width: 1000px) { /* 20.11.2026 названия брендов в полосе пожирнее */ html.web #rail.rail-mini .ri > span, html.web #rail.rail-mini .ri.on > span { font-weight: 500 !important; } }
@media (min-width: 1000px) { /* корзина: «В рассрочку» и «Кэшбэк» тем же шрифтом, что в карточке товара */ html.web #dcSum .cb4-t { font-size: 13.6px !important; font-weight: 500 !important; } html.web #dcSum .cb4-t b { font-weight: 700 !important; } }
@media (min-width: 1000px) { /* корзина на ПК: убранный Trade-In — та же строка, серая (как снятый iPack); крестик повёрнут в плюс и возвращает Trade-In */ html.web .dc-box .lw > .stk.ti.off .ti-x { transform: rotate(45deg) !important; } html.web .dc-box .lw > .stk.ti.off > span:not(.ti-ico) { color: #86868b !important; } }
/* корзина: суммы крутятся «счётчиком», как цена на карточке товара (rollNum ставит класс odo) */
.odo .od { position: relative; display: inline-block; overflow: hidden; vertical-align: top; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.odo .od-w { visibility: hidden; }
.odo .od-s { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; transform: translateY(calc(var(--d) * -10%)); }
.odo .od-s i { display: block; font-style: normal; }
.odo.od-go .od-s { transition: transform .7s cubic-bezier(.32, .72, 0, 1); transition-delay: calc(var(--i) * 28ms); }
.odo .od-new { opacity: 0; }
.odo.od-go .od-new { opacity: 1; transition: opacity .35s ease; }
.odo .od, .odo .od-w, .odo .od-s i { height: auto; line-height: inherit; }


@media (min-width: 1000px) { /* корзина на ПК: удалённый товар можно вернуть 5 секунд */
  html.web .dc-box > .undo-row { position: relative; display: flex; align-items: center; gap: 20px; padding: 28px 0; animation: undoIn .3s cubic-bezier(.2, .8, .2, 1); }
  html.web .dc-box > .lw + .undo-row, html.web .dc-box > .undo-row + .lw { border-top: 1px solid rgba(0, 0, 0, .08); }
  html.web .dc-box > .undo-row > span { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; font-size: 17px; color: #6e6e73; }
  html.web .dc-box > .undo-row > span > b { font-weight: 600; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.web .dc-box > .undo-row > button { flex: none; height: 40px; padding: 0 20px; border: 0; border-radius: 980px; background: #0071e3; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
  html.web .dc-box > .undo-row > button:hover { background: #0077ed; }
  html.web .dc-box > .undo-row > i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #0071e3; transform-origin: left; animation-name: undoBar; animation-timing-function: linear; animation-fill-mode: forwards; }
}
@keyframes undoIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes undoBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (min-width: 1000px) { /* строка «Вернуть»: разделители внутри неё, чтобы при схлопывании ничего не дёргалось */
  html.web .dc-box > .undo-row + .lw { border-top: 0 !important; }
  html.web .dc-box > .undo-row:first-child:not(:last-child) { border-bottom: 1px solid rgba(0, 0, 0, .08); }
  html.web .dc-box > .undo-row > i { bottom: 0; }
}
@media (min-width: 1000px) { /* корзина на ПК: включили iPack — щит собирается из 4 кусочков пазла */
  html.web .dc-box .lw > .stk.ip .ipn { position: relative; }
  html.web .dc-box .lw > .stk.ip.pz .ipn::before { opacity: 0; }
  html.web .dc-box .lw > .stk.ip .pz-p { position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; pointer-events: none; animation: pzSnap .34s cubic-bezier(.3, 1.6, .5, 1) .62s both; }
  html.web .dc-box .lw > .stk.ip .pz-p > i { position: absolute; inset: 0; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 4.5 5.4v5.7c0 4.6 3 8.5 7.5 10.4 4.5-1.9 7.5-5.8 7.5-10.4V5.4z' fill='%23fff'/%3E%3Cpath d='m8.6 12.1 2.4 2.4 4.5-4.7' fill='none' stroke='%230071e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat, #0071e3; animation: pzIn .56s cubic-bezier(.22, 1.25, .4, 1) both; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(1) { clip-path: path('M0 0 H22 V8.5 A4 4 0 1 1 22 13.5 V22 H13.5 A4 4 0 1 1 8.5 22 H0 Z'); transform-origin: 11px 11px; --x: -18px; --y: -14px; --r: -38deg; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(2) { clip-path: path('M22 0 H44 V22 H35.5 A4 4 0 1 0 30.5 22 H22 V13.5 A4 4 0 1 0 22 8.5 Z'); transform-origin: 33px 11px; --x: 18px; --y: -16px; --r: 32deg; animation-delay: .07s; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(3) { clip-path: path('M0 22 H8.5 A4 4 0 1 0 13.5 22 H22 V30.5 A4 4 0 1 0 22 35.5 V44 H0 Z'); transform-origin: 11px 33px; --x: -16px; --y: 16px; --r: 28deg; animation-delay: .14s; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(4) { clip-path: path('M22 22 H30.5 A4 4 0 1 1 35.5 22 H44 V44 H22 V35.5 A4 4 0 1 1 22 30.5 Z'); transform-origin: 33px 33px; --x: 18px; --y: 14px; --r: -34deg; animation-delay: .21s; }
}
@keyframes pzIn { from { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.7); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pzSnap { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (min-width: 1000px) { /* пазл iPack: кусочки летят издалека, плашка на время сборки их не обрезает */
  html.web .dc-box .lw > .stk.ip.pz { overflow: visible !important; }
  html.web .dc-box .lw > .stk.ip .pz-p { animation-delay: .86s; }
  html.web .dc-box .lw > .stk.ip .pz-p > i { animation-duration: .62s; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(1) { --x: -30px; --y: -26px; --r: -50deg; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(2) { --x: 34px; --y: -28px; --r: 44deg; animation-delay: .08s; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(3) { --x: -32px; --y: 28px; --r: 40deg; animation-delay: .16s; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(4) { --x: 30px; --y: 26px; --r: -46deg; animation-delay: .24s; }
}
@media (min-width: 1000px) { html.web .dc-box .lw > .stk.ip .pz-p > i { animation-duration: .7s; animation-timing-function: cubic-bezier(.5, 0, .25, 1.2); } html.web .dc-box .lw > .stk.ip .pz-p { animation-delay: .95s; } }
@media (min-width: 1000px) { /* пазл iPack: у каждого кусочка своя траектория */ html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(1) { animation-name: pzIn1; } html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(2) { animation-name: pzIn2; } html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(3) { animation-name: pzIn3; } html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(4) { animation-name: pzIn4; } }
@keyframes pzIn1 { from { opacity: 0; transform: translate(-30px, -26px) rotate(-50deg) scale(.7); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pzIn2 { from { opacity: 0; transform: translate(34px, -28px) rotate(44deg) scale(.7); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pzIn3 { from { opacity: 0; transform: translate(-32px, 28px) rotate(40deg) scale(.7); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pzIn4 { from { opacity: 0; transform: translate(30px, 26px) rotate(-46deg) scale(.7); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }

@media (min-width: 1000px) { /* пазл iPack: на кусочках стекло, чехол, адаптер и гарантия; встали на место — иконки гаснут, проявляется щит */
  html.web .dc-box .lw > .stk.ip .pz-p > i::before { content: ''; position: absolute; width: 22px; height: 22px; background-color: #0071e3; background-repeat: no-repeat; background-position: center; background-size: 14px; animation: pzIco .7s linear both; animation-delay: inherit; }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(1)::before { left: 0px; top: 0px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M9.5 9.5l4-4M9.5 13.5l6-6'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(2)::before { left: 22px; top: 0px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='2' width='13' height='20' rx='3.5'/%3E%3Crect x='8.5' y='5' width='4.5' height='4.5' rx='1.2'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(3)::before { left: 0px; top: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='8' width='12' height='9' rx='2.5'/%3E%3Cpath d='M10 8V4M14 8V4M12 17v4'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .pz-p > i:nth-child(4)::before { left: 22px; top: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2.5'/%3E%3Cpath d='M9 12.5l2 2 4-4.5'/%3E%3C/svg%3E"); }
}
@keyframes pzIco { 0%, 62% { opacity: 1; } 100% { opacity: 0; } }

@media (min-width: 1000px) { html.web .dc-box .lw > .stk.ip .pz-p > i { overflow: hidden; } html.web .dc-box .lw > .stk.ip .pz-p > i::before { background-size: 17px; } }

@media (min-width: 1000px) { /* пазл iPack: плашки с названиями набора перед сборкой щита */
  html.web .dc-box .lw > .stk.ip .pz-l { position: absolute; left: 58px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; pointer-events: none; z-index: 2; }
  html.web .dc-box .lw > .stk.ip .pz-l > b { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 10px; border-radius: 16px; background: #0071e3; color: #fff !important; font-size: 14px !important; font-weight: 600 !important; white-space: nowrap; }
  html.web .dc-box .lw > .stk.ip .pz-l > b::before { content: ''; width: 17px; height: 17px; background: center / contain no-repeat; }
  html.web .dc-box .lw > .stk.ip .pz-l > b.g::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M9.5 9.5l4-4M9.5 13.5l6-6'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .pz-l > b.c::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='2' width='13' height='20' rx='3.5'/%3E%3Crect x='8.5' y='5' width='4.5' height='4.5' rx='1.2'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .pz-l > b.a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='8' width='12' height='9' rx='2.5'/%3E%3Cpath d='M10 8V4M14 8V4M12 17v4'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .pz-l > b.w::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2.5'/%3E%3Cpath d='M9 12.5l2 2 4-4.5'/%3E%3C/svg%3E"); }
  html.web .dc-box .lw > .stk.ip .ipn > b, html.web .dc-box .lw > .stk.ip .ipn > .chev, html.web .dc-box .lw > .stk.ip .ipn::after, html.web .dc-box .lw > .stk.ip .ipr > em { transition: opacity .25s ease; }
  html.web .dc-box .lw > .stk.ip.pz2 .ipn > b, html.web .dc-box .lw > .stk.ip.pz2 .ipn > .chev, html.web .dc-box .lw > .stk.ip.pz2 .ipn::after, html.web .dc-box .lw > .stk.ip.pz2 .ipr > em { opacity: 0; }
}
@keyframes pzDrop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } 45% { opacity: 1; } to { opacity: 1; transform: none; } }