/* HexaLabs Store: tokens follow the HexaLabs site theme (hexalabs-site/src/styles/theme.css). */
:root {
  --ink-950: #061426;
  --ink-900: #0b1f3a;
  --ink-700: #1c3354;
  --night-950: #040b17;
  --blue-600: #0a66c2;
  --blue-700: #0857a6;
  --blue-50: #e8f1fb;
  --blue-400: #5aa6ff;
  --orange-500: #f28c1e;
  --canvas: #edf1f8;
  --canvas-200: #dfe6f1;
  --paper-50: #f7f8fa;
  --white: #ffffff;
  --slate-600: #475569;
  --slate-500: #5b6b80;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-250: #c3ccd8;
  --slate-200: #e2e8f0;
  --ok: #1a7f4b;
  --ok-50: #e7f5ee;
  --err: #b42318;
  --err-50: #fdecea;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --r-control: 10px;
  --r-card: 16px;
  --r-panel: 24px;
  --shadow-card: 0 1px 2px rgba(6, 20, 38, .04), 0 8px 24px -12px rgba(6, 20, 38, .14);
  --shadow-lift: 0 2px 4px rgba(6, 20, 38, .05), 0 22px 44px -18px rgba(6, 20, 38, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --accent-grad: linear-gradient(95deg, #0a66c2 0%, #2a7fd8 55%, #0a66c2 110%);
  --accent-grad-dark: linear-gradient(95deg, #5aa6ff 0%, #a9d0ff 60%, #5aa6ff 115%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--canvas); color: var(--slate-600);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink-950); margin: 0; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink-950); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.2em; }
[data-icon] { display: inline-flex; }

/* ── Type helpers ─────────────────────────────────────────────────────── */
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); }
.on-dark .eyebrow { color: var(--slate-400); }
.on-dark .eyebrow::before { background: var(--blue-400); }
.display { font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .accent { background-image: var(--accent-grad-dark); }
.lead { font-size: 17px; line-height: 1.6; color: var(--slate-600); }
.muted { color: var(--slate-500); }
.mono { font-family: var(--mono); }
.link { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--blue-700); }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 400; letter-spacing: -.025em; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -8px rgba(10, 102, 194, .7); }
.btn-primary:hover { background: var(--blue-700); }
.btn-dark { background: var(--ink-950); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-light { background: #fff; color: var(--ink-950); }
.btn-light:hover { background: var(--canvas); }
.btn-outline { background: #fff; color: var(--ink-950); border-color: var(--slate-250); }
.btn-outline:hover { border-color: var(--ink-950); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .ico-nudge { transition: transform .3s var(--ease); }
.btn:hover .ico-nudge { transform: translate(2px, -2px); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-950); }
.icon-btn:hover { background: var(--canvas); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Chips / tags ─────────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--canvas); color: var(--ink-950); white-space: nowrap; }
.chip-dark { background: var(--ink-950); color: #fff; }
.chip-blue { background: var(--blue-50); color: var(--blue-700); }
.chip-ok { background: var(--ok-50); color: var(--ok); }
.chip-accent { background: #fff3e6; color: #9a4d00; }
.code { font: 500 12px/1 var(--mono); color: var(--slate-500); letter-spacing: .02em; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--slate-200); }
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-tag { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-50); padding: 5px 8px; border-radius: 6px; }
.bar-actions { display: flex; align-items: center; gap: 6px; }
.bar-link, .cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-950); border: 1px solid transparent; background: transparent; position: relative; }
.bar-link:hover { background: var(--canvas); }
.cart-btn { background: var(--ink-950); color: #fff; }
.cart-btn:hover { background: var(--ink-700); }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange-500); color: var(--ink-950); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--slate-200); background: var(--canvas);
  padding: 0 44px 0 42px; font-size: 14px; color: var(--ink-950); transition: border-color .2s, background .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--slate-500); }
