/* ─────────────────────────────────────────────────────────────────────────────
   ISWAP VÝKUP — clean, modern, intuitive
   Font: Plus Jakarta Sans · White surfaces · Soft cards · Calm green accent
───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F5F6F8;
  --bg-tint:   #F0FAF4;
  --card:      #FFFFFF;
  --ink:       #0E1116;
  --ink-2:     #5A6573;
  --ink-3:     #97A0AD;
  --border:    #E7E9ED;
  --border-2:  #DCDFE5;

  --accent:    #10B981;   /* emerald */
  --accent-d:  #059669;
  --accent-dd: #047857;
  --accent-soft: #ECFDF5;

  --danger:    #EF4444;
  --warn:      #D97706;
  --warn-soft: #FFFBEB;

  --shadow-sm: 0 1px 2px rgba(16,17,22,.05), 0 1px 3px rgba(16,17,22,.04);
  --shadow:    0 4px 12px rgba(16,17,22,.06), 0 2px 4px rgba(16,17,22,.04);
  --shadow-lg: 0 20px 48px rgba(16,17,22,.10), 0 6px 16px rgba(16,17,22,.06);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-full: 999px;

  --nav-h: 64px;
  --max-w: 1120px;
  --ease:  cubic-bezier(.4, 0, .2, 1);

  --f: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
::selection { background: var(--accent-soft); color: var(--accent-dd); }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.tnum { font-variant-numeric: tabular-nums; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav__inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .nav__inner { padding: 0 32px; } }

.nav__logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
}
.nav__logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.nav__logo-mark svg { width: 15px; height: 15px; }
.nav__logo span { color: var(--ink-3); font-weight: 600; }

.nav__links { display: none; align-items: center; gap: 4px; }
@media (min-width: 860px) { .nav__links { display: flex; } }
.nav__link {
  font-size: .92rem; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border-radius: var(--r-sm); transition: all .15s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }

.nav__right { display: flex; align-items: center; gap: 8px; }

.nav__burger {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-sm); transition: background .15s;
}
.nav__burger:hover { background: var(--bg-soft); }
@media (min-width: 860px) { .nav__burger { display: none; } }
.nav__burger svg { width: 22px; height: 22px; }

.nav__mob {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: 24px 20px;
  flex-direction: column; gap: 4px;
}
.nav__mob.open { display: flex; }
.nav__mob .nav__link {
  font-size: 1.1rem; padding: 14px 16px; border-radius: var(--r);
  display: flex; justify-content: space-between; align-items: center;
}
.nav__mob .btn { margin-top: 16px; justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  padding: 12px 22px; border-radius: var(--r-full);
  transition: all .18s var(--ease); white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #232833; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-d); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16,185,129,.28); }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--bg-soft); }
.btn--lg { font-size: 1.02rem; padding: 15px 28px; }
.btn--block { width: 100%; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px;
  background:
    radial-gradient(900px 460px at 50% -8%, var(--bg-tint) 0%, rgba(240,250,244,0) 70%),
    var(--bg);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; } }

.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-dd);
  font-size: .82rem; font-weight: 700; padding: 6px 14px 6px 10px;
  border-radius: var(--r-full); margin-bottom: 22px;
}
.hero__pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16,185,129,.18); }

.hero__h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.035em; color: var(--ink); margin-bottom: 18px;
}
.hero__h1 em { font-style: normal; color: var(--accent-d); }

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--ink-2);
  line-height: 1.6; max-width: 480px; margin-bottom: 30px;
}

.hero__points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.hero__point { display: flex; align-items: center; gap: 11px; font-size: .98rem; font-weight: 600; color: var(--ink); }
.hero__point-ic {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-d);
  display: grid; place-items: center;
}
.hero__point-ic svg { width: 13px; height: 13px; }

/* ── Calculator card ─────────────────────────────────────────────────────── */
.calc {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 26px; position: relative;
}
@media (min-width: 768px) { .calc { padding: 30px; } }

.calc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calc__title { font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; }
.calc__badge {
  font-size: .76rem; font-weight: 700; color: var(--accent-dd);
  background: var(--accent-soft); padding: 5px 11px; border-radius: var(--r-full);
}

.field { margin-bottom: 18px; }
.field__label {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 9px;
}
.field__step {
  width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: .68rem; font-weight: 700; flex-shrink: 0;
}

.select {
  position: relative;
}
.select select {
  width: 100%; appearance: none; cursor: pointer;
  padding: 14px 44px 14px 16px;
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: var(--r);
  font-size: 1rem; font-weight: 600; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.select select:hover { border-color: var(--ink-3); }
.select select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.select__chev {
  position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-3); pointer-events: none;
}

