/* Manrope и Unbounded — SIL Open Font License 1.1 (fonts.google.com); пазят се локално */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/unbounded-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/unbounded-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* MSArt — каталог. Тъмна галерия; червеното е само акцент. */
@view-transition { navigation: auto; }

:root {
  --bg: #0A0A0C; --bg2: #101014; --card: #15151A; --card2: #1C1C23;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
  --text: #F4F4F6; --muted: #A9A9B3; --dim: #74747F;
  --red: #FF2A2A; --red2: #D90012; --glow: rgba(255,42,42,.35);
  --r: 22px; --r2: 14px; --pad: clamp(16px, 4.4vw, 40px); --max: 1240px;
  --f-head: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; min-height: 100svh; color: var(--text); background: var(--bg);
  font: 500 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(1200px 520px at 85% -120px, rgba(255,42,42,.10), transparent 70%);
  background-repeat: no-repeat;
  font-feature-settings: 'locl' 0;   /* стандартни кирилски форми (без „ръкописните“ български варианти) */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, button, input { font-feature-settings: 'locl' 0; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 7.4vw, 64px); }
h2 { font-size: clamp(24px, 4.6vw, 38px); }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.over { font: 700 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin-top: 14px; }
.muted { color: var(--muted); }
.sec { padding-block: clamp(44px, 8vw, 96px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.sec-head a { color: var(--muted); font-weight: 700; font-size: 15px; white-space: nowrap; }
.sec-head a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }

/* ── шапка ─────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(10,10,12,.66);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.hdr.scrolled { border-bottom-color: var(--line); background: rgba(10,10,12,.82); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; }
.brand svg { height: 25px; width: auto; }
.nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--pad) 12px; margin-inline: calc(var(--pad) * -1); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 9px 15px; border-radius: 99px; font-weight: 700; font-size: 15px; color: var(--muted);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: color .2s, background .2s, border-color .2s; }
.nav a:hover { color: var(--text); border-color: var(--line2); }
.nav a[aria-current="page"] { color: #fff; background: var(--red2); border-color: var(--red2); }
@media (min-width: 980px) {
  .hdr-row { height: 72px; }
  .hdr .nav { padding: 0; margin: 0; }
  .hdr-in { display: flex; align-items: center; gap: 28px; }
  .hdr-in .nav { flex: 1; justify-content: center; }
}

/* ── бутони ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px;
  border-radius: 99px; font-weight: 800; font-size: 16px; border: 1px solid var(--line2); background: rgba(255,255,255,.06);
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: rgba(255,255,255,.1); }
.btn:active { transform: scale(.97); }
.btn.red { background: var(--red2); border-color: var(--red2); color: #fff; box-shadow: 0 10px 30px -10px var(--glow); }
.btn.red:hover { background: var(--red); box-shadow: 0 14px 40px -10px var(--glow); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red2); color: #fff; }
.icon-btn svg { width: 22px; height: 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── снимка с „околен“ фон (contain + размито продължение) ─ */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); isolation: isolate; aspect-ratio: 1; }
.ph::before { content: ""; position: absolute; inset: -12%; z-index: -1; background: var(--lq) center/cover no-repeat;
  filter: blur(28px) saturate(1.3) brightness(.62); transform: scale(1.1); }
.ph img { width: 100%; height: 100%; object-fit: contain; }
.ph.cover img { object-fit: cover; }