.search input:focus { outline: none; background: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(10, 102, 194, .12); }
.search input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--slate-500); pointer-events: none; }
.search-kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 11px/1 var(--mono); color: var(--slate-500); border: 1px solid var(--slate-250); border-radius: 6px; padding: 4px 7px; background: #fff; }
.search input:focus ~ .search-kbd { display: none; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lift); border: 1px solid var(--slate-200); padding: 8px; max-height: min(70vh, 520px); overflow: auto; }
.sr-group { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); padding: 10px 10px 6px; }
.sr-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-950); font-size: 14px; }
.sr-item small { display: block; color: var(--slate-500); font-size: 12px; margin-top: 1px; }
.sr-item[aria-selected="true"], .sr-item:hover { background: var(--canvas); }
.sr-price { font-weight: 600; font-size: 13px; white-space: nowrap; }
.sr-all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; margin-top: 4px; border-top: 1px solid var(--slate-200); font-size: 13px; font-weight: 500; color: var(--blue-600); text-decoration: none; }
.sr-empty { padding: 18px 12px; font-size: 14px; color: var(--slate-500); }

.catnav { border-top: 1px solid var(--slate-200); }
.catnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; height: 48px; align-items: center; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--slate-600); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.catnav a:hover { background: var(--canvas); color: var(--ink-950); }
.catnav a[aria-current="page"] { background: var(--ink-950); color: #fff; }
.catnav a .n { font: 500 11px/1 var(--mono); opacity: .6; }

@media (max-width: 860px) {
  .bar { grid-template-columns: auto auto; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 12px; }
  .bar-actions { justify-self: end; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hide-sm { display: none; }
  .bar-link, .cart-btn { padding: 0 12px; }
  .search-kbd { display: none; }
  .brand img { height: 32px; }
  html { scroll-padding-top: 180px; }
}

/* ── Sections / surfaces ──────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .lead { margin-top: 10px; max-width: 620px; }
.section-head h2 { margin-top: 10px; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero-wrap { padding-top: 16px; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--ink-950); color: var(--slate-300);
  min-height: 520px; display: flex; align-items: flex-end; isolation: isolate;
}
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 11, 23, .94) 0%, rgba(4, 11, 23, .78) 45%, rgba(4, 11, 23, .25) 100%), linear-gradient(0deg, rgba(4, 11, 23, .7), transparent 50%); }
.hero-body { padding: 48px 28px 36px; width: 100%; max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 68px); margin: 18px 0 18px; }
.hero .lead { color: var(--slate-300); max-width: 560px; }
.hero-search { position: relative; margin-top: 28px; max-width: 600px; }
.hero-search input { width: 100%; height: 58px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .96); padding: 0 140px 0 52px; font-size: 16px; color: var(--ink-950); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.hero-search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(90, 166, 255, .35); }
.hero-search .search-icon { left: 20px; }
.hero-search .btn { position: absolute; right: 6px; top: 6px; height: 46px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.quick span { font-size: 13px; color: var(--slate-400); margin-right: 4px; }
.quick a { font-size: 13px; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 5px 12px; transition: background .2s; }
.quick a:hover { background: rgba(255, 255, 255, .12); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 16px 16px; background: rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; }
.hero-stats div { background: rgba(6, 20, 38, .72); backdrop-filter: blur(8px); padding: 16px 18px; }
.hero-stats b { display: block; color: #fff; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.hero-stats small { font-size: 12px; color: var(--slate-400); }
@media (min-width: 900px) { .hero-body { padding: 72px 56px 40px; } .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; } }
@media (max-width: 720px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin: 0 12px 12px; }
  .hero-search input { padding-right: 18px; height: 52px; }
  .hero-search .btn { display: none; }
  .hero-body { padding: 36px 20px 24px; }
}

/* ── Page header (category pages) ─────────────────────────────────────── */
.page-head { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--ink-950); color: var(--slate-300); margin-top: 16px; isolation: isolate; }
.page-head .hero-img img { object-position: 70% 35%; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 11, 23, .95) 0%, rgba(4, 11, 23, .82) 50%, rgba(4, 11, 23, .35) 100%); }
.page-head-body { padding: 36px 24px; max-width: 760px; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); margin: 14px 0 10px; }
.page-head p { color: var(--slate-300); max-width: 600px; }
.page-head .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-head .facts .chip { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
@media (min-width: 900px) { .page-head-body { padding: 52px 48px; } }
.crumbs { font-size: 13px; color: var(--slate-400); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--slate-300); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); position: relative; }
.card-hover { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
@media (min-width: 640px) { .grid { gap: 20px; } }

/* Category photo cards */
.cat-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.cat-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--canvas-200); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-panel { background: #fff; margin: -36px 14px 14px; border-radius: 14px; padding: 20px 20px 18px; position: relative; box-shadow: 0 -8px 24px -16px rgba(6, 20, 38, .25); flex: 1; display: flex; flex-direction: column; }
.cat-panel h3 { font-size: 20px; margin: 12px 0 6px; }
.cat-panel p { font-size: 14px; flex: 1; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--slate-200); font-size: 13px; }
.cat-foot b { color: var(--ink-950); font-weight: 600; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--ink-950); text-decoration: underline; text-underline-offset: 3px; }
.more .ico { transition: transform .3s var(--ease); }
.cat-card:hover .more .ico { transform: translate(2px, -2px); }