.conds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cond {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 13px 14px; text-align: left;
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: var(--r);
  transition: all .15s var(--ease);
}
.cond:hover { border-color: var(--ink-3); }
.cond.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.cond__top { display: flex; align-items: center; gap: 8px; }
.cond__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cond__name { font-size: .92rem; font-weight: 700; color: var(--ink); }
.cond__hint { font-size: .76rem; color: var(--ink-3); line-height: 1.35; }

/* damage extras */
.damage {
  margin-top: 10px; padding: 14px; border-radius: var(--r);
  background: #FEF2F2; border: 1px solid #FECACA;
  display: none;
}
.damage.show { display: block; animation: pop .2s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.damage__label { font-size: .8rem; font-weight: 700; color: var(--danger); margin-bottom: 10px; }
.damage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.chk { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk__box {
  width: 19px; height: 19px; border-radius: 6px; border: 1.5px solid var(--border-2);
  background: #fff; display: grid; place-items: center; flex-shrink: 0; transition: all .15s;
}
.chk__box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .12s; }
.chk input:checked + .chk__box { background: var(--danger); border-color: var(--danger); }
.chk input:checked + .chk__box svg { opacity: 1; }

/* result */
.calc__result {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border);
}
.result__label { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.result__price {
  font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.04em;
  color: var(--accent-d); line-height: 1; white-space: nowrap;
  transition: opacity .16s, transform .16s;
}
.result__price.flash { opacity: 0; transform: translateY(-5px); }
.result__note { font-size: .82rem; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }

.calc__cta { margin-top: 20px; }
.calc__safe {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 14px; font-size: .8rem; color: var(--ink-3); font-weight: 500;
}
.calc__safe svg { width: 14px; height: 14px; color: var(--accent); }

/* ── Logos / trust strip ─────────────────────────────────────────────────── */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.strip__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .strip__inner { grid-template-columns: repeat(4, 1fr); } }
.strip__item {
  background: var(--bg-soft); padding: 22px 20px;
  display: flex; align-items: center; gap: 13px;
}
.strip__ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-d);
  display: grid; place-items: center;
}
.strip__ic svg { width: 19px; height: 19px; }
.strip__t { font-size: .94rem; font-weight: 700; color: var(--ink); }
.strip__s { font-size: .8rem; color: var(--ink-2); margin-top: 1px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.s-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.s-head--left { margin-left: 0; text-align: left; }
.s-eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; color: var(--accent-d);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}
.s-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.section--dark .s-title { color: #fff; }
.s-sub { font-size: 1.05rem; color: var(--ink-2); margin-top: 14px; line-height: 1.6; }
.section--dark .s-sub { color: rgba(255,255,255,.6); }

/* ── How it works ────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 24px 20px; position: relative; transition: all .2s var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.step__n {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-d);
  display: grid; place-items: center; font-weight: 800; font-size: 1rem; margin-bottom: 16px;
}
.step__t { font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.step__d { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }

/* ── Price list ──────────────────────────────────────────────────────────── */
.cats {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 28px; scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 18px; border-radius: var(--r-full);
  background: var(--bg); border: 1.5px solid var(--border-2);
  font-size: .92rem; font-weight: 700; color: var(--ink-2); transition: all .15s var(--ease);
}
.cat:hover { border-color: var(--ink-3); color: var(--ink); }
.cat.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.imei-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--warn-soft); border: 1px solid #FDE68A; border-radius: var(--r);
  padding: 14px 16px; margin-bottom: 24px;
}
.imei-note svg { width: 20px; height: 20px; color: var(--warn); flex-shrink: 0; margin-top: 1px; }
.imei-note p { font-size: .88rem; color: #92660A; line-height: 1.55; }
.imei-note strong { color: #78540A; }

.plist {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden;
}
.plist__group-h {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.plist__group-t { font-size: .8rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.plist__group-c { font-size: .82rem; color: var(--ink-3); font-weight: 600; }

.prow {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--border); transition: background .12s;
}
.prow:last-child { border-bottom: none; }
.prow:hover { background: var(--bg-soft); }
.prow__name { font-size: .98rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.prow__badge {
  font-size: .68rem; font-weight: 700; color: var(--accent-dd);
  background: var(--accent-soft); padding: 3px 8px; border-radius: var(--r-full);
}
.prow__price { text-align: right; }
.prow__price-v { font-size: .98rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.prow__price-l { font-size: .76rem; color: var(--ink-3); margin-top: 1px; }
.prow__go {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-soft); color: var(--ink-2);
  display: grid; place-items: center; transition: all .15s var(--ease);
}
.prow__go svg { width: 16px; height: 16px; }
.prow:hover .prow__go { background: var(--ink); color: #fff; }

.plist-foot { font-size: .84rem; color: var(--ink-3); line-height: 1.6; margin-top: 16px; padding: 0 4px; }

.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.also__l { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.also__pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--bg); border: 1.5px solid var(--border-2);
  font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: all .15s;
}
.also__pill:hover { border-color: var(--ink-3); color: var(--ink); }

/* ── Damaged ─────────────────────────────────────────────────────────────── */
.dmg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 880px) { .dmg-grid { grid-template-columns: repeat(4, 1fr); } }
.dmg {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px 20px;
}
.dmg__dot { width: 11px; height: 11px; border-radius: 50%; margin-bottom: 14px; }
.dmg__t { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.dmg__d { font-size: .85rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 16px; min-height: 38px; }
.dmg__p { font-size: 1.02rem; font-weight: 800; color: var(--accent-d); letter-spacing: -.01em; }
.dmg__pct { font-size: .78rem; color: var(--ink-3); margin-top: 2px; }

.dmg-note {
  margin-top: 20px; display: flex; gap: 12px; align-items: center;
  background: var(--accent-soft); border-radius: var(--r); padding: 16px 20px;
  font-size: .92rem; color: var(--accent-dd); font-weight: 600;
}
.dmg-note svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: border-color .15s;
}
.faq__item.open { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: 1.02rem; font-weight: 700; color: var(--ink); text-align: left;
}
.faq__ic { width: 22px; height: 22px; color: var(--ink-3); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq__item.open .faq__ic { transform: rotate(45deg); color: var(--accent-d); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 22px 22px; font-size: .96rem; color: var(--ink-2); line-height: 1.65; }

/* ── About / Stats ───────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 880px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about__list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-size: .98rem; font-weight: 600; color: var(--ink); }
.about__list-ic {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-d); display: grid; place-items: center;
}
.about__list-ic svg { width: 14px; height: 14px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 24px;
}
.stat__v { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.stat__v span { color: var(--accent-d); }
.stat__l { font-size: .88rem; color: var(--ink-2); margin-top: 8px; font-weight: 600; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--ink); border-radius: var(--r-lg); padding: 48px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(16,185,129,.22), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band__t { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.cta-band__s { font-size: 1.05rem; color: rgba(255,255,255,.65); margin: 12px auto 28px; max-width: 460px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .82rem; color: var(--ink-3);
}

/* ── Device detail page ──────────────────────────────────────────────────── */
.dpage { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 80px; min-height: 100vh; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-3); font-weight: 600; margin-bottom: 28px; }
.crumb a { transition: color .15s; }
.crumb a:hover { color: var(--ink-2); }
.crumb svg { width: 15px; height: 15px; }

.ddetail { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 860px) { .ddetail { grid-template-columns: 1fr 380px; gap: 48px; } }
.ddetail__eyebrow { font-size: .85rem; font-weight: 700; color: var(--accent-d); text-transform: uppercase; letter-spacing: .05em; }
.ddetail__title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 8px 0 28px; }

.flabel { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.variant {
  padding: 9px 18px; border-radius: var(--r-full);
  background: var(--bg); border: 1.5px solid var(--border-2);
  font-size: .9rem; font-weight: 700; color: var(--ink-2); transition: all .15s var(--ease);
}
.variant:hover { border-color: var(--ink-3); color: var(--ink); }
.variant.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.dconds { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.dcond {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: var(--r);
  background: var(--bg); border: 1.5px solid var(--border-2); transition: all .15s var(--ease);
}
.dcond:hover { border-color: var(--ink-3); }
.dcond.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.dcond__dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dcond__name { font-size: .98rem; font-weight: 700; }
.dcond__desc { font-size: .84rem; color: var(--ink-2); margin-top: 1px; }
.dcond__price { margin-left: auto; font-size: 1rem; font-weight: 800; color: var(--accent-d); white-space: nowrap; }

.pcard {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 28px;
}
@media (min-width: 860px) { .pcard { position: sticky; top: calc(var(--nav-h) + 20px); } }
.pcard__label { font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.pcard__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--accent-d); line-height: 1; }
.pcard__note { font-size: .84rem; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
.pcard__rows { margin: 22px 0; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.pcard__row { display: flex; justify-content: space-between; font-size: .9rem; }
.pcard__row-l { color: var(--ink-2); }
.pcard__row-v { font-weight: 700; color: var(--ink); }
.pcard__row-v.green { color: var(--accent-d); }

.dnote {
  display: flex; gap: 11px; align-items: flex-start; margin-top: 24px;
  background: var(--warn-soft); border: 1px solid #FDE68A; border-radius: var(--r); padding: 14px 16px;
  font-size: .86rem; color: #92660A; line-height: 1.55;
}
.dnote svg { width: 18px; height: 18px; color: var(--warn); flex-shrink: 0; margin-top: 1px; }

/* ── Page transition ─────────────────────────────────────────────────────── */
#app > * { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.fadeswap { transition: opacity .15s, transform .15s; }