/* ── начало ─────────────────────────────────────────── */
.hero { position: relative; }
.hero-media { position: relative; height: min(84svh, 760px); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; animation: kb 18s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.2) 0%, rgba(10,10,12,0) 30%, rgba(10,10,12,.55) 62%, var(--bg) 100%); }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-text { position: relative; margin-top: -230px; z-index: 2; }
.hero-text h1 { max-width: 13ch; }
.hero-text .lead { color: #D4D4DA; }
@media (min-width: 980px) {
  .hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; max-width: var(--max);
    margin-inline: auto; padding: 48px var(--pad) 0; min-height: 640px; }
  .hero-media { order: 2; height: 680px; border-radius: 28px; }
  .hero-media::after { background: linear-gradient(180deg, transparent 60%, rgba(10,10,12,.35)); }
  .hero-text { margin: 0; padding: 0; }
}
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.fact b { display: block; font: 600 clamp(24px, 4vw, 34px)/1.05 var(--f-head); letter-spacing: -.02em; margin-bottom: 8px; }
.fact span { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* бенто с мащабите */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { position: relative; border-radius: var(--r); container-type: inline-size; min-height: 200px; background: var(--card);
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  isolation: isolate; transition: transform .35s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-3px); border-color: var(--line2); }
.tile-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -2; }
.tile-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0) 30%, rgba(10,10,12,.88)); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .k { font: 600 clamp(30px, 22cqi, 56px)/1.05 var(--f-head); letter-spacing: -.03em; }
.tile .k.k2 { font-size: clamp(22px, 13cqi, 34px); }
.tile .k.clip { white-space: nowrap; overflow: hidden; text-overflow: clip; }       /* отрязва се на ръба на плочката */
.tile .k.k2.clip { white-space: normal; overflow: visible; }                         /* многословните се пренасят */
.tile:hover { z-index: 6; }
.tile .t { font-weight: 700; color: #DCDCE2; margin-top: 6px; }
.tile .arrow { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tile .arrow svg { width: 18px; height: 18px; }
.tile.big { grid-column: span 2; min-height: 320px; }
.tile.red { background: var(--red2); border-color: var(--red2); }
.tile.red .t { color: #fff; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
  .tile { min-height: 0; }
  .tile.big { grid-column: span 2; grid-row: span 2; min-height: 0; }
}

/* карти на модели */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px);
  padding: 8px; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--card2); }