/* Product cards */
.p-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.p-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.p-logo { width: 48px; height: 48px; border-radius: 12px; background: var(--paper-50); border: 1px solid var(--slate-200); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-600); }
.p-logo img { width: 28px; height: 28px; object-fit: contain; }
.p-logo .ico { width: 22px; height: 22px; }
.p-logo.wide { width: auto; min-width: 48px; padding: 0 12px; }
.p-logo.wide img { width: auto; height: 24px; max-width: 120px; }
.p-card h3 { font-size: 17px; line-height: 1.35; }
.p-desc { font-size: 14px; color: var(--slate-600); }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.p-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.p-price b { font-size: 24px; font-weight: 500; color: var(--ink-950); letter-spacing: -.02em; }
.p-price small { font-size: 13px; color: var(--slate-500); }
.p-price s { font-size: 13px; color: var(--slate-500); }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.p-note { font-size: 12px; display: flex; gap: 6px; align-items: flex-start; background: #fff7ec; color: #7a3d00; border-radius: 10px; padding: 8px 10px; }

/* Segmented plan picker */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--canvas); border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 8px 10px; text-align: left; color: var(--slate-600); transition: background .2s, box-shadow .2s; }
.seg button small { display: block; font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--slate-500); }
.seg button b { font-size: 15px; font-weight: 600; color: var(--ink-950); }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(6, 20, 38, .12); }
.seg button[aria-pressed="true"] small { color: var(--blue-700); }

/* ── Catalogue layout (rail + results) ────────────────────────────────── */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.rail { position: sticky; top: 140px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 12px; }
.rail h2 { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); padding: 10px 10px 8px; }
.rail a, .rail button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border: 0; background: transparent; border-radius: 10px; font-size: 14px; text-decoration: none; color: var(--slate-600); text-align: left; }
.rail a:hover, .rail button:hover { background: var(--canvas); color: var(--ink-950); }
.rail a[aria-current="true"] { background: var(--blue-50); color: var(--blue-700); font-weight: 500; }
.rail .n { font: 500 11px/1 var(--mono); color: var(--slate-500); }
.rail-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rail-logo img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.rail-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 960px) {
  .catalog { grid-template-columns: 1fr; gap: 16px; }
  .rail { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail h2 { display: none; }
  .rail a, .rail button { width: auto; white-space: nowrap; flex-shrink: 0; }
}

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .count { font-size: 14px; color: var(--slate-600); }
.toolbar .count b { color: var(--ink-950); font-weight: 600; }
.toolbar-r { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.field-inline { position: relative; }
.field-inline .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-500); pointer-events: none; }
.input, .select {
  height: 40px; border-radius: var(--r-control); border: 1px solid var(--slate-250); background: #fff; padding: 0 12px; font-size: 14px; color: var(--ink-950); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field-inline .input { padding-left: 36px; min-width: 240px; }
.select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235b6b80' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; width: auto; }
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(10, 102, 194, .12); }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 110px; line-height: 1.5; }
@media (max-width: 640px) { .field-inline, .field-inline .input { min-width: 0; width: 100%; } .toolbar-r { justify-content: stretch; } .toolbar-r > * { flex: 1; } }

