/* =========================================================
   MyMart — design system (mobile-first)
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #060608;
  --bg-2: #0b0b0f;
  --card: #111116;
  --card-2: #16161c;
  --card-3: #1c1c24;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f5f7;
  --text-2: #c9c9d1;
  --muted: #8e8e99;
  --gold: #e3b65e;
  --gold-hi: #fae5b4;
  --gold-lo: #b3812b;
  --grad-gold: linear-gradient(135deg, #fae5b4 0%, #e8bf6c 45%, #c08e35 100%);
  --green: #30d158;
  --red: #ff5a4f;
  --orange: #ff9f0a;
  --blue: #3b9cff;
  --purple: #bf5af2;
  --wa: #25d366;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 18px 50px -12px rgba(0, 0, 0, .65);
  --container: 1180px;
  --gutter: 16px;
  --header-h: 60px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
::selection { background: rgba(227, 182, 94, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: 64px 0; position: relative; }
.section-sm { padding: 40px 0; }
.text-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text-2);
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

/* ---------- icons ---------- */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
  white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-gold { background: var(--grad-gold); color: #120d03; box-shadow: 0 10px 30px -10px rgba(227, 182, 94, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(227, 182, 94, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-white { background: #f5f5f7; color: #0b0b0f; }
.btn-white:hover { background: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-wa { background: var(--wa); color: #04210f; }
.btn-danger { background: rgba(255, 90, 79, .12); color: #ff8a82; border-color: rgba(255, 90, 79, .3); }
.btn-danger:hover { background: rgba(255, 90, 79, .2); }
.btn-success { background: var(--green); color: #032b10; }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--gold); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- chips / badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, .08); color: var(--text-2); white-space: nowrap; line-height: 1.5;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.tone-green { background: rgba(48, 209, 88, .13); color: #5be07f; }
.tone-blue { background: rgba(59, 156, 255, .14); color: #75b9ff; }
.tone-orange { background: rgba(255, 159, 10, .14); color: #ffb547; }
.tone-red { background: rgba(255, 90, 79, .14); color: #ff8a82; }
.tone-purple { background: rgba(191, 90, 242, .15); color: #d494f7; }
.tone-gray { background: rgba(255, 255, 255, .08); color: #a9a9b3; }
.tone-gold { background: rgba(227, 182, 94, .14); color: var(--gold-hi); }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card-2 { background: var(--card-2); }
.card-glow { position: relative; }
.card-glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(250, 229, 180, .55), rgba(255, 255, 255, .05) 40%, rgba(227, 182, 94, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span, .label { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: #0e0e13; color: var(--text); font: 500 16px/1.4 var(--font); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
textarea.input { min-height: 96px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1aa' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.input::placeholder { color: #5e5e68; }
.input:focus { border-color: rgba(227, 182, 94, .7); box-shadow: 0 0 0 4px rgba(227, 182, 94, .14); background: #111118; }
.input.is-invalid, .is-invalid .input { border-color: rgba(255, 90, 79, .7); box-shadow: 0 0 0 4px rgba(255, 90, 79, .12); }
.field-error { display: none; color: #ff8a82; font-size: 13px; margin-top: 6px; }
.is-invalid .field-error { display: block; }
.input-group { position: relative; }
.input-group .prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-group .prefix + .input { padding-left: 52px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: 14.5px; border: 1px solid; margin-bottom: 18px; }
.alert .i { margin-top: 1px; }
.alert-error { background: rgba(255, 90, 79, .1); border-color: rgba(255, 90, 79, .3); color: #ffb1ab; }
.alert-success { background: rgba(48, 209, 88, .1); border-color: rgba(48, 209, 88, .3); color: #93ecab; }
.alert-info { background: rgba(59, 156, 255, .08); border-color: rgba(59, 156, 255, .25); color: #a9d2ff; }
.alert-warn { background: rgba(255, 159, 10, .08); border-color: rgba(255, 159, 10, .28); color: #ffd08a; }

/* ---------- announcement + header ---------- */
.announce {
  background: linear-gradient(90deg, #17120a, #2a1f0d 50%, #17120a); color: var(--gold-hi); font-size: 12.5px; font-weight: 600;
  text-align: center; padding: 8px var(--gutter); border-bottom: 1px solid rgba(227, 182, 94, .18); letter-spacing: .01em;
}
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(6, 6, 8, .72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header .container { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand small { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .08em; margin-left: -4px; align-self: flex-start; margin-top: 6px; }
.nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn .count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.header .btn { --h: 40px; padding: 0 16px; font-size: 14px; }
.menu-toggle .i-close { display: none; }
body.menu-open .menu-toggle .i-close { display: block; }
body.menu-open .menu-toggle .i-menu { display: none; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: rgba(8, 8, 11, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a.mm-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 960px) {
  :root { --header-h: 68px; }
  .nav { display: flex; gap: 4px; margin-left: 28px; }
  .nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: 14.5px; font-weight: 600; transition: color .2s, background .2s; }
  .nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, .06); }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 36px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -30% auto; height: 120%; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 45% at 72% 42%, var(--glow, rgba(122, 34, 54, .55)), transparent 70%),
              radial-gradient(40% 35% at 12% 0%, rgba(227, 182, 94, .16), transparent 70%);
  transition: background .6s;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 10vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; margin-top: 18px; }
.hero .lead { font-size: clamp(1.02rem, 3.6vw, 1.22rem); color: var(--text-2); margin-top: 18px; max-width: 560px; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-art { position: relative; margin: 0 auto; width: 100%; max-width: 520px; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-swatches { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.hero-swatches .swatch { width: 30px; height: 30px; }
.hero-swatch-name { text-align: center; color: var(--muted); font-size: 13px; margin-top: 8px; min-height: 20px; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; } }
@media (min-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-art { max-width: 560px; }
}

.hero-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); gap: 8px; margin-top: 22px; }
.hero-prices .hp { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); font-weight: 600; transition: border-color .2s; }
.hero-prices .hp:hover { border-color: rgba(227, 182, 94, .5); }
.hero-prices .hp b { color: var(--text); font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 420px) { .hero-prices { grid-template-columns: 1fr 1fr; } .hero-prices .hp { padding: 9px 12px; font-size: 12px; } .hero-prices .hp b { font-size: 15px; } }

/* ---------- trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-top: 20px; padding-bottom: 20px; }
@media (min-width: 760px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); line-height: 1.3; }
.trust-item .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(227, 182, 94, .1); color: var(--gold); border: 1px solid rgba(227, 182, 94, .2); }
@media (min-width: 960px) { .trust-list { padding-top: 26px; padding-bottom: 26px; } .trust-item { font-size: 15px; } }

/* ---------- model cards ---------- */
.models { display: grid; gap: 18px; }
@media (min-width: 760px) { .models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .models { grid-template-columns: repeat(3, 1fr); } }
/* fewer than 3 models: keep cards a comfortable width, centred */
.models.count-1 { max-width: 460px; margin-inline: auto; }
@media (min-width: 760px) { .models.count-1 { grid-template-columns: 1fr; } .models.count-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; } }
.model-card { position: relative; display: flex; flex-direction: column; border-radius: 30px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease, border-color .3s; }
.model-card:hover { border-color: var(--line-2); }
.model-card .art {
  position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 18px 18px 0;
  background: radial-gradient(70% 60% at 50% 55%, var(--tint, rgba(122, 34, 54, .35)), transparent 75%); transition: background .5s;
}
.model-card .art svg { width: 100%; height: 100%; object-fit: contain; }
/* product photos (transparent cut-outs) sit in the same boxes as the drawn iPhones */
.phone-photo { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero-art .phone-photo { height: auto; aspect-ratio: 1; }
.thumb .phone-photo, .th .phone-photo { filter: none; }
.model-card .badge-top { position: absolute; top: 16px; left: 16px; z-index: 2; }
.model-body { padding: 4px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.model-body h3 { font-size: 26px; }
.model-body .tagline { color: var(--muted); margin-top: 4px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; position: relative; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 -6px 10px rgba(0, 0, 0, .25); transition: transform .15s;
}
.swatch::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; }
.swatch.active::after, .swatch:focus-visible::after { border-color: var(--gold); }
.swatch:hover { transform: scale(1.08); }
.color-name { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 20px; }
.price-box { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); display: grid; gap: 10px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.price-row b { color: var(--text); font-size: 15.5px; font-weight: 700; }
.price-row.total b { font-size: 24px; letter-spacing: -.02em; }
.price-row.deposit b { font-size: 18px; color: transparent; }
.price-row small { font-size: 12px; font-weight: 500; }
.storage-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.storage-pick .st { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--text-2); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; }
.storage-pick .st:hover { border-color: rgba(255, 255, 255, .3); }
.storage-pick .st.active { border-color: var(--gold); color: var(--gold-hi); background: rgba(227, 182, 94, .08); }
.storage-pick + .price-box { margin-top: 12px; }
.model-card .btn { margin-top: 18px; }
.highlights { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.highlights li { display: flex; gap: 10px; align-items: flex-start; }
.highlights .i { color: var(--gold); margin-top: 2px; width: 16px; height: 16px; }

/* ---------- perks ---------- */
.perks { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { padding: 24px; border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.perk .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-gold); color: #1a1205; margin-bottom: 18px; box-shadow: 0 10px 26px -10px rgba(227, 182, 94, .6); }
.perk .ic .i { width: 26px; height: 26px; stroke-width: 1.9; }
.perk h3 { font-size: 19px; letter-spacing: -.02em; }
.perk p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.perk .free { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.step .num {
  width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: rgba(227, 182, 94, .12); color: var(--gold-hi); border: 1px solid rgba(227, 182, 94, .3);
}
.step h3 { font-size: 17px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
@media (min-width: 960px) { .step { flex-direction: column; } }

/* ---------- price table ---------- */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; font-size: 14.5px; }
.ptable th, .ptable td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; background: var(--card-2); }
.ptable td b { font-size: 15.5px; }
.ptable .num { text-align: right; white-space: nowrap; }
.ptable .dep { color: var(--gold-hi); font-weight: 800; }
@media (min-width: 640px) { .ptable th, .ptable td { padding: 18px 22px; } }
.fineprint { color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.6; }
.price-tables { display: grid; gap: 18px; }
.ptable-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.ptable-wrap .ptable { border: 0; border-radius: 0; background: transparent; }
.ptable-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ptable-head .th { width: 40px; height: 52px; flex: none; }
.ptable-head .th svg { width: 100%; height: 100%; }
.ptable-head h3 { font-size: 19px; letter-spacing: -.02em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 20px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; flex: none; transition: transform .25s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: rgba(227, 182, 94, .15); color: var(--gold); }
.faq .ans { padding: 0 0 18px; color: var(--text-2); font-size: 15px; }
.faq .ans p + p, .faq .ans ul + p { margin-top: 10px; }
.faq .ans ul { padding-left: 20px; margin: 10px 0 0; }
.faq .ans li + li { margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 32px; padding: 36px 22px; text-align: center; overflow: hidden; background: radial-gradient(80% 120% at 50% 0%, rgba(227, 182, 94, .2), transparent 60%), var(--card); border: 1px solid rgba(227, 182, 94, .25); }
.cta-band h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
.cta-band p { color: var(--text-2); margin: 12px auto 0; max-width: 520px; }
.cta-band .flex { justify-content: center; margin-top: 24px; flex-wrap: wrap; }
@media (min-width: 960px) { .cta-band { padding: 60px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 40px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid .about { grid-column: 1 / -1; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); }
.footer ul a:hover { color: var(--text); }
.footer .about p { color: var(--muted); margin-top: 14px; max-width: 380px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: grid; gap: 10px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-chips span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text-2); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-grid .about { grid-column: auto; } }

/* ---------- WhatsApp float + sticky CTA ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .55); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fff; color: #111; font-size: 13.5px; font-weight: 700;
  padding: 8px 12px; border-radius: 12px; box-shadow: var(--shadow); pointer-events: none; opacity: 0; transition: opacity .3s;
}
.wa-float:hover .wa-tip { opacity: 1; }
body.has-sticky .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 14, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .meta { flex: 1; min-width: 0; line-height: 1.3; }
.sticky-cta .meta b { display: block; font-size: 15px; }
.sticky-cta .meta span { font-size: 12.5px; color: var(--muted); }
.sticky-cta .btn { --h: 46px; }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 960px) { .sticky-cta { display: none; } body.has-sticky { padding-bottom: 0; } body.has-sticky .wa-float { bottom: 24px; } .wa-float { right: 24px; bottom: 24px; } }

/* ---------- page header ---------- */
.page-head { padding: 36px 0 20px; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3rem); }
.page-head p { color: var(--muted); margin-top: 10px; font-size: 16.5px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--text); }

/* ---------- pre-order wizard ---------- */
.po-layout { display: grid; gap: 22px; padding-bottom: 40px; }
@media (min-width: 1024px) { .po-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; } }
.progress { display: flex; gap: 6px; margin: 4px 0 22px; }
.progress .seg { flex: 1; }
.progress .bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--grad-gold); transition: width .35s ease; }
.progress .seg.done .bar i, .progress .seg.current .bar i { width: 100%; }
.progress .lbl { font-size: 11.5px; color: var(--muted); margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.progress .seg.current .lbl, .progress .seg.done .lbl { color: var(--text); }
.po-step { display: block; }
.js .po-step { display: none; animation: stepIn .35s ease; }
.js .po-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.po-step + .po-step { margin-top: 28px; }
.js .po-step + .po-step { margin-top: 0; }
.step-title { font-size: clamp(1.45rem, 5vw, 1.9rem); margin-bottom: 6px; }
.step-sub { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.opt-grid { display: grid; gap: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box {
  display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line-2);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.opt:hover .box { border-color: rgba(255, 255, 255, .25); }
.opt input:checked + .box { border-color: var(--gold); background: linear-gradient(180deg, rgba(227, 182, 94, .08), rgba(227, 182, 94, .02)); box-shadow: 0 0 0 4px rgba(227, 182, 94, .1); }
.opt input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(227, 182, 94, .3); }
.opt .thumb { width: 74px; height: 92px; flex: none; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 50% 50%, var(--tint, rgba(255,255,255,.06)), transparent 70%); }
.opt .thumb svg { width: 100%; height: 100%; }
.opt .meta { flex: 1; min-width: 0; }
.opt .meta b { display: block; font-size: 17px; letter-spacing: -.01em; }
.opt .meta .sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.opt .meta .dep { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--gold-hi); background: rgba(227, 182, 94, .1); padding: 3px 9px; border-radius: 8px; }
.opt .tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; }
.opt input:checked + .box .tick { background: var(--gold); border-color: var(--gold); color: #111; }
.opt .tick .i { width: 15px; height: 15px; stroke-width: 3; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 700; font-size: 15px; transition: all .2s; }
.chip input:checked + span { border-color: var(--gold); color: var(--gold-hi); background: rgba(227, 182, 94, .08); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(227, 182, 94, .3); }
.var-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.var-opt { position: relative; cursor: pointer; display: block; }
.var-opt input { position: absolute; opacity: 0; pointer-events: none; }
.var-opt .box { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--card); transition: all .2s; height: 100%; }
.var-opt .box b { font-size: 17px; }
.var-opt .box .price { font-size: 14.5px; font-weight: 700; color: var(--text-2); }
.var-opt .box .adv { font-size: 12.5px; font-weight: 700; color: var(--gold-hi); margin-top: 4px; }
.var-opt:hover .box { border-color: rgba(255, 255, 255, .25); }
.var-opt input:checked + .box { border-color: var(--gold); background: linear-gradient(180deg, rgba(227, 182, 94, .08), rgba(227, 182, 94, .02)); box-shadow: 0 0 0 4px rgba(227, 182, 94, .1); }
.var-opt input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(227, 182, 94, .3); }
@media (min-width: 640px) { .var-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.cod-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; color: var(--text-2); background: rgba(48, 209, 88, .06); border: 1px solid rgba(48, 209, 88, .25); }
.cod-note > .i { color: var(--green); flex: none; margin-top: 1px; }
.cod-note b { color: var(--text); }
.color-picker { display: flex; flex-wrap: wrap; gap: 12px 6px; }
.color-opt { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 66px; text-align: center; }
.color-opt input { position: absolute; opacity: 0; pointer-events: none; }
.color-opt .sw { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 -8px 12px rgba(0, 0, 0, .25); position: relative; transition: transform .15s; }
.color-opt .sw::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; }
.color-opt input:checked + .sw::after { border-color: var(--gold); }
.color-opt input:focus-visible + .sw::after { border-color: var(--gold-hi); }
.color-opt small { font-size: 12.5px; color: var(--muted); line-height: 1.25; font-weight: 600; }
.color-opt input:checked ~ small { color: var(--text); }
.subhead { font-size: 15px; font-weight: 700; margin: 24px 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.subhead span { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.step-actions { display: flex; gap: 10px; margin-top: 26px; }
.step-actions .btn { flex: 1; }
.step-actions .btn-ghost { flex: 0 0 auto; }
.summary-card { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card .art { aspect-ratio: 6 / 5; display: grid; place-items: center; margin: -6px -6px 6px; border-radius: 20px; background: radial-gradient(60% 60% at 50% 55%, var(--tint, rgba(122,34,54,.35)), transparent 75%); }
.summary-card .art svg { width: 92%; height: 100%; }
.sum-rows { display: grid; gap: 10px; font-size: 14.5px; }
.sum-rows .r { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows .r span { color: var(--muted); }
.sum-rows .r b { text-align: right; font-weight: 700; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 14px; border-top: 1px dashed var(--line-2); }
.sum-total b { font-size: 26px; letter-spacing: -.02em; }
.perk-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.perk-list li { display: flex; gap: 10px; align-items: center; }
.perk-list .i { color: var(--green); width: 17px; height: 17px; }
@media (max-width: 1023px) { .summary-card.desktop-only { display: none; } }
.mobile-summary { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.mobile-summary .thumb { width: 46px; height: 58px; flex: none; }
.mobile-summary .thumb svg { width: 100%; height: 100%; }
.mobile-summary .t { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.mobile-summary .t b { display: block; color: var(--text); font-size: 15px; }
.mobile-summary .amt { font-weight: 800; color: var(--gold-hi); text-align: right; line-height: 1.2; }
.mobile-summary .amt small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 1024px) { .mobile-summary { display: none; } }

.bank-list { display: grid; gap: 12px; }
.bank { position: relative; display: block; cursor: pointer; }
.bank input { position: absolute; opacity: 0; pointer-events: none; }
.bank .box { padding: 16px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line-2); transition: all .2s; }
.bank input:checked + .box { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227, 182, 94, .1); }
.bank .head { display: flex; align-items: center; gap: 12px; }
.bank .logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); flex: none; color: var(--gold); }
.bank .head b { font-size: 16px; display: block; }
.bank .head small { color: var(--muted); font-size: 13px; }
.bank .details { display: grid; gap: 8px; margin-top: 14px; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.copy-row .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.copy-row .v { font-weight: 700; font-size: 15px; word-break: break-all; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 700; cursor: pointer; color: var(--text); }
.copy-btn.copied { background: rgba(48, 209, 88, .15); border-color: rgba(48, 209, 88, .4); color: #5be07f; }
.pay-amount { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(227, 182, 94, .14), rgba(227, 182, 94, .04)); border: 1px solid rgba(227, 182, 94, .3); margin-bottom: 18px; }
.pay-amount span { font-size: 13.5px; color: var(--text-2); }
.pay-amount b { font-size: 26px; letter-spacing: -.02em; color: var(--gold-hi); }
.pay-note { display: flex; gap: 8px; align-items: flex-start; margin: -6px 0 18px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pay-note .i { flex: none; margin-top: 2px; color: var(--green); }
.pay-note b { color: var(--text); }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 26px 16px; border-radius: 20px; border: 1.5px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .02); cursor: pointer; transition: all .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--gold); background: rgba(227, 182, 94, .05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(227, 182, 94, .12); color: var(--gold); }
.dropzone b { font-size: 15.5px; }
.dropzone small { color: var(--muted); font-size: 13px; }
.dropzone.has-file { border-style: solid; border-color: rgba(48, 209, 88, .5); background: rgba(48, 209, 88, .05); }
.dz-preview { max-height: 180px; border-radius: 12px; margin-top: 6px; }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.review-list { display: grid; gap: 2px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.review-list .r { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--card); font-size: 14.5px; }
.review-list .r span { color: var(--muted); flex: none; }
.review-list .r b { text-align: right; word-break: break-word; }
.review-list .r a { color: var(--gold); font-size: 13px; font-weight: 700; margin-left: 8px; }

/* ---------- success ---------- */
.success-hero { text-align: center; padding: 40px 0 10px; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(48, 209, 88, .14); color: var(--green); box-shadow: 0 0 0 10px rgba(48, 209, 88, .06); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.success-icon .i { width: 42px; height: 42px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.order-id-box { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 12px 12px 20px; border-radius: 18px; background: var(--card); border: 1px solid rgba(227, 182, 94, .35); }
.order-id-box .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; text-align: left; }
.order-id-box .code { font-size: 22px; font-weight: 800; letter-spacing: .04em; color: var(--gold-hi); }

/* ---------- order page ---------- */
.order-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .order-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.order-top { display: flex; gap: 16px; align-items: center; }
.order-top .thumb { width: 84px; height: 104px; flex: none; }
.order-top .thumb svg { width: 100%; height: 100%; }
.order-top h2 { font-size: 22px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: linear-gradient(var(--green), rgba(48, 209, 88, .3)); }
.timeline .dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card-3); border: 1.5px solid var(--line-2); color: var(--muted); }
.timeline .dot .i { width: 15px; height: 15px; stroke-width: 2.4; }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #052b10; }
.timeline li.current .dot { background: rgba(227, 182, 94, .15); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 5px rgba(227, 182, 94, .1); }
.timeline li.bad .dot { background: rgba(255, 90, 79, .15); border-color: var(--red); color: var(--red); }
.timeline b { display: block; font-size: 15.5px; padding-top: 4px; }
.timeline p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.events li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; font-size: 14px; }
.events li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 7px; }
.events b { font-weight: 700; }
.events p { color: var(--muted); font-size: 13.5px; }
.events time { color: var(--muted); font-size: 12px; }
.kv { display: grid; gap: 10px; font-size: 14.5px; }
.kv .r { display: flex; justify-content: space-between; gap: 16px; }
.kv .r span { color: var(--muted); flex: none; }
.kv .r b { text-align: right; word-break: break-word; font-weight: 600; }

/* ---------- account / auth ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 36px 0 60px; }
.auth-card { padding: 26px 22px; }
.auth-card h1 { font-size: 28px; }
.auth-card .sub { color: var(--muted); margin: 8px 0 24px; }
@media (min-width: 640px) { .auth-card { padding: 34px; } }
.order-list { display: grid; gap: 12px; }
.order-item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.order-item:hover { border-color: var(--line-2); }
.order-item .thumb { width: 54px; height: 68px; flex: none; }
.order-item .thumb svg { width: 100%; height: 100%; }
.order-item .meta { flex: 1; min-width: 0; }
.order-item .meta b { display: block; font-size: 16px; }
.order-item .meta small { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }
.notif { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(227, 182, 94, .12); color: var(--gold); flex: none; }
.notif.unread .ic { background: var(--gold); color: #111; }
.notif b { font-size: 14.5px; display: block; }
.notif p { font-size: 13.5px; color: var(--text-2); }
.notif time { font-size: 12px; color: var(--muted); }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { flex: 1; text-align: center; padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; background: none; border: 0; cursor: pointer; }
.tabs a.active, .tabs button.active { background: rgba(255, 255, 255, .1); color: var(--text); }

/* ---------- prose (legal pages) ---------- */
.prose { color: var(--text-2); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 22px; color: var(--text); margin: 36px 0 12px; letter-spacing: -.02em; }
.prose h3 { font-size: 17px; color: var(--text); margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose .note { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; margin: 20px 0; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 26px; }
.legal-nav a { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); }
.legal-nav a.active { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(227, 182, 94, .12); color: var(--gold); }
.contact-card.wa .ic { background: rgba(37, 211, 102, .14); color: var(--wa); }
.contact-card b { font-size: 17px; }
.contact-card span { color: var(--muted); font-size: 14px; }

/* ---------- toast ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 16px; background: #1d1d24; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14.5px; font-weight: 600; animation: toastIn .3s ease; }
.toast.ok .i { color: var(--green); }
.toast.err .i { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 0; }
.modal.open { display: flex; animation: fade .2s; }
.modal .sheet { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 26px 26px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); animation: up .3s ease; }
.modal .sheet h3 { font-size: 21px; margin-bottom: 6px; }
.modal .sheet .close { float: right; margin: -6px -6px 0 0; }
@media (min-width: 640px) { .modal { align-items: center; padding: 20px; } .modal .sheet { border-radius: 26px; padding: 28px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- error page ---------- */
.error-page { text-align: center; padding: 80px 0; }
.error-page .code { font-size: clamp(5rem, 22vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.error-page p { color: var(--muted); margin: 14px auto 26px; max-width: 460px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.desk-only { display: none !important; }
@media (min-width: 960px) { .desk-only { display: inline-grid !important; } .mob-only { display: none !important; } }
.d-block { display: block; }
.bank .tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; }
.bank .tick .i { width: 15px; height: 15px; stroke-width: 3; }
.bank input:checked + .box .tick { background: var(--gold); border-color: var(--gold); color: #111; }
.bank input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(227, 182, 94, .3); }
@media (max-width: 559px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody { display: block; }
  .ptable tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable td { padding: 0; border: 0; text-align: left; }
  .ptable td:first-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .ptable td.num { text-align: left; font-weight: 700; font-size: 14px; }
  .ptable td.num b { font-size: 14px; }
  .ptable td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}
@media (max-width: 959px) {
  body.po-page .wa-float { width: 48px; height: 48px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  body.po-page .wa-float svg { width: 26px; height: 26px; }
  body.po-page .wa-float::before { display: none; }
}

/* ---------- installments ---------- */
.opt .meta .dep + .dep { margin-top: 6px; }
.opt .meta .dep-inst { background: rgba(48, 209, 88, .1); color: #7fe39b; }
.var-opt .box .mo { font-size: 12px; font-weight: 600; color: #7fe39b; margin-top: 2px; }
.plan-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
.plan-opt { position: relative; display: block; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt .box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line-2); transition: border-color .2s, background .2s, box-shadow .2s; }
.plan-opt:hover .box { border-color: rgba(255, 255, 255, .25); }
.plan-opt input:checked + .box { border-color: var(--gold); background: linear-gradient(180deg, rgba(227, 182, 94, .08), rgba(227, 182, 94, .02)); box-shadow: 0 0 0 4px rgba(227, 182, 94, .1); }
.plan-opt input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(227, 182, 94, .3); }
.plan-opt .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-opt .top b { font-size: 16px; }
.plan-opt .tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; }
.plan-opt .tick .i { width: 14px; height: 14px; stroke-width: 3; }
.plan-opt input:checked + .box .tick { background: var(--gold); border-color: var(--gold); color: #111; }
.plan-opt .big { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.plan-opt .big small { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-opt .box > small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.kyc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kyc-grid .field { margin-bottom: 0; }
.kyc-grid .dropzone { height: 100%; padding: 20px 10px; }
.kyc-grid + .alert, .kyc-grid + .btn { margin-top: 16px; }
.dz-preview { max-width: 100%; }
.is-invalid .dropzone, .dropzone.is-invalid { border-color: rgba(255, 90, 79, .7); }
.progress-mini { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 4px 0 12px; }
.progress-mini i { display: block; height: 100%; background: var(--grad-gold); }
.inst-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.inst-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.inst-list li span { color: var(--muted); }
.inst-list li b { display: inline-flex; align-items: center; gap: 6px; }
.inst-list li.paid b { color: #5be07f; }
.inst-list li.next { border-color: rgba(227, 182, 94, .45); background: rgba(227, 182, 94, .06); }
.inst-list li.next span { color: var(--text); }
.pay-details summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; padding: 10px 0 0; }
.pay-details summary::-webkit-details-marker { display: none; }
.pay-details[open] summary .i { transform: rotate(180deg); }
.inst-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.inst-line > .i { color: #7fe39b; flex: none; margin-top: 2px; }
.inst-line b { color: var(--text); }
.inst-line .link { margin-left: 4px; white-space: nowrap; }
.model-card .btn-inst { margin-top: 10px; }
.inst-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--text-2); }
.inst-points li { display: flex; align-items: center; gap: 6px; }
.inst-points .i { color: var(--green); }
.inst-hero .lead { margin-inline: auto; }
.inst-hero h1 { margin-top: 6px; }
.inst-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 680px; margin: 26px auto 0; }
@media (min-width: 640px) { .inst-facts { grid-template-columns: repeat(4, 1fr); } }
.inst-facts span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.inst-facts b { color: var(--text); font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
@media (min-width: 960px) { .steps.steps-5 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 559px) { .ptable.ptable-4 tr { grid-template-columns: 1fr 1fr; } }

/* ---------- phone grid (Android section, /phones, phone pages) ---------- */
.phone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .phone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .phone-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phone-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s; }
.phone-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pc-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.pc-art { aspect-ratio: 1; padding: 14px 14px 4px; background: radial-gradient(60% 55% at 50% 55%, var(--tint, transparent), transparent 75%); }
.pc-badge { position: absolute; top: 10px; left: 10px; }
.pc-body { padding: 4px 14px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-brand { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pc-body h3 { font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; }
.pc-vars { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pc-dots { display: flex; gap: 5px; margin-top: 2px; }
.pc-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pc-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; }
.pc-price { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pc-price b { font-size: 16.5px; letter-spacing: -.01em; white-space: nowrap; }
.pc-price small { font-size: 12px; color: #7fe39b; font-weight: 600; white-space: nowrap; }
@media (max-width: 559px) { .pc-foot .btn { width: 100%; } .pc-body h3 { font-size: 14.5px; } .pc-price b { font-size: 15.5px; } }

.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bchip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--text-2); font-weight: 700; font-size: 13.5px; text-decoration: none; transition: border-color .2s, color .2s; }
.bchip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.bchip:hover { border-color: rgba(255, 255, 255, .3); color: var(--text); }
.bchip.active { border-color: var(--gold); color: var(--gold-hi); background: rgba(227, 182, 94, .08); }
.cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.cat-sort select { height: 40px; padding: 0 12px; min-width: 190px; }

/* ---------- phone page ---------- */
.pd-crumbs { padding-top: 22px; }
.pd-grid { display: grid; gap: 22px; margin-top: 14px; }
@media (min-width: 900px) { .pd-grid { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; } .pd-media { position: sticky; top: calc(var(--header-h) + 20px); } }
.pd-art { aspect-ratio: 1; padding: 6%; border-radius: 30px; background: radial-gradient(60% 55% at 50% 55%, var(--tint, rgba(122, 34, 54, .35)), transparent 75%), var(--card); border: 1px solid var(--line); transition: background .5s; }
.pd-art svg { width: 100%; height: 100%; }
.pd-info h1 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -.03em; line-height: 1.08; }
.pd-info .kicker { margin-bottom: 8px; }
.pd-info .tagline { color: var(--muted); margin-top: 8px; }
.pd-ctas { display: grid; gap: 10px; margin-top: 18px; }
.pd-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14px; color: var(--text-2); }
.pd-trust li { display: flex; gap: 10px; align-items: center; }
.pd-trust .i { color: var(--gold); flex: none; }
.pd-details { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 900px) { .pd-details { grid-template-columns: 1fr 1.4fr; gap: 44px; } }
.pd-details h2, .pd-more h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.pd-more { margin-top: 48px; }

/* ---------- checkout: finding a phone in a long list ---------- */
.model-find { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.model-find .input { flex: 1; }
.opt-grid .opt[hidden] { display: none; }
.model-change { margin-top: 10px; }
.plan-phone { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.plan-phone .th { width: 34px; height: 42px; flex: none; }
.plan-phone .th svg { width: 100%; height: 100%; }
.plan-phone b { font-size: 14.5px; }
.brand-chips.center { justify-content: center; }
/* phones: one swipeable row of brands */
@media (max-width: 639px) {
  .brand-chips, .brand-chips.center { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .brand-chips::-webkit-scrollbar { display: none; }
  .bchip { flex: none; }
  .cat-bar { flex-direction: column; align-items: stretch; }
  .cat-sort select { width: 100%; }
}