.card .ph { aspect-ratio: 1; border-radius: var(--r); }
.card-body { padding: 16px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .over { margin-bottom: 2px; font-size: 11px; }
.card h2, .card h3 { font-size: 23px; }
.card .meta { color: var(--muted); font-size: 15px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.from { color: var(--muted); font-size: 14px; font-weight: 700; }
.from b { color: var(--text); font: 600 22px/1 var(--f-head); margin-left: 4px; }
.from.ask b { font-size: 16px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 12px; margin-inline: calc(var(--pad) * -1); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }
@media (min-width: 1280px) { .strip { margin: 0; padding-inline: 0; } }

/* мостри на материалите */
.sws { display: flex; gap: 5px; }
.sw { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); flex: none; display: inline-block; }
.sw.W { background: linear-gradient(130deg, #EBD3A6, #CFA56C 50%, #E4C48F 75%, #C99C62); }
.sw.P { background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(190,220,236,.55) 48%, rgba(255,255,255,.9) 54%, rgba(220,236,245,.6)); }
.sw.B { background: radial-gradient(circle at 35% 30%, #4A4A52, #060607 62%); }
.sw.A { background: radial-gradient(circle at 35% 30%, #fff, #E9E9EE 70%); }
.sw.M { background: linear-gradient(135deg, #7E858C, #F6F8F9 38%, #8F979E 62%, #E9ECEE); }

/* ── страница на мащаб ─────────────────────────────── */
.page-head { padding-block: clamp(28px, 6vw, 64px) clamp(20px, 4vw, 36px); }
.page-head h1 { font-size: clamp(54px, 13vw, 120px); line-height: .95; letter-spacing: -.04em; }
.page-head h1.txt { font-size: clamp(34px, 7.4vw, 64px); }

/* ── страница на модел ─────────────────────────────── */
.m-grid { display: grid; gap: 0; }
@media (min-width: 980px) {
  .m-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: start; padding-top: 32px; }
  .m-gal { position: sticky; top: 96px; }
}
.gal { position: relative; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; cursor: zoom-in; }
.gal .ph { aspect-ratio: 4 / 5; border-radius: 0; }
@media (min-width: 980px) { .gal { border-radius: 28px; overflow: hidden; } .gal .ph { aspect-ratio: 1 / 1.06; } }
.gal-ui { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; pointer-events: none; }
.dots { display: flex; gap: 6px; padding: 8px 12px; border-radius: 99px; background: rgba(10,10,12,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: auto; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dots button[aria-current="true"] { width: 22px; background: #fff; }
.gal-count { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 800;
  background: rgba(10,10,12,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gal-arrow { display: none; }
@media (hover: hover) and (min-width: 980px) {
  .gal-arrow { display: grid; place-items: center; position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: rgba(10,10,12,.55); backdrop-filter: blur(10px); cursor: pointer; opacity: 0; transition: opacity .25s; }
  .gal:hover .gal-arrow { opacity: 1; }
  .gal-arrow.prev { left: 16px; } .gal-arrow.next { right: 16px; }
  .gal-arrow svg { width: 20px; height: 20px; }
}
.thumbs { display: none; }
@media (min-width: 980px) {
  .thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 10px; }
  .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--card); opacity: .6; transition: opacity .2s, border-color .2s; }
  .thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }
}
.m-info { padding: 22px var(--pad) 0; }
@media (min-width: 980px) { .m-info { padding: 0; } }
.crumbs { display: flex; gap: 8px; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--text); }
.m-info h1 { font-size: clamp(36px, 7vw, 56px); }
.m-info .sub { color: var(--muted); font-size: 18px; margin-top: 8px; }
.buy { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 22px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pv { font: 600 clamp(40px, 9vw, 54px)/1 var(--f-head); letter-spacing: -.03em; transition: opacity .2s; }
.pv.ask { font-size: 28px; }
.code { font: 700 15px/1 var(--f-body); letter-spacing: .06em; padding: 9px 13px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--line2); }
.price-note { color: var(--dim); font-size: 14px; margin-top: 10px; }
.pick { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.pick legend { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; border: 1.5px solid var(--line2);
  background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .2s, background .2s; min-height: 58px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .sw { width: 26px; height: 26px; }
.opt b { display: block; font-size: 15px; line-height: 1.2; }
.opt small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 2px; }
.opt:hover { border-color: rgba(255,255,255,.3); }
.opt:has(input:checked) { border-color: var(--red); background: rgba(255,42,42,.08); }
.opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .35; cursor: not-allowed; }
.pnote { margin-top: 10px; color: var(--muted); font-size: 14px; }
.buy .btn-row { margin-top: 22px; }
.buy .btn.red { flex: 1 1 220px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.spec .k { font: 600 clamp(24px, 5vw, 34px)/1.05 var(--f-head); letter-spacing: -.02em; overflow-wrap: anywhere; }
.spec .k.sm { font-size: clamp(18px, 3.6vw, 22px); line-height: 1.2; }
.spec .t { color: var(--muted); font-size: 15px; font-weight: 700; }
.spec small { color: var(--dim); font-size: 14px; }
.spec.wide { grid-column: span 2; }
.spec svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 4px; }
.fit { margin-top: 10px; background: linear-gradient(135deg, rgba(255,42,42,.14), rgba(255,42,42,.02)); border: 1px solid rgba(255,42,42,.25);
  border-radius: var(--r); padding: 20px; font-size: 17px; }
.fit b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }

/* лепкава лента за цена (телефон) */
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 99px; background: rgba(22,22,27,.86);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--line2);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7); translate: 0 140%; transition: translate .4s var(--ease); }
.sticky-buy.show { translate: 0 0; }
.sticky-buy .sp { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sticky-buy .sp b { font: 600 22px/1.1 var(--f-head); }
.sticky-buy .sp small { color: var(--muted); font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 980px) { .sticky-buy { display: none; } }

/* ── кейсове ───────────────────────────────────────── */
.items { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .items { grid-template-columns: repeat(3, 1fr); } }
.item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.item h3 { font-size: 18px; }
.item .meta { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #D6D6DC; }
.ip { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }
.ip > div { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ip small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ip b { font: 600 21px/1.2 var(--f-head); }
.ip b.ask { font: 800 16px/1.4 var(--f-body); }
.note-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; color: var(--muted); }
.note-box b { color: var(--text); }

/* ── как да изберете / поръчка ─────────────────────── */
.steps { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.step::before { counter-increment: s; content: counter(s); grid-row: span 2; font: 600 44px/1 var(--f-head); color: var(--red); }
.step h3 { font-size: 21px; align-self: end; }
.step p { color: var(--muted); }
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .choice { grid-template-columns: repeat(4, 1fr); } .choice.five { grid-template-columns: repeat(5, 1fr); } .choice.three { grid-template-columns: repeat(3, 1fr); } }
.choice > * { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .3s var(--ease); }
.choice a:hover { border-color: var(--line2); transform: translateY(-2px); }
.choice .k { font: 600 34px/1 var(--f-head); letter-spacing: -.03em; }
.choice .sw { width: 52px; height: 52px; margin-bottom: 8px; }
.choice b { font-size: 18px; }
.choice span { color: var(--muted); font-size: 15px; }
.anatomy { display: flex; flex-wrap: wrap; gap: 8px; }
.anatomy div { text-align: center; }
.anatomy .seg { display: block; font: 600 clamp(34px, 9vw, 64px)/1 var(--f-head); padding: 16px 20px; border-radius: 18px; background: var(--card2); border: 1px solid var(--line2); }
.anatomy .seg.r { background: var(--red2); border-color: var(--red2); }
.anatomy small { display: block; color: var(--muted); font-weight: 700; font-size: 14px; margin-top: 8px; }

/* призив */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(30px, 6vw, 64px); background: var(--card);
  border: 1px solid var(--line); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 100% 0%, rgba(255,42,42,.28), transparent 70%); }
.cta-band h2 { max-width: 18ch; }

/* ── подножие ───────────────────────────────────────── */
.ftr { margin-top: clamp(40px, 8vw, 90px); border-top: 1px solid var(--line); padding-block: 36px calc(110px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; }
.ftr .wrap { display: grid; gap: 22px; }
.ftr svg.logo { height: 24px; width: auto; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; }
.ftr nav a:hover { color: var(--text); }
@media (min-width: 980px) { .ftr { padding-bottom: 40px; } .ftr .wrap { grid-template-columns: 1.2fr 2fr; align-items: center; } }

/* ── голям преглед на снимките ─────────────────────── */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; }
.lb::backdrop { background: rgba(0,0,0,.92); }
.lb[open] { display: flex; flex-direction: column; animation: lbIn .25s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); }
.lb-count { font-weight: 800; font-size: 15px; color: #ccc; }
.lb-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); cursor: pointer; display: grid; place-items: center; }
.lb-close svg { width: 22px; height: 22px; }
.lb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track { min-height: 0; }
.lb-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center;
  overflow: hidden; touch-action: pan-x; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: center center;
  cursor: zoom-in; user-select: none; -webkit-user-drag: none; transition: transform .25s var(--ease); }