/* Dense list (course labs, vouchers, search) */
.list { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--slate-200); transition: background .2s; }
.row:first-child { border-top: 0; }
.row:hover { background: var(--paper-50); }
.row-main { min-width: 0; display: flex; gap: 14px; align-items: center; }
.row-main .p-logo { width: 40px; height: 40px; border-radius: 10px; }
.row-main .p-logo img { width: 24px; height: 24px; }
.row h3 { font-size: 15px; font-weight: 500; line-height: 1.4; }
.row .sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; font-size: 12px; color: var(--slate-500); }
.row-price { text-align: right; white-space: nowrap; }
.row-price b { display: block; font-size: 17px; font-weight: 600; color: var(--ink-950); }
.row-price small { font-size: 12px; color: var(--slate-500); }
.row-price s { font-size: 12px; color: var(--slate-500); margin-right: 4px; }
.row-price .por { font-size: 14px; font-weight: 500; color: var(--slate-600); }
.enq-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--slate-200); border-radius: 14px; }
.enq-item h3 { font-size: 15px; font-weight: 500; line-height: 1.4; }
.enq-item .sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; font-size: 12px; }
.row-actions { display: flex; gap: 6px; }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr auto; padding: 14px 16px; gap: 10px 12px; }
  .row-main { grid-column: 1 / -1; }
  .row-price { text-align: left; }
  .row-actions { justify-content: flex-end; }
}

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--slate-200); background: #fff; font-size: 14px; color: var(--ink-950); padding: 0 10px; }
.pager button:hover { border-color: var(--ink-950); }
.pager button[aria-current="page"] { background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.pager .gap { color: var(--slate-500); padding: 0 4px; }

.empty { text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.empty h3 { font-size: 18px; margin: 12px 0 6px; }
.empty .ico { width: 32px; height: 32px; color: var(--slate-400); }

/* Vendor tiles */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.vendor { display: flex; flex-direction: column; gap: 14px; padding: 18px; text-decoration: none; color: inherit; }
.vendor-logo { height: 56px; display: flex; align-items: center; }
.vendor-logo img { max-height: 40px; max-width: 150px; object-fit: contain; }
.wordmark { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-950); }
.vendor-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.vendor-foot b { font-weight: 600; color: var(--ink-950); }
.vendor-name { font-size: 14px; font-weight: 500; color: var(--ink-950); }
.vendor-name small { display: block; font-size: 12px; font-weight: 400; color: var(--slate-500); }

/* Servers table */
.os-switch { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow-card); }
.os-switch button { border: 0; background: transparent; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--slate-600); display: inline-flex; gap: 8px; align-items: center; }
.os-switch button[aria-pressed="true"] { background: var(--ink-950); color: #fff; }
.os-switch img { width: 18px; height: 18px; }
.os-switch button { white-space: nowrap; }
@media (max-width: 420px) { .os-switch button { padding: 0 12px; font-size: 13px; gap: 6px; } }
.srv { display: grid; grid-template-columns: 190px repeat(4, minmax(0, 1fr)) 196px; gap: 0; align-items: stretch; }
.srv-head { font: 500 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--slate-500); padding: 14px 12px; }
.srv-row { border-top: 1px solid var(--slate-200); }
.srv-spec { padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.srv-spec b { font-size: 17px; color: var(--ink-950); font-weight: 600; }
.srv-spec small { font-size: 12px; color: var(--slate-500); }
.srv-opt { margin: 8px 4px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; padding: 8px 12px; transition: background .2s, border-color .2s; }
.srv-opt:hover { background: var(--canvas); }
.srv-opt[aria-pressed="true"] { border-color: var(--blue-600); background: var(--blue-50); }
.srv-opt b { display: block; font-size: 15px; color: var(--ink-950); font-weight: 600; }
.srv-opt small { font-size: 11px; color: var(--slate-500); }
.srv-act { display: flex; align-items: center; gap: 6px; padding: 8px 16px 8px 8px; justify-content: flex-end; }
@media (max-width: 960px) {
  .srv { grid-template-columns: repeat(2, 1fr); }
  .srv-headrow { display: none; }
  .srv-spec { grid-column: 1 / -1; padding-bottom: 4px; }
  .srv-opt { margin: 4px; }
  .srv-opt small::before { content: attr(data-l) ' · '; }
  .srv-act { grid-column: 1 / -1; padding: 8px 16px 16px; }
  .srv-act .btn { flex: 1; }
}

/* ── Steps / features / FAQ ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; counter-reset: s; }
.step { padding: 26px; }
.step .num { font: 500 12px/1 var(--mono); color: var(--blue-700); background: var(--blue-50); width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-size: 18px; margin: 16px 0 6px; }
.step p { font-size: 14px; }

.band { background: var(--ink-950); color: var(--slate-300); border-radius: var(--r-panel); overflow: hidden; position: relative; isolation: isolate; }
.band::after { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(90, 166, 255, .22), transparent); }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 48px; align-items: center; }
.band h2 { color: #fff; }
.band .lead { color: var(--slate-300); margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; background: var(--ink-900); border: 1px solid var(--ink-700); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.ticks li b { color: #fff; font-weight: 500; display: block; }
.ticks .ico { color: var(--blue-400); margin-top: 2px; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; } }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 500; color: var(--ink-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s var(--ease); color: var(--slate-500); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; font-size: 14px; }

.cta { position: relative; overflow: hidden; border-radius: var(--r-panel); isolation: isolate; color: #fff; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 11, 23, .92), rgba(4, 11, 23, .55)); }
.cta-body { padding: 56px 44px; max-width: 640px; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.cta p { color: var(--slate-300); margin: 14px 0 26px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .cta-body { padding: 36px 22px; } }

/* ── Support page ─────────────────────────────────────────────────────── */
.support-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-950); margin-bottom: 6px; }
.label .opt { font-weight: 400; color: var(--slate-500); }
.input.invalid { border-color: var(--err); }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-err { background: var(--err-50); color: var(--err); }
.alert-ok { background: var(--ok-50); color: var(--ok); }
.alert-info { background: var(--blue-50); color: var(--blue-700); }
.channel { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.channel .p-logo { color: var(--blue-600); }
.channel h3 { font-size: 16px; }
.channel p { font-size: 14px; margin: 2px 0 10px; }
.sla { width: 100%; border-collapse: collapse; font-size: 14px; }
.sla th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--slate-500); padding: 12px 16px; background: var(--paper-50); }
.sla td { padding: 12px 16px; border-top: 1px solid var(--slate-200); }
.sla td:first-child { color: var(--ink-950); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 400; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; margin-bottom: 10px; }
.prose ul { padding-left: 20px; }

