/* Сторінка «Інтернет-магазин» (/internet-magazyn, замовник 14.11): екрани магазину з нуля — планшет: магазин одягу «FORMA»,
   телефон: магазин техніки «VOLT» (замовник: «на одном виде магазин одежды…, а на моб — магазин техники»). Монохром + акцент
   --mint; товари — SVG partials/shop-art.html (колір виробу — класи .v-*). Рамки пристроїв і розділи — product.css. */

/* ---------- основа екрана магазину ---------- */
.sc.im { background: #fff; color: var(--ink); font-family: var(--font); display: flex; flex-direction: column; font-size: 10px; line-height: 1.3; }
/* телефон: фото товару — на весь екран під «острівцем»; шапка й привітання — нижче за нього */
.dv-ph > .sc.im { padding-top: 0; }
.dv-ph > .sc.im > .im-top:first-child, .dv-ph > .sc.im > .im-hello:first-child { padding-top: 34px; }
.sc.im svg.art, .im-ph svg, .im-gal svg { display: block; }
.v-w { --a1: url(#ga-lt); --ao: #b9c0bc; --a3: #8c9491; }
.v-l { --a1: url(#ga-lt2); --ao: #b4bbb7; }
.v-k { --a1: url(#ga-dk); --ao: none; }
.v-g { --a1: url(#ga-md); }
.im-ic { width: 15px; height: 15px; flex: none; color: var(--ink); position: relative; }
.im-ic svg { width: 100%; height: 100%; }
.im-ic em { position: absolute; top: -5px; right: -6px; min-width: 12px; height: 12px; padding: 0 3px; border-radius: 6px; background: var(--mint); color: #fff; font: 700 8px/12px var(--font); font-style: normal; text-align: center; }

/* шапка */
.im-top { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-bottom: 1px solid var(--line); flex: none; }
.im-word { font-weight: 800; font-size: 12.5px; letter-spacing: .2em; }
.im-word.volt { letter-spacing: .02em; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.im-word.volt svg { width: 12px; height: 12px; color: var(--mint); }
.im-tnav { display: flex; gap: 11px; margin: 0 auto; font-size: 9.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.im-tnav .hot { color: var(--mint-ink); }
.im-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 5%, #fff); color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; }
.im-search svg { width: 11px; height: 11px; flex: none; }

/* банер-слайд */
.im-hslide { position: relative; margin: 9px 12px 0; border-radius: 13px; background: radial-gradient(circle at 74% 56%, #444c48, #121615 64%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 14px 16px; min-height: 124px; overflow: hidden; flex: none; }
.im-hslide small { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-2); }
.im-hslide b { display: block; font-size: 18px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; margin: 5px 0 10px; }
.im-btn { display: inline-block; padding: 6px 11px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 9.5px; font-weight: 700; }
.im-hslide svg.art { width: 142px; height: 142px; margin: -16px -6px -22px 0; flex: none; }
.im-hslide .sale { position: absolute; left: 47%; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 10.5px; transform: rotate(-12deg); box-shadow: 0 8px 18px -8px var(--mint-2); }
.im-bars { position: absolute; left: 16px; bottom: 9px; display: flex; gap: 4px; }
.im-bars i { width: 14px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.im-bars i.on { background: #fff; }

/* розділи, картки товарів */
.im-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 12px 6px; flex: none; }
.im-sec b { font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.im-sec span { font-size: 9px; color: var(--mint-ink); font-weight: 700; }
.im-grid { display: grid; gap: 8px; padding: 0 12px 10px; }
.im-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.im-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.im-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.im-card { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.im-ph { position: relative; aspect-ratio: 1 / 1; border-radius: 11px; background: radial-gradient(circle at 50% 40%, #fbfcfc, #e5e8e6 80%); display: grid; place-items: center; overflow: hidden; }
.im-ph svg { width: 94%; height: 94%; }
.im-ph .tag { position: absolute; left: 6px; top: 6px; padding: 1px 5px; border-radius: 5px; background: var(--ink); color: #fff; font-size: 7.5px; font-weight: 700; z-index: 1; }
.im-ph .tag.m { background: var(--mint); }
.im-ph .fav { position: absolute; right: 6px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); z-index: 1; }
.im-ph .fav svg { width: 9px; height: 9px; }
.im-nm { font-size: 9.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.im-sub { font-size: 8px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.im-sz { display: flex; gap: 2px; }
.im-sz i { font-style: normal; font-size: 7px; line-height: 1; padding: 2px 3px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.im-sz i.x { opacity: .45; text-decoration: line-through; }
.im-pr { display: flex; align-items: baseline; gap: 4px; }
.im-pr b { font-size: 11px; font-weight: 800; letter-spacing: -.01em; }
.im-pr s { font-size: 8.5px; color: var(--muted); }
.im-pr .add { margin-left: auto; align-self: center; width: 17px; height: 17px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; line-height: 1; }
.im-rt { font-size: 8.5px; color: var(--muted); }
.im-rt b { color: var(--ink); }

/* категорії «бенто» (планшет) */
.im-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; padding: 0 12px; flex: none; }
.im-bento > div { position: relative; border-radius: 12px; min-height: 96px; padding: 10px; overflow: hidden; background: radial-gradient(circle at 70% 72%, #fbfcfc, #e3e7e5 85%); }
.im-bento b { position: relative; z-index: 1; display: block; font-size: 11.5px; font-weight: 800; }
.im-bento small { position: relative; z-index: 1; display: block; font-size: 8.5px; color: var(--muted); }
.im-bento svg.art { position: absolute; right: -8px; bottom: -10px; width: 84px; height: 84px; }
.im-bento .dk { background: radial-gradient(circle at 70% 70%, #444c48, #121615 70%); color: #fff; }
.im-bento .dk small { color: rgba(255, 255, 255, .7); }

/* «Товар дня» */
.im-deal { display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: 12px; margin: 0 12px 12px; padding: 9px; border-radius: 13px; border: 1px solid var(--line); align-items: center; }
.im-deal .im-nm { font-size: 11px; }
.im-deal .im-pr b { font-size: 15px; }
.im-timer { display: inline-flex; gap: 3px; align-items: center; font-size: 8.5px; color: var(--muted); }
.im-timer i { font-style: normal; background: var(--ink); color: #fff; border-radius: 4px; padding: 2px 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.im-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.im-track i { height: 4px; border-radius: 2px; background: var(--line); }
.im-track i.on { background: var(--mint); }
.im-trackl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; font-size: 7.5px; color: var(--muted); }
.im-trackl .on { color: var(--ink); font-weight: 700; }
.im-cta { display: block; padding: 9px; border-radius: 11px; background: var(--ink); color: #fff; text-align: center; font-weight: 700; font-size: 10.5px; }
.im-cta.m { background: var(--mint); box-shadow: 0 8px 18px -10px var(--mint); }

/* каталог із фільтрами збоку (планшет) */
.im-crumb { padding: 8px 12px 2px; font-size: 8.5px; color: var(--muted); flex: none; }
.im-crumb b { display: block; margin-top: 2px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.im-cat { display: grid; grid-template-columns: 27% minmax(0, 1fr); gap: 10px; padding: 6px 12px 10px; flex: 1; min-height: 0; }
.im-side { display: flex; flex-direction: column; gap: 7px; padding-right: 10px; border-right: 1px solid var(--line); font-size: 9px; }
.im-side h5 { margin: 2px 0 0; font-size: 9.5px; font-weight: 700; }
.im-chk { display: flex; gap: 5px; align-items: center; color: var(--ink); }
.im-chk i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid #c3cbc7; flex: none; }
.im-chk i.on { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.im-chk small { margin-left: auto; color: var(--muted); font-size: 8px; }
.im-cat .im-grid { padding: 0; align-content: start; }

/* фільтри: пігулки, кольори, повзунок, перемикач */
.im-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.im-pills span { padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); font-size: 8.5px; font-weight: 600; }
.im-pills .on { background: var(--ink); border-color: var(--ink); color: #fff; }
.im-sw { display: flex; gap: 6px; align-items: center; font-size: 8.5px; color: var(--muted); }
.im-sw i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.im-sw i.c1 { background: #1b1f1d; } .im-sw i.c2 { background: #f2f4f3; } .im-sw i.c3 { background: #9aa39f; } .im-sw i.c4 { background: #5c6561; }
.im-sw i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.4px var(--ink); }
.im-range { position: relative; height: 14px; }
.im-range::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--line); }
.im-range i { position: absolute; top: 6px; height: 2px; left: 16%; right: 28%; background: var(--ink); }
.im-range b { position: absolute; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.im-range b.l { left: calc(16% - 6px); } .im-range b.r { right: calc(28% - 6px); }
.im-rv { display: flex; justify-content: space-between; margin-top: 2px; font-size: 8.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.im-tog { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 9px; font-weight: 600; }
.im-tog i { width: 24px; height: 14px; border-radius: 7px; background: var(--mint); position: relative; flex: none; }
.im-tog i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

/* телефон: головна з історіями */
.im-stories { display: flex; gap: 8px; padding: 9px 11px 3px; overflow: hidden; flex: none; }
.im-stories span { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 34px; flex: none; font-size: 7.5px; color: var(--muted); white-space: nowrap; }
.im-stories i { width: 34px; height: 34px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, var(--mint-2), var(--mint), var(--mint-2)); display: block; }
.im-stories i svg { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, #fbfcfc, #e5e8e6); border: 2px solid #fff; box-sizing: border-box; }
.im-stories .seen i { background: var(--line); }
.im-pslide { position: relative; margin: 8px 11px 0; border-radius: 13px; background: radial-gradient(circle at 76% 50%, color-mix(in srgb, var(--mint) 55%, #0d1513), #0d1513 66%); color: #fff; display: flex; align-items: center; padding: 12px; min-height: 104px; overflow: hidden; flex: none; }
.im-pslide small { font-size: 7.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-2); }
.im-pslide b { display: block; font-size: 14px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 8px; }
.im-pslide .im-btn { font-size: 8.5px; padding: 5px 9px; }
.im-pslide svg.art { position: absolute; right: -10px; top: 50%; width: 100px; height: 100px; transform: translateY(-50%); }
.im-pslide > div { position: relative; z-index: 1; max-width: 58%; }
.im-tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding: 6px 4px 10px; font-size: 7.5px; color: var(--muted); text-align: center; flex: none; background: #fff; }
.im-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.im-tabbar svg { width: 14px; height: 14px; }
.im-tabbar .on { color: var(--mint-ink); font-weight: 700; }

/* телефон: картка товару */
.im-gal { position: relative; height: 45%; background: radial-gradient(circle at 50% 45%, #fbfcfc, #e3e7e5 80%); display: grid; place-items: center; flex: none; }
.im-gal svg.art { width: 82%; height: 92%; }
.im-gal .back, .im-gal .fv { position: absolute; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); color: var(--ink); }
.im-gal .back svg, .im-gal .fv svg { width: 12px; height: 12px; }
.im-gal .back { left: 8px; } .im-gal .fv { right: 8px; }
.im-gal .dots { position: absolute; bottom: 8px; display: flex; gap: 4px; }
.im-gal .dots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.im-gal .dots i.on { width: 12px; border-radius: 3px; background: var(--ink); }
.im-gal .tag { position: absolute; left: 10px; bottom: 10px; padding: 2px 6px; border-radius: 6px; background: var(--mint); color: #fff; font-size: 8.5px; font-weight: 700; }
.im-pb { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; }
.im-pb > small { font-size: 8.5px; color: var(--muted); }
.im-pn { font-size: 14px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.im-price { display: flex; align-items: baseline; gap: 6px; }
.im-price b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.im-price s { font-size: 10px; color: var(--muted); }
.im-parts { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 8px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 5%, #fff); font-size: 9px; }
.im-parts em { font-style: normal; padding: 2px 6px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; font-size: 8px; }
.im-ok { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; color: var(--mint-ink); }
.im-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: none; }
.im-pb .im-cta { margin-top: auto; }

/* телефон: шторка фільтрів */
.im-dim { position: absolute; inset: 0; background: rgba(9, 20, 16, .38); }
.im-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 30%; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35); padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.im-sheet::before { content: ""; align-self: center; width: 30px; height: 4px; border-radius: 3px; background: var(--line); }
.im-sheet h4 { margin: 0; font-size: 12px; font-weight: 800; }
.im-sheet h5 { margin: 2px 0 0; font-size: 9.5px; font-weight: 700; }
.im-sheet .im-cta { margin-top: auto; }

/* телефон: оформлення, кабінет, чат */
.im-steps { display: flex; gap: 4px; padding: 8px 12px 0; flex: none; }
.im-steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.im-steps i.on { background: var(--mint); }
.im-line { display: flex; align-items: center; gap: 7px; font-size: 9px; }
.im-line .im-ph { width: 30px; flex: none; border-radius: 8px; }
.im-line b { display: block; font-size: 9.5px; }
.im-line .r { margin-left: auto; font-weight: 700; white-space: nowrap; }
.im-opt { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; border: 1px solid var(--line); font-size: 9px; }
.im-opt .rd { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c3cbc7; flex: none; }
.im-opt.on { border-color: var(--ink); }
.im-opt.on .rd { box-shadow: inset 0 0 0 4px var(--ink); }
.im-opt b { display: block; font-size: 9.5px; }
.im-opt small { color: var(--muted); font-size: 8px; }
.im-opt .r { margin-left: auto; font-weight: 700; white-space: nowrap; }
.im-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 9.5px; }
.im-sum b { font-size: 13px; font-weight: 800; }
.im-hello { padding: 12px; background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--mint) 45%, #0d1513), #0d1513 70%); color: #fff; flex: none; }
.im-hello small { color: rgba(255, 255, 255, .65); font-size: 8.5px; }
.im-hello b { display: block; font-size: 14px; font-weight: 800; margin-top: 2px; }
.im-bonus { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; padding: 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, .09); font-size: 9px; }
.im-bonus b { display: inline; margin: 0; font-size: 13px; color: var(--mint-2); }
.im-box { border: 1px solid var(--line); border-radius: 11px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.im-box .hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 9.5px; }
.im-box .hd b { font-weight: 800; }
.im-chat { align-self: flex-end; max-width: 82%; padding: 6px 9px; border-radius: 12px 12px 3px 12px; background: var(--ink); color: #fff; font-size: 9px; }
.im-chat.in { align-self: flex-start; background: color-mix(in srgb, var(--ink) 6%, #fff); color: var(--ink); border-radius: 12px 12px 12px 3px; }
.im-input { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.im-input span { flex: 1; }
.im-input i { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); flex: none; position: relative; }
.im-input i::after { content: ""; position: absolute; left: 7px; top: 6px; border: 4px solid transparent; border-left: 7px solid #fff; }
.im-ok-ring { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-ink); display: grid; place-items: center; font-size: 22px; font-weight: 800; }

/* CRM: замовлення (ноутбук) */
.sc.imc { display: flex; font-family: var(--font); background: var(--paper); color: var(--ink); }
.imc-rail { width: 22%; background: var(--dark); color: rgba(255, 255, 255, .7); padding: 8px 6px; display: flex; flex-direction: column; gap: 3px; font-size: 8.5px; flex: none; }
.imc-rail b { color: #fff; font-size: 10px; padding: 0 4px 6px; display: flex; align-items: center; gap: 5px; }
.imc-rail b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2.4px var(--mint-2); }
.imc-rail span { padding: 4px 6px; border-radius: 6px; display: flex; justify-content: space-between; }
.imc-rail .on { background: var(--mint); color: #fff; font-weight: 700; }
.imc-rail .on em { background: #fff; color: var(--mint-ink); border-radius: 6px; padding: 0 4px; font-style: normal; font-weight: 800; }
.imc-main { flex: 1; min-width: 0; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.imc-main h5 { margin: 0; font-size: 12px; font-weight: 800; }
.imc-tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--line); font-size: 8.5px; font-weight: 600; color: var(--muted); }
.imc-tabs span { padding: 3px 0 5px; display: flex; gap: 3px; align-items: center; }
.imc-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--mint); }
.imc-tabs em { font-style: normal; padding: 0 4px; border-radius: 6px; background: var(--mint); color: #fff; font-size: 7.5px; font-weight: 800; }
.imc-row { display: grid; grid-template-columns: 1.15fr 1.5fr .9fr .8fr; gap: 6px; align-items: center; padding: 5px 6px; border-radius: 7px; background: var(--surface); font-size: 8.5px; border: 1px solid var(--line); }
.imc-row b { font-weight: 700; }
.imc-row .n { display: flex; gap: 4px; align-items: center; }
.imc-row .n em { font-style: normal; padding: 0 4px; border-radius: 5px; background: var(--mint-soft); color: var(--mint-ink); font-size: 7.5px; font-weight: 700; }
.imc-row .n i { font-style: normal; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line); font-size: 7.5px; font-weight: 700; }
.imc-st { justify-self: start; padding: 1px 6px; border-radius: 6px; font-size: 7.5px; font-weight: 700; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.imc-st.nw { background: color-mix(in srgb, #1d64d6 14%, transparent); color: #1d64d6; }
.imc-alert { position: absolute; right: 8px; bottom: 8px; width: 58%; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); padding: 8px; display: flex; gap: 7px; font-size: 8.5px; }
.imc-alert .ic { width: 22px; height: 22px; border-radius: 7px; background: var(--mint-soft); color: var(--mint-ink); display: grid; place-items: center; flex: none; }
.imc-alert .ic svg { width: 13px; height: 13px; }
.imc-alert b { display: block; font-size: 9.5px; }
.imc-alert small { color: var(--muted); display: block; }
.imc-alert .acts { display: flex; gap: 4px; margin-top: 5px; }
.imc-alert .acts span { padding: 3px 7px; border-radius: 6px; font-weight: 700; border: 1px solid var(--line); }
.imc-alert .acts .p { background: var(--mint); color: #fff; border-color: var(--mint); }

/* ---------- композиції ---------- */
.im-hero-vis { position: relative; display: flex; justify-content: flex-start; align-items: flex-end; min-height: 460px; padding: 0 0 20px; }
.im-hero-vis .dv-tab { width: 530px; }
.im-hero-vis .dv-ph { position: absolute; right: -40px; bottom: -26px; width: 190px; z-index: 2; }
.im-hero-vis .dv-tab .im-hslide { margin-right: 130px; } .im-hero-vis .dv-ph .im-gal { height: 39%; } .im-hero-vis .dv-ph .im-pb { gap: 5px; } .im-hero-vis .dv-tab .im-grid.g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-right: 118px; }
.im-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); font-size: 12.5px; line-height: 1.3; max-width: 260px; }
.im-chip .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--mint-soft); color: var(--mint-ink); display: grid; place-items: center; flex: none; }
.im-chip .ic svg { width: 17px; height: 17px; }
.im-chip b { display: block; font-size: 13px; }
.im-chip .mut { font-size: 11.5px; }
.im-chip.c1 { left: 26px; top: -34px; }
.im-chip.c2 { left: 22%; bottom: -30px; }
.im-chip .bell { animation: im-ring 2.6s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes im-ring { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.im-duo { position: relative; padding: 0 118px 30px 0; }
.pp-vis .im-duo .dv-tab:not(.port) { width: 460px; }
.im-duo .dv-ph { position: absolute; right: 0; bottom: 0; width: 178px; z-index: 2; }
.im-pair { display: flex; align-items: flex-end; justify-content: center; gap: 22px; }
.im-pair .dv-ph { width: 210px; }
.im-pair .dv-ph.lo { transform: translateY(26px); }
.pp-vis .dv-lap.im-lap { width: 540px; }
.im-label { position: absolute; z-index: 3; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.im-label.t { left: 18px; top: -12px; }
.im-label.p { right: 18px; bottom: -14px; background: var(--mint); }

/* ціна й просування */
.im-price-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.im-price-l { background: radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, var(--mint-2) 22%, transparent), transparent 62%), var(--dark); color: var(--dark-ink); padding: 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.im-price-l .eyebrow { color: var(--mint-2); }
.im-price-l .amt { font-size: clamp(44px, 6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.im-price-l .amt small { font-size: 18px; font-weight: 600; color: var(--dark-muted); letter-spacing: 0; }
.im-price-l p { margin: 0; color: var(--dark-muted); }
.im-price-l .plans { display: flex; gap: 8px; flex-wrap: wrap; }
.im-price-l .plans span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dark-line); color: var(--dark-ink); font-weight: 600; font-size: 14px; }
.im-price-l .btn { align-self: flex-start; }
.im-price-r { padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.im-price-r h3 { margin: 0; font-size: 20px; }
.im-promo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.im-promo > div { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.im-promo .ic { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.im-promo .ic svg { width: 22px; height: 22px; }
.im-promo h3 { margin: 4px 0 0; font-size: 17px; }
.im-promo p { margin: 0; color: var(--muted); font-size: 15px; }
.im-any { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.im-any span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14.5px; }
.im-any svg { width: 17px; height: 17px; color: var(--mint-ink); }

@media (min-width: 641px) and (max-width: 1180px) { .im-hero-vis .dv-tab { width: 470px; } .im-hero-vis .dv-ph { width: 180px; } .pp-vis .im-duo .dv-tab:not(.port) { width: 380px; } .im-duo .dv-ph { width: 156px; } .im-duo { padding-right: 96px; } .pp-vis .dv-lap.im-lap { width: 470px; } }
@media (max-width: 980px) { .im-hero-vis { min-height: 0; justify-content: center; } .im-promo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .im-price-card { grid-template-columns: 1fr; } }
/* вузько: композиції пристроїв — у тих самих пропорціях, зменшені цілком (zoom), щоб екрани магазину лишались читабельними */
@media (max-width: 640px) {
  .im-hero-vis { zoom: .6; width: 570px; min-height: 0; margin: 40px auto 30px; padding-bottom: 0; justify-content: flex-start; }
  .im-hero-vis .dv-tab { width: 530px; } .im-hero-vis .dv-ph { width: 190px; right: -40px; bottom: -26px; }
  .im-chip { font-size: 15px; max-width: 320px; } .im-chip b { font-size: 16px; } .im-chip .mut { font-size: 14px; }
  .im-duo { zoom: .6; padding: 0 118px 30px 0; } .pp-vis .im-duo .dv-tab:not(.port) { width: 460px; } .im-duo .dv-ph { width: 178px; }
  .im-pair { zoom: .8; gap: 22px; } .im-pair .dv-ph { width: 210px; }
  .pp-vis .dv-lap.im-lap { width: 540px; zoom: .62; }
  .im-promo { grid-template-columns: 1fr; } .im-price-l, .im-price-r { padding: 24px; }
}
@media (max-width: 560px) { .pp-vis .im-pair .dv-ph + .dv-ph { display: block; } } /* обидва телефони — це й є «вид з телефона» */
@media (max-width: 400px) { .im-hero-vis { zoom: .55; } .im-duo { zoom: .55; } .im-pair { zoom: .74; } .pp-vis .dv-lap.im-lap { zoom: .57; } }
@media (prefers-reduced-motion: reduce) { .im-chip .bell { animation: none; } }