.lb-slide.zoomed { touch-action: none; }
.lb-slide.zoomed img { cursor: grab; }
.lb-slide.moving img { transition: none; }
.lb-track.locked { overflow: hidden; scroll-snap-type: none; }
.lb-tools { display: flex; gap: 8px; align-items: center; }
.lb-z { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  font: 600 26px/1 var(--f-body); display: grid; place-items: center; padding: 0 0 3px; }
.lb-z:hover, .lb-close:hover { background: rgba(255,255,255,.22); }
.lb-cap { padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); text-align: center; color: #ccc; font-weight: 600; min-height: 50px; }
.lb .gal-arrow { opacity: 1; }

/* тост */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); translate: -50% 20px; opacity: 0; z-index: 60;
  background: #fff; color: #000; font-weight: 800; padding: 12px 20px; border-radius: 99px; transition: .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* появяване при превъртане */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
    @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
::view-transition-group(*) { animation-duration: .42s; animation-timing-function: var(--ease); }

/* служебни */
.m-wrap { padding-inline: 0; }
@media (min-width: 980px) { .m-wrap { padding-inline: var(--pad); } }
.m-only { display: grid; }
.d-only { display: none; }
@media (min-width: 980px) { .m-only { display: none; } .d-only { display: inline-flex; } }

/* надписи, които не се събират: на един ред с „…“, а при посочване се показват целите, извън прозорчето */
.clip { display: block; min-width: 0; }
.opt-t { min-width: 0; flex: 1; }
.card, .item, .spec, .opt { position: relative; }
.card:hover, .item:hover, .spec:hover, .opt:hover { z-index: 6; }
@media (hover: hover) and (pointer: fine) {
  .clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .clip.is-cut { cursor: default; }
  /* скритата част излиза извън прозорчето при посочване на цялото прозорче — само буквите */
  .clip.is-cut:hover, .tile:hover .clip.is-cut, .card:hover .clip.is-cut, .opt:hover .clip.is-cut,
  .spec:hover .clip.is-cut, .item:hover .clip.is-cut { overflow: visible; position: relative; z-index: 30; }
}

.ftr .legal { grid-column: 1 / -1; font-size: 13px; color: var(--dim); margin: 0; }