/* ── Drawer (cart) ────────────────────────────────────────────────────── */
.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; background: rgba(4, 11, 23, .5); backdrop-filter: blur(3px); z-index: 60; animation: fade .25s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px -30px rgba(4, 11, 23, .5); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--slate-200); }
.drawer-head h2 { font-size: 18px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--slate-200); padding: 16px 20px 20px; background: var(--paper-50); }
.line { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 16px 0; border-top: 1px solid var(--slate-200); }
.line:first-child { border-top: 0; }
.line h3 { font-size: 14px; font-weight: 500; line-height: 1.4; }
.line .sub { font-size: 12px; color: var(--slate-500); margin-top: 3px; }
.line-amt { font-weight: 600; color: var(--ink-950); text-align: right; font-size: 14px; }
.line-ctl { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--slate-250); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-950); }
.qty button:hover { background: var(--canvas); }
.qty input { width: 38px; border: 0; text-align: center; font-size: 14px; font-weight: 500; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.remove { border: 0; background: transparent; color: var(--slate-500); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; padding: 6px; border-radius: 8px; }
.remove:hover { color: var(--err); background: var(--err-50); }
.totals { display: grid; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 18px; font-weight: 600; color: var(--ink-950); padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--slate-200); }
.totals .disc { color: var(--ok); }
.totals .note { font-size: 12px; color: var(--slate-500); justify-content: flex-end; }

/* ── Modal (checkout) ─────────────────────────────────────────────────── */
.modal-backdrop { display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 70; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 980px; max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 40px 80px -30px rgba(4, 11, 23, .6); animation: rise .45s var(--ease); }
.modal.narrow { max-width: 520px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--slate-200); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h2 { font-size: 20px; }
.checkout { display: grid; grid-template-columns: 1.25fr 1fr; }
.checkout-form { padding: 24px; display: grid; gap: 22px; }
.checkout-side { background: var(--paper-50); border-left: 1px solid var(--slate-200); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.fs-title { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 12px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--slate-250); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt:hover { border-color: var(--ink-950); }
.pay-opt:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-600); }
.pay-opt input { margin: 3px 0 0; accent-color: var(--blue-600); width: 16px; height: 16px; }
.pay-opt b { color: var(--ink-950); font-weight: 500; font-size: 14px; display: block; }
.pay-opt small { font-size: 12px; color: var(--slate-500); }
.pay-opt.off { opacity: .5; pointer-events: none; }
.checkout.sending .line-ctl { opacity: .5; pointer-events: none; }
.coupon { display: flex; gap: 8px; }
.sum-lines { display: grid; gap: 12px; font-size: 14px; }
.sum-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.sum-line b { color: var(--ink-950); font-weight: 500; display: block; line-height: 1.4; }
.sum-line small { color: var(--slate-500); font-size: 12px; }
.sum-line .amt { color: var(--ink-950); font-weight: 600; white-space: nowrap; }
.secure { font-size: 12px; color: var(--slate-500); display: flex; align-items: center; gap: 8px; justify-content: center; }
@media (max-width: 820px) {
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal { max-height: 94vh; border-radius: 20px 20px 0 0; }
  .checkout { grid-template-columns: 1fr; }
  .checkout-side { border-left: 0; border-top: 1px solid var(--slate-200); order: -1; }
  .checkout-side .sum-lines { display: none; }
  .checkout-side.expanded .sum-lines { display: grid; }
}
.success { padding: 36px 28px 28px; text-align: center; }
.success-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.success-badge .ico { width: 30px; height: 30px; }
.success h2 { font-size: 26px; font-weight: 400; margin: 18px 0 8px; }
.receipt { text-align: left; background: var(--paper-50); border-radius: 14px; padding: 16px 18px; margin: 20px 0; font-size: 14px; display: grid; gap: 8px; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; }
.receipt span { color: var(--slate-500); }
.receipt b { color: var(--ink-950); font-weight: 600; text-align: right; word-break: break-all; }

