/* ==========================================================================
   GiftLaju — design system
   Midnight navy · electric cyan · violet accents
   ========================================================================== */
:root {
  --bg: #081525;
  --bg-2: #0B1B30;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.07);
  --surface-solid: #0F2139;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --text: #F3F7FB;
  --muted: #9DB0C6;
  --dim: #6F849C;
  --cyan: #00D9FF;
  --cyan-2: #5BE7FF;
  --violet: #8B7CFF;
  --green: #3EE6A8;
  --amber: #FFC163;
  --red: #FF6B7A;
  --grad: linear-gradient(135deg, #00D9FF 0%, #6E8BFF 55%, #8B7CFF 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.6);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: #04121F; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
.section { padding: 88px 0; position: relative; }
.section-tight { padding: 56px 0; }
@media (max-width: 760px) { .section { padding: 60px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14.5px; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,.26); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan); color: #03121F; border-color: transparent; box-shadow: 0 8px 30px -8px rgba(0,217,255,.55); }
.btn-primary:hover { background: var(--cyan-2); box-shadow: 0 10px 34px -6px rgba(0,217,255,.7); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-wa { background: #1FAF5A; color: #fff; border-color: transparent; }
.btn-wa:hover { background: #22c063; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon { display: inline-block; vertical-align: -.22em; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--cyan); color: #04121F; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.count:empty, .count[data-n="0"] { display: none; }
.link { color: var(--cyan); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--line-2); color: var(--muted); background: var(--surface); }
.badge-demo { color: var(--amber); border-color: rgba(255,193,99,.4); background: rgba(255,193,99,.08); text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
.badge-cyan { color: var(--cyan); border-color: rgba(0,217,255,.35); background: rgba(0,217,255,.08); }
.badge-violet { color: #B9B0FF; border-color: rgba(139,124,255,.4); background: rgba(139,124,255,.1); }
.badge-green { color: var(--green); border-color: rgba(62,230,168,.35); background: rgba(62,230,168,.08); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- prototype banner ---------- */
.proto-bar { background: linear-gradient(90deg, rgba(255,193,99,.12), rgba(139,124,255,.12)); border-bottom: 1px solid var(--line); font-size: 12.5px; color: #E9D8B8; }
.proto-bar .container { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 34px; text-align: center; padding-top: 6px; padding-bottom: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(8,21,37,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 20px -6px rgba(0,217,255,.6); }
.brand-mark svg { width: 18px; height: 18px; }
.brand small { display: block; font: 500 10.5px/1 var(--font); color: var(--dim); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 550; font-size: 14px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.search-trigger { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--dim); min-width: 220px; font-size: 13.5px; }
.search-trigger kbd { margin-left: auto; font: 600 11px var(--font); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.menu-btn { display: none; }
@media (max-width: 1060px) { .search-trigger { min-width: 0; } .search-trigger span, .search-trigger kbd { display: none; } }
@media (max-width: 880px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions .btn-quote { display: none; }
}
@media (max-width: 400px) {
  .brand small { display: none; }
  .brand { font-size: 17px; }
  .site-header .container { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn, .search-trigger { width: 36px; height: 36px; padding: 0; justify-content: center; }
}
@media (max-width: 300px) { .header-actions .search-trigger { display: none; } }
.mobile-nav { position: fixed; inset: 66px 0 auto 0; z-index: 39; background: rgba(8,21,37,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; display: none; }
.mobile-nav.open { display: block; animation: drop .25s var(--ease); }
.mobile-nav a { display: flex; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav .btn { margin-top: 16px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line-2); border-radius: var(--radius); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.08) inset; }
.pad { padding: 24px; }
@media (max-width: 640px) { .pad { padding: 18px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 820px; background:
  radial-gradient(600px 380px at 78% 30%, rgba(0,217,255,.18), transparent 70%),
  radial-gradient(520px 360px at 20% 10%, rgba(139,124,255,.18), transparent 70%),
  radial-gradient(800px 500px at 50% 110%, rgba(0,217,255,.06), transparent 70%);
  pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .35; pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--cyan); }
@media (max-width: 980px) { .hero .container { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 44px 0 64px; } }

/* quote preview card */
.qp { padding: 22px; position: relative; }
.qp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.qp-title { font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.qp-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62,230,168,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(62,230,168,.05); } }
.qp-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.qp-prod { border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 12px; padding: 6px 4px 8px; text-align: center; font-size: 11.5px; color: var(--muted); transition: border-color .2s, background .2s; }
.qp-prod .art { height: 64px; width: 100%; }
.qp-prod[aria-pressed="true"] { border-color: var(--cyan); background: rgba(0,217,255,.07); color: var(--text); }
.qp-stage { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.qp-stage .art-wrap { aspect-ratio: 1; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #1A3352, #0B1A2E 75%); }
.qp-rows { display: grid; gap: 12px; }
.qp-row label { font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; margin-bottom: 6px; }
.qp-row label b { color: var(--text); font-weight: 650; }
.qp-total { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.qp-total .big { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.qp-total small { color: var(--dim); font-size: 12px; display: block; }
@media (max-width: 520px) {
  .qp-stage { grid-template-columns: 1fr; }
  .qp-stage .art-wrap { display: none; }
  .qp-total { flex-wrap: wrap; }
  .qp-total > div { flex: 1 1 100%; }
  .qp-total .btn { flex: 1; }
}
.qp-total .big { white-space: nowrap; }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--dim); }
.field .err { font-size: 12.5px; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.field.invalid .input { border-color: var(--red); }
.input, select.input, textarea.input { width: 100%; height: 46px; padding: 0 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); font: inherit; font-size: 14.5px; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239DB0C6' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.input option { background: var(--surface-solid); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,217,255,.12); }
.input::placeholder { color: var(--dim); }
input[type=range] { width: 100%; accent-color: var(--cyan); height: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex: none; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.22); height: 46px; }
.qty button { width: 42px; height: 100%; background: none; border: 0; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty input { width: 84px; height: 100%; background: none; border: 0; text-align: center; color: var(--text); font: 600 16px var(--font); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: none; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }

.chip { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.chip[aria-pressed="true"], .chip.active { color: #04121F; background: var(--cyan); border-color: var(--cyan); }
.chip .x { opacity: .7; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: none; position: relative; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.swatch[aria-pressed="true"] { border-color: var(--cyan); }

.options { display: grid; gap: 10px; }
.option { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, background .2s; width: 100%; }
.option:hover { border-color: rgba(255,255,255,.28); }
.option[aria-pressed="true"], .option[aria-checked="true"] { border-color: var(--cyan); background: rgba(0,217,255,.06); }
.option .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 2px; flex: none; display: grid; place-items: center; }
.option[aria-pressed="true"] .radio, .option[aria-checked="true"] .radio { border-color: var(--cyan); }
.option[aria-pressed="true"] .radio::after, .option[aria-checked="true"] .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.option b { display: block; font-size: 14.5px; }
.option small { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: block; margin-top: 2px; }
.option .price { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.options.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .options.cols-2 { grid-template-columns: 1fr; } }

/* ---------- finder ---------- */
.finder { padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
@media (max-width: 980px) { .finder { grid-template-columns: 1fr 1fr; } .finder .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .finder { grid-template-columns: 1fr; padding: 18px; } }
.finder-out { margin-top: 14px; font-size: 13.5px; color: var(--muted); min-height: 22px; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cat { position: relative; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: grid; grid-template-columns: 1fr 76px; gap: 6px; align-items: center; min-height: 112px; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.cat:hover { transform: translateY(-3px); border-color: rgba(0,217,255,.35); background: rgba(0,217,255,.04); }
.cat h3 { font-size: 15.5px; margin: 0 0 4px; }
.cat p { font-size: 12.5px; color: var(--dim); margin: 0; line-height: 1.45; }
.cat .art { width: 76px; height: 76px; transition: transform .4s var(--ease); }
.cat:hover .art { transform: scale(1.08) rotate(-3deg); }
.cat .n { font-size: 11.5px; color: var(--cyan); font-weight: 650; margin-top: 8px; display: block; }

/* ---------- collections ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1060px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coll-grid { grid-template-columns: 1fr; } }
.coll { border-radius: 22px; padding: 22px; min-height: 290px; position: relative; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, transparent), rgba(255,255,255,.02) 60%); transition: transform .35s var(--ease), border-color .3s; }
.coll:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.coll .art { width: 150px; height: 150px; margin: auto auto 6px; transition: transform .5s var(--ease); }
.coll:hover .art { transform: translateY(-6px) scale(1.04); }
.coll h3 { margin: 0 0 6px; }
.coll p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.coll .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--accent); font-weight: 650; }

/* ---------- product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid-products { grid-template-columns: 1fr 1fr; gap: 12px; } }
.pcard { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; position: relative; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(0,217,255,.3); box-shadow: 0 26px 60px -30px rgba(0,217,255,.35); }
.pcard-media { position: relative; aspect-ratio: 1 / .9; background: radial-gradient(circle at 50% 42%, #1B3555 0%, #0D1E34 62%, #0A182A 100%); display: grid; place-items: center; }
.pcard-media .art { width: 78%; height: 78%; transition: transform .5s var(--ease); }
.pcard:hover .pcard-media .art { transform: scale(1.06); }
.pcard-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard-cmp { position: absolute; top: 10px; right: 10px; }
.pcard-cmp .icon-btn { width: 34px; height: 34px; background: rgba(8,21,37,.6); backdrop-filter: blur(8px); }
.pcard-cmp .icon-btn[aria-pressed="true"] { color: #04121F; background: var(--cyan); border-color: var(--cyan); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-sku { font-size: 11px; color: var(--dim); font-weight: 600; letter-spacing: .04em; }
.pcard h3 { font-size: 15px; margin: 0; line-height: 1.3; }
.pcard h3 a::after { content: ''; position: absolute; inset: 0; }
.pcard-specs { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pcard-dots { display: flex; gap: 5px; }
.pcard-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.pcard-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; position: relative; z-index: 1; }
.price-from { font-size: 11.5px; color: var(--dim); line-height: 1.3; }
.price-from b { display: block; color: var(--text); font-size: 16px; font-family: var(--display); }
@media (max-width: 560px) {
  .pcard-body { padding: 12px; }
  .pcard h3 { font-size: 13.5px; }
  .pcard-specs { display: none; }
  .pcard-foot { flex-direction: column; align-items: stretch; }
  .pcard-foot .btn { width: 100%; }
}

/* skeleton */
.skel { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.skel .sm { aspect-ratio: 1/.9; }
.skel .sl { height: 12px; margin: 14px 16px 0; border-radius: 6px; }
.skel .sl:last-child { width: 50%; margin-bottom: 18px; }
.shimmer { background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.09) 37%, rgba(255,255,255,.04) 63%); background-size: 400% 100%; animation: shim 1.4s ease infinite; }
@keyframes shim { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

/* states */
.state { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.state .art, .state .icon-xl { width: 120px; height: 120px; margin: 0 auto 10px; opacity: .9; }
.state h3 { margin-bottom: 6px; }
.state p { color: var(--muted); max-width: 440px; margin: 0 auto 18px; }
.state-error { border-color: rgba(255,107,122,.4); }

/* ---------- steps (how it works) ---------- */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 980px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }
.how li { list-style: none; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.how li::before { counter-increment: s; content: '0' counter(s); font: 800 13px var(--display); color: var(--cyan); display: block; margin-bottom: 26px; }
.how li .icon { position: absolute; right: 20px; top: 20px; width: 22px; height: 22px; color: var(--dim); }
.how h3 { font-size: 16px; }
.how p { color: var(--muted); font-size: 13.5px; margin: 0; }
.how ol, ol.how { padding: 0; margin: 0; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }
.why > div { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.why .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,217,255,.1); color: var(--cyan); margin-bottom: 16px; }
.why .ic.v { background: rgba(139,124,255,.12); color: #B3A9FF; }
.why h3 { font-size: 16px; }
.why p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { padding: 18px 20px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--cyan); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- cta ---------- */
.cta-band { border-radius: 28px; padding: 56px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(500px 240px at 20% 0%, rgba(0,217,255,.25), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(139,124,255,.28), transparent 70%), #0C1E35; border: 1px solid var(--line-2); }
.cta-band h2 { max-width: 700px; margin: 0 auto 14px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }
@media (max-width: 640px) { .cta-band { padding: 36px 20px; border-radius: 22px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 40px; color: var(--muted); font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--text); font-size: 13px; margin-bottom: 14px; font-family: var(--font); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--text); }
.footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }

/* ---------- page head / breadcrumbs ---------- */
.page-head { padding: 40px 0 26px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 86px; display: grid; gap: 20px; padding: 20px; max-height: calc(100vh - 106px); overflow: auto; }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); margin-bottom: 10px; }
.filter-list { display: grid; gap: 4px; }
.filter-list label { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.filter-list label:hover { background: var(--surface); color: var(--text); }
.filter-list input { accent-color: var(--cyan); width: 16px; height: 16px; }
.filter-list .n { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .search { flex: 1; min-width: 220px; position: relative; }
.toolbar .search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.toolbar .search .input { padding-left: 42px; }
.toolbar select.input { width: auto; min-width: 180px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.result-count { color: var(--dim); font-size: 13px; margin-bottom: 14px; }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 75; max-height: 82vh; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .35s var(--ease); background: #0C1D33; }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .filters .filters-close { display: inline-grid; }
}
.filters-close { display: none; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; padding-bottom: 40px; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; gap: 26px; } }
.gallery { position: sticky; top: 86px; }
@media (max-width: 960px) { .gallery { position: static; } }
.gallery-main { aspect-ratio: 1; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 42%, #1D3A5D 0%, #0D1E34 62%, #091628 100%); display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery-main .art { width: 82%; height: 82%; animation: fadeIn .4s var(--ease); }
.gallery-main .badge { position: absolute; left: 16px; top: 16px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, #183152, #0B1A2E); display: grid; place-items: center; padding: 6px; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--cyan); }
.gallery-thumbs .art { width: 100%; height: 100%; }
.gallery-note { font-size: 12px; color: var(--dim); margin-top: 10px; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } }
.pdp-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 8px; }
.pdp-sku { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; }
.block { padding: 18px 0; border-top: 1px solid var(--line); }
.block > .label { display: flex; justify-content: space-between; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--dim); font-weight: 550; width: 38%; }
.estimate { border-radius: 18px; padding: 18px; background: linear-gradient(180deg, rgba(0,217,255,.08), rgba(139,124,255,.06)); border: 1px solid rgba(0,217,255,.22); }
.estimate .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding: 4px 0; }
.estimate .row b { color: var(--text); font-weight: 600; }
.estimate .total { display: flex; justify-content: space-between; align-items: end; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.estimate .total .big { font: 800 30px/1 var(--display); letter-spacing: -.02em; }
.estimate .warn { margin-top: 10px; font-size: 12.5px; color: var(--amber); display: flex; gap: 8px; }
.estimate .disclaimer { margin-top: 10px; font-size: 11.5px; color: var(--dim); line-height: 1.5; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pdp-actions .btn-primary { grid-column: 1 / -1; }
@media (max-width: 400px) { .pdp-actions { grid-template-columns: 1fr; } .btn { white-space: normal; text-align: center; } .qb-nav .btn-lg { padding: 0 16px; } }

/* sticky mobile bar */
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 10px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,21,37,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mobile-bar .mb-price { font-size: 12px; color: var(--dim); line-height: 1.25; }
  .mobile-bar .mb-price b { display: block; color: var(--text); font: 800 18px var(--display); }
  .mobile-bar .btn { margin-left: auto; }
  body.has-mobile-bar { padding-bottom: 80px; }
}

/* ---------- quote builder ---------- */
.qb { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 1060px) { .qb { grid-template-columns: 1fr; } }
.stepper { display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper button { flex: 1; min-width: 92px; border: 0; background: none; text-align: left; padding: 0; color: var(--dim); font-size: 12px; font-weight: 600; }
.stepper button::before { content: ''; display: block; height: 4px; border-radius: 4px; background: var(--line-2); margin-bottom: 8px; transition: background .3s; }
.stepper button[data-state="done"] { color: var(--muted); }
.stepper button[data-state="done"]::before { background: rgba(0,217,255,.5); }
.stepper button[data-state="current"] { color: var(--text); }
.stepper button[data-state="current"]::before { background: var(--cyan); }
.stepper button:disabled { cursor: not-allowed; }
.stepper .n { color: var(--cyan); margin-right: 4px; }
.qb-panel { padding: 28px; min-height: 420px; }
@media (max-width: 640px) { .qb-panel { padding: 18px; } }
.qb-panel h2 { font-size: 1.5rem; margin-bottom: 4px; }
.qb-panel > p.muted { margin-bottom: 22px; }
.qb-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 470px; overflow: auto; padding: 2px; }
.pick { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 10px; text-align: left; transition: border-color .2s, background .2s; }
.pick:hover { border-color: rgba(255,255,255,.28); }
.pick[aria-pressed="true"] { border-color: var(--cyan); background: rgba(0,217,255,.07); }
.pick .art { width: 100%; height: 100px; }
.pick b { font-size: 13px; display: block; line-height: 1.3; margin-top: 4px; }
.pick small { font-size: 11.5px; color: var(--dim); }
.qb-side { position: sticky; top: 86px; display: grid; gap: 16px; }
@media (max-width: 1060px) { .qb-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; } .qb-preview { aspect-ratio: auto; height: 220px; } }
@media (max-width: 680px) { .qb-side { grid-template-columns: 1fr; } }
.qb-preview { aspect-ratio: 1.25; border-radius: 16px; background: radial-gradient(circle at 50% 45%, #1D3A5D, #0B1A2E 70%); display: grid; place-items: center; margin-bottom: 14px; }
.qb-preview .art { width: 70%; height: 90%; }
.summary-list { display: grid; gap: 6px; font-size: 13.5px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; }
.summary-list dt { color: var(--dim); }
.summary-list dd { margin: 0; text-align: right; font-weight: 600; }

.drop { border: 1.5px dashed var(--line-2); border-radius: 18px; padding: 34px 20px; text-align: center; transition: border-color .2s, background .2s; cursor: pointer; display: block; }
.drop:hover, .drop.drag { border-color: var(--cyan); background: rgba(0,217,255,.05); }
.drop .icon { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--cyan); }
.drop b { display: block; margin-bottom: 4px; }
.drop small { color: var(--dim); }
.file-chip { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); }
.file-chip .thumb { width: 52px; height: 52px; border-radius: 10px; background: #fff center/contain no-repeat; flex: none; display: grid; place-items: center; color: #0B1830; font-size: 11px; font-weight: 800; }
.file-chip .meta { flex: 1; min-width: 0; }
.file-chip .meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.file-chip .meta small { color: var(--dim); }

/* basket lines */
.lines { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); align-items: center; }
.line .thumb { width: 84px; height: 84px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #1A3352, #0B1A2E); display: grid; place-items: center; }
.line .thumb .art { width: 90%; height: 90%; }
.line h4 { margin: 0 0 4px; font-size: 14.5px; font-family: var(--font); letter-spacing: 0; }
.line .meta { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.line .amt { text-align: right; font-size: 12px; color: var(--dim); }
.line .amt b { display: block; color: var(--text); font-size: 15px; }
.line .acts { display: flex; gap: 6px; margin-top: 8px; justify-content: flex-end; }
@media (max-width: 560px) { .line { grid-template-columns: 64px 1fr; } .line .thumb { width: 64px; height: 64px; } .line .amt { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; } .line .acts { margin: 0; } }

/* drawer + modal */
.scrim { position: fixed; inset: 0; background: rgba(2,8,16,.6); backdrop-filter: blur(3px); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 71; background: #0B1B30; border-left: 1px solid var(--line-2); transform: translateX(102%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.15rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 20px; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer .line { grid-template-columns: 64px 1fr; }
.drawer .line .thumb { width: 64px; height: 64px; }
.drawer .line .amt { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
.drawer .line .acts { margin: 0; }
.totals { display: flex; justify-content: space-between; align-items: end; }
.totals { gap: 12px; }
.totals .big { font: 800 24px var(--display); white-space: nowrap; }

.palette { position: fixed; left: 50%; top: 12vh; width: min(640px, calc(100% - 24px)); transform: translate(-50%, -8px); z-index: 72; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; background: #0C1D33; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); overflow: hidden; }
.palette.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-input input { flex: 1; height: 58px; background: none; border: 0; color: var(--text); font: 16px var(--font); }
.palette-input input:focus { outline: none; }
.palette-results { max-height: 52vh; overflow: auto; padding: 8px; }
.palette-results a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.palette-results a:hover, .palette-results a.active { background: var(--surface-2); }
.palette-results .art { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #12284A; }
.palette-results small { color: var(--dim); display: block; font-size: 12px; }
.palette-results .hint { padding: 10px 12px; font-size: 12.5px; color: var(--dim); }
.palette-results .parsed { margin: 6px 10px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0,217,255,.07); border: 1px solid rgba(0,217,255,.2); font-size: 13px; color: var(--muted); }

.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); }
@media (max-width: 960px) { .toasts { bottom: 92px; } }
.toast { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #10233D; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); font-size: 14px; animation: toastIn .3s var(--ease); }
.toast .icon { color: var(--green); }
.toast.err .icon { color: var(--red); }
.toast a, .toast button { margin-left: auto; color: var(--cyan); font-weight: 650; background: none; border: 0; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- advisor ---------- */
.advisor { display: grid; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.chat { display: flex; flex-direction: column; height: min(680px, 78vh); }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #04121F; }
.chat-log { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; animation: fadeIn .3s var(--ease); }
.msg.user { align-self: flex-end; background: var(--cyan); color: #04121F; border-bottom-right-radius: 6px; font-weight: 520; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.bot ul { margin: 6px 0; padding-left: 18px; }
.msg .recs { display: grid; gap: 8px; margin: 10px 0 6px; }
.rec { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.rec .art { width: 56px; height: 56px; border-radius: 10px; background: #12284A; }
.rec b { font-size: 13.5px; display: block; line-height: 1.3; }
.rec small { color: var(--dim); font-size: 12px; }
.rec .p { text-align: right; font-size: 12px; color: var(--dim); }
.rec .p b { color: var(--text); font-size: 14px; }
@media (max-width: 480px) { .msg { max-width: 94%; } .rec { grid-template-columns: 42px 1fr auto; gap: 8px; } .rec .art { width: 42px; height: 42px; } }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.chat-suggest { display: flex; gap: 8px; padding: 0 20px 12px; overflow-x: auto; scrollbar-width: none; }
.chat-suggest .chip { white-space: nowrap; flex: none; }
.chat-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.chat-form .input { flex: 1; width: auto; min-width: 0; }
.chat-form .btn { flex: none; width: 46px; padding: 0; }
.advisor-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .advisor-preview { grid-template-columns: 1fr; } }
.advisor-preview .chat { height: 520px; }
.qb-side > *, .advisor-preview > *, .qb > *, .pdp > *, .catalog > *, .hero .container > *, .advisor > * { min-width: 0; }

/* compare */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--surface); vertical-align: bottom; }
.cmp tbody th { color: var(--dim); font-weight: 550; width: 170px; background: rgba(255,255,255,.015); }
.cmp .art-cell { width: 140px; height: 120px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #1A3352, #0B1A2E); display: grid; place-items: center; margin-bottom: 10px; }
.cmp .art-cell .art { width: 86%; height: 86%; }
.cmp-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 34; display: none; gap: 12px; align-items: center; padding: 10px 10px 10px 18px; border-radius: 16px; background: #10233D; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); font-size: 14px; }
.cmp-bar.show { display: flex; }
@media (max-width: 960px) { .cmp-bar { bottom: 90px; } }

/* confirmation */
.confirm { max-width: 720px; margin: 0 auto; text-align: center; padding: 44px 28px; }
.confirm .tick { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(62,230,168,.12); color: var(--green); box-shadow: 0 0 0 10px rgba(62,230,168,.05); }
.confirm .tick .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.ref { display: inline-block; font: 700 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; padding: 12px 18px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); margin: 8px 0 18px; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 13.5px; text-align: left; line-height: 1.5; }
.notice .icon { flex: none; margin-top: 2px; }
.notice-amber { background: rgba(255,193,99,.08); border: 1px solid rgba(255,193,99,.3); color: #F2DDB5; }
.notice-amber .icon { color: var(--amber); }
.notice-red { background: rgba(255,107,122,.08); border: 1px solid rgba(255,107,122,.35); color: #FFD0D5; }
.notice-red .icon { color: var(--red); }
.notice-cyan { background: rgba(0,217,255,.06); border: 1px solid rgba(0,217,255,.25); color: #CDEFF7; }
.notice-cyan .icon { color: var(--cyan); }
.next-steps { text-align: left; display: grid; gap: 12px; margin: 26px 0; counter-reset: n; padding: 0; }
.next-steps li { list-style: none; display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.next-steps li::before { counter-increment: n; content: counter(n); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--cyan); font-weight: 700; font-size: 12px; flex: none; }
.next-steps b { color: var(--text); }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(4,18,31,.3); border-top-color: #04121F; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.app-loading { min-height: 60vh; display: grid; place-items: center; color: var(--dim); }
.stack { display: grid; gap: 14px; }
.row-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