/* ── Toast ────────────────────────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; background: var(--ink-950); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 14px; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(4, 11, 23, .6); animation: rise .4s var(--ease); max-width: calc(100vw - 32px); }
.toast .btn { height: 34px; }
.toast .ico { color: #6fd39e; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.toast { animation-name: toastrise; }
@keyframes toastrise { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: #fff; border-top: 1px solid var(--slate-200); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-h { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.footer-list a { text-decoration: none; color: var(--slate-600); }
.footer-list a:hover { color: var(--ink-950); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--slate-200); font-size: 12px; color: var(--slate-500); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.reveal { animation: rise .6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Ask Hexa (store assistant; same look as the HexaLabs website) ─────── */
.hexa-root { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.hexa-root > * { pointer-events: auto; }
@media (min-width: 640px) { .hexa-root { right: 24px; bottom: 24px; } }
.hexa-launcher { position: relative; display: inline-flex; align-items: center; border: 0; border-radius: 999px; padding: 6px; background: var(--ink-950); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -14px rgba(6, 20, 38, .55), 0 0 0 6px rgba(10, 102, 194, .12); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hexa-launcher:hover { transform: translateY(-2px); }
.hexa-root:not(.is-open) .hexa-launcher::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(90, 166, 255, .55); animation: hexa-pulse 2.8s var(--ease) infinite; pointer-events: none; }
.hexa-launcher-face { display: inline-flex; align-items: center; gap: 10px; }
.hexa-launcher-label { display: none; padding-right: 14px; font-size: 15px; font-weight: 500; }
@media (min-width: 640px) { .hexa-launcher-label { display: inline; } }
.hexa-launcher-close { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hexa-root.is-open .hexa-launcher { background: #fff; color: var(--ink-950); }
.hexa-root.is-open .hexa-launcher-face { display: none; }
.hexa-root.is-open .hexa-launcher-close { display: inline-flex; }
.hexa-avatar { display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(6, 20, 38, .08); }
.hexa-avatar img { width: 86%; height: 86%; object-fit: contain; }
.hexa-teaser { display: flex; align-items: flex-start; gap: 4px; max-width: 264px; border-radius: 16px; background: #fff; padding: 12px 8px 12px 14px; box-shadow: var(--shadow-lift), 0 0 0 1px rgba(6, 20, 38, .06); animation: rise .6s var(--ease) both; }
.hexa-teaser-text { border: 0; background: none; text-align: left; font-size: 13px; line-height: 1.35; color: var(--ink-950); padding: 0; }
.hexa-teaser-close { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--slate-500); }
.hexa-teaser-close:hover { background: var(--canvas); color: var(--ink-950); }
.hexa-panel { display: flex; flex-direction: column; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 120px)); overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(6, 20, 38, .08), 0 30px 80px -24px rgba(6, 20, 38, .45); animation: rise .45s var(--ease) both; }
.hexa-panel[hidden] { display: none; }
@media (max-width: 640px) { .hexa-panel { position: fixed; inset: 8px 8px 76px; width: auto; height: auto; } }
.hexa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: radial-gradient(80% 140% at 100% 0%, rgba(10, 102, 194, .45), transparent 70%), var(--ink-950); }
.hexa-head-text { flex: 1; min-width: 0; }
.hexa-head h2 { color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; }
.hexa-head p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--slate-300); }
.hexa-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.hexa-icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #fff; }
.hexa-icon-btn:hover { background: rgba(255, 255, 255, .12); }
.hexa-body { display: flex; flex: 1; flex-direction: column; gap: 12px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; background: var(--canvas); }
.hexa-row { display: flex; align-items: flex-end; gap: 8px; }
.hexa-row-user { justify-content: flex-end; }
.hexa-stack { display: flex; flex-direction: column; gap: 8px; max-width: 88%; min-width: 0; }
.hexa-bubble { max-width: 85%; border-radius: 16px; padding: 10px 13px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.hexa-stack .hexa-bubble { max-width: 100%; }
.hexa-bubble p + p, .hexa-bubble p + ul, .hexa-bubble ul + p { margin-top: 8px; }
.hexa-bot { border-bottom-left-radius: 6px; background: #fff; color: var(--ink-950); box-shadow: 0 1px 2px rgba(6, 20, 38, .06); }
.hexa-user { border-bottom-right-radius: 6px; background: var(--blue-600); color: #fff; white-space: pre-wrap; }
.hexa-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.hexa-link { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.hexa-sent { display: flex; gap: 8px; align-items: flex-start; }
.hexa-sent .ico { color: var(--ok); margin-top: 2px; }
.hexa-products { display: grid; gap: 8px; }
.hexa-product { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 0 0 1px rgba(6, 20, 38, .06), 0 6px 16px -12px rgba(6, 20, 38, .3); }
.hexa-product-name { font-size: 14px; font-weight: 500; color: var(--ink-950); line-height: 1.35; }
.hexa-product-meta { font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.hexa-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.hexa-product-price { font-size: 13px; color: var(--slate-600); }
.hexa-product-price b { color: var(--ink-950); font-size: 15px; font-weight: 600; }
.hexa-product-price small { font-size: 11px; color: var(--slate-500); }
.hexa-product-actions { display: flex; gap: 6px; }
.hexa-product .btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }
.hexa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 36px; }
.hexa-chip { border-radius: 999px; border: 1px solid rgba(10, 102, 194, .3); background: #fff; padding: 6px 12px; font-size: 13px; color: var(--blue-600); }
.hexa-chip:hover { border-color: var(--blue-600); background: var(--blue-50); }
.hexa-chip-accent { border-color: var(--ink-950); background: var(--ink-950); color: #fff; }
.hexa-chip-accent:hover { border-color: var(--ink-950); background: var(--ink-900); }
.hexa-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.hexa-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); animation: hexa-dot 1.2s infinite ease-in-out; }
.hexa-typing span:nth-child(2) { animation-delay: .15s; }
.hexa-typing span:nth-child(3) { animation-delay: .3s; }
.hexa-form { margin-left: 36px; display: grid; gap: 8px; border-radius: 16px; background: #fff; padding: 14px; box-shadow: 0 0 0 1px rgba(6, 20, 38, .06), 0 10px 24px -14px rgba(6, 20, 38, .25); }
.hexa-form-title { font-size: 14px; font-weight: 500; color: var(--ink-950); }
.hexa-form-intro, .hexa-form-note { font-size: 12px; color: var(--slate-500); }
.hexa-form-error { font-size: 12px; color: var(--err); }
.hexa-field { width: 100%; min-height: 40px; border-radius: 10px; border: 1px solid var(--slate-250); background: #fff; padding: 8px 10px; font-size: 13px; color: var(--ink-950); }
textarea.hexa-field { resize: vertical; line-height: 1.45; }
.hexa-field:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(10, 102, 194, .18); }
.hexa-submit { width: 100%; border: 0; border-radius: 999px; background: var(--blue-600); padding: 10px 16px; font-size: 14px; font-weight: 500; color: #fff; }
.hexa-submit:hover { background: var(--blue-700); }
.hexa-submit:disabled { opacity: .6; }
.hexa-compose { display: flex; align-items: flex-end; gap: 8px; border-top: 1px solid var(--slate-200); background: #fff; padding: 10px 10px 6px; }
.hexa-input { flex: 1; max-height: 120px; min-height: 40px; resize: none; border: 0; border-radius: 14px; background: var(--canvas); padding: 9px 12px; font-size: 14px; line-height: 1.4; color: var(--ink-950); }
.hexa-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(10, 102, 194, .4); }
.hexa-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blue-600); color: #fff; }
.hexa-send .ico { transform: rotate(-90deg); }
.hexa-note { background: #fff; padding: 0 12px 8px; text-align: center; font-size: 11px; color: var(--slate-500); }
@keyframes hexa-pulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.18); opacity: 0; } }
@keyframes hexa-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-3px); opacity: 1; } }
/* Keep the launcher clear of the "Added to cart" toast on phones. */
@media (max-width: 640px) {
  .toast { bottom: 84px; }
  body:has(.hexa-root.is-open) .toast { bottom: auto; top: 12px; }
}
.hexa-more { font-size: 12px; }

/* ── Ordering: ready times, price-on-request lines, checkout details ─── */
.p-ready { font-size: 12px; color: var(--slate-600); display: flex; gap: 6px; align-items: center; }
.p-ready .ico { color: var(--blue-600); }
.row .sub .ready-sub { display: inline-flex; align-items: center; gap: 4px; color: var(--slate-500); }
.row .sub .ready-sub .ico { width: 13px; height: 13px; color: var(--blue-600); }
.line .sub .req-tag { display: block; color: var(--blue-700); margin-top: 2px; }
.line-amt .on-request { font-size: 12px; font-weight: 500; color: var(--slate-500); }
.req-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--blue-700); background: var(--blue-50); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.req-note b { font-weight: 600; margin-right: 6px; }
.totals .grand small { display: block; font-size: 11px; font-weight: 400; color: var(--slate-500); }
.ready-box { border: 1px solid var(--slate-200); border-radius: 14px; padding: 14px 16px; font-size: 13px; }
.ready-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ready-box li { display: flex; gap: 8px; align-items: flex-start; }
.ready-box li .ico { color: var(--blue-600); margin-top: 2px; }
.ready-box li b { color: var(--ink-950); font-weight: 500; margin-right: 6px; }
.ready-box p { margin-top: 8px; color: var(--slate-500); font-size: 12px; }
.fs-title .opt { text-transform: none; letter-spacing: 0; font-family: var(--font); }
textarea.input.input-sm { min-height: 72px; }
.hint { font-size: 12px; color: var(--slate-500); margin-top: 4px; min-height: 1em; }
.ts-slot:empty { display: none; }
.hexa-product-ready { display: flex; gap: 5px; align-items: center; font-size: 11px; color: var(--slate-500); margin-top: 4px; }
.hexa-product-ready .ico { width: 12px; height: 12px; color: var(--blue-600); }
.catalog > * { min-width: 0; }
@media (max-width: 720px) {
  .row-actions.req-actions { grid-column: 1 / -1; }
  .row-actions.req-actions .btn { flex: 1; }
}

/* ── Exam codes, remember-me, policy pages, footer legal line ────────── */
.chip-exam { background: var(--ink-950); color: #fff; font: 500 11px/1 var(--mono); letter-spacing: .02em; height: 22px; padding: 0 8px; gap: 4px; }
.chip-exam .ico { width: 12px; height: 12px; color: var(--blue-400); }
.row .sub .chip-exam, .p-meta .chip-exam { flex-shrink: 0; }
.sr-item small .sr-exam { font: 600 11px/1 var(--mono); color: var(--ink-950); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-950); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-600); flex-shrink: 0; }
.check small { display: block; font-size: 12px; color: var(--slate-500); margin-top: 2px; line-height: 1.5; }
.crumbs-light { color: var(--slate-500); }
.crumbs-light a { color: var(--slate-600); }
.crumbs-light a:hover { color: var(--ink-950); }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.policy-nav a { font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink-950); background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 7px 14px; }
.policy-nav a:hover { border-color: var(--slate-300); }
.policy-nav a[aria-current="page"] { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.policy-intro { font-size: 16px; margin-bottom: 8px; }
.prose li b { color: var(--ink-950); font-weight: 600; }
.legal-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 40px; padding: 16px 18px; border-radius: var(--r-card); background: var(--blue-50); color: var(--ink-900); font-size: 14px; line-height: 1.6; }
.legal-box b { display: block; color: var(--ink-950); }
.legal-box .ico { color: var(--blue-600); margin-top: 3px; flex-shrink: 0; }
.footer-forget { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; color: var(--slate-600); cursor: pointer; text-align: left; }
.footer-forget:hover { color: var(--ink-950); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--slate-500); overflow-wrap: anywhere; }
.footer-legal a { color: inherit; }
