/* ==========================================================================
   BlackByte24 — theme on top of Bootstrap 5.3
   Tokens → base → layout → components → sections → motion
   ========================================================================== */

:root {
  --bb-ink: #081426;
  --bb-ink-800: #0d1d35;
  --bb-ink-700: #14284a;
  --bb-blue: #1378ff;
  --bb-blue-600: #0b63db;
  --bb-blue-50: #eef5ff;
  --bb-violet: #7c4dff;
  --bb-text: #111827;
  --bb-muted: #667085;
  --bb-soft: #98a2b3;
  --bb-border: #e6eaf0;
  --bb-border-strong: #d5dbe5;
  --bb-bg: #f8fafc;
  --bb-white: #ffffff;

  --bb-radius-card: 1.25rem;
  --bb-radius-btn: 0.75rem;
  --bb-shadow-card: 0 1px 2px rgba(8, 20, 38, 0.04), 0 4px 16px -4px rgba(8, 20, 38, 0.06);
  --bb-shadow-lift: 0 2px 4px rgba(8, 20, 38, 0.04), 0 18px 40px -12px rgba(8, 20, 38, 0.16);
  --bb-header-h: 72px;
  --bb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --bb-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bb-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--bb-font);
  --bs-body-color: var(--bb-text);
  --bs-body-bg: var(--bb-bg);
  --bs-border-color: var(--bb-border);
  --bs-primary: var(--bb-blue);
  --bs-primary-rgb: 19, 120, 255;
  --bs-link-color: var(--bb-blue);
  --bs-link-color-rgb: 19, 120, 255;
  --bs-link-hover-color: var(--bb-blue-600);
  --bs-link-hover-color-rgb: 11, 99, 219;
  --bs-focus-ring-color: rgba(19, 120, 255, 0.25);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bb-header-h) + 16px);
}
body {
  font-family: var(--bb-font);
  color: var(--bb-text);
  background: var(--bb-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  color: var(--bb-ink);
  text-wrap: balance;
  margin: 0;
}
p { text-wrap: pretty; margin: 0; }
a { text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(19, 120, 255, 0.18); color: var(--bb-ink); }
:focus-visible {
  outline: 2px solid var(--bb-blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.bb-skip {
  position: absolute; left: -999px; top: 12px; z-index: 2000;
  background: var(--bb-ink); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.bb-skip:focus { left: 16px; }

@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}
.container { --bs-gutter-x: 2.5rem; }
@media (min-width: 992px) { .container { --bs-gutter-x: 4rem; } }

/* ---------- Typography ---------- */
.bb-display {
  font-size: clamp(2.35rem, 1.5rem + 3.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.bb-h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.bb-h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 800;
}
.bb-h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.bb-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }
.bb-lead { font-size: 1.125rem; line-height: 1.7; color: var(--bb-muted); }
.bb-body { font-size: 0.9375rem; line-height: 1.6; color: var(--bb-muted); }
.bb-small { font-size: 0.8125rem; color: var(--bb-muted); }
.bb-muted { color: var(--bb-muted) !important; }
.bb-ink { color: var(--bb-ink) !important; }
.bb-blue { color: var(--bb-blue) !important; }
.bb-mono { font-family: var(--bb-mono); }
.bb-tabular { font-variant-numeric: tabular-nums; }
.bb-measure { max-width: 42rem; }
.bb-measure-sm { max-width: 30rem; }

/* ---------- Buttons ---------- */
.bb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.25rem;
  border-radius: var(--bb-radius-btn); border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.15s ease;
  cursor: pointer; user-select: none; line-height: 1;
}
.bb-btn:active { transform: translateY(1px); }
.bb-btn i { font-size: 1rem; line-height: 1; }
.bb-btn .bb-arrow { transition: transform 0.2s ease; }
.bb-btn:hover .bb-arrow { transform: translateX(3px); }
.bb-btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.875rem; }
.bb-btn-lg { min-height: 52px; padding: 0 1.5rem; font-size: 1rem; }
.bb-btn-block { width: 100%; }

.bb-btn-primary {
  background: var(--bb-blue); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -6px rgba(19, 120, 255, 0.6);
}
.bb-btn-primary:hover { background: var(--bb-blue-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -8px rgba(19, 120, 255, 0.7); }
.bb-btn-dark { background: var(--bb-ink); color: #fff; }
.bb-btn-dark:hover { background: var(--bb-ink-700); color: #fff; }
.bb-btn-secondary { background: #fff; color: var(--bb-ink); border-color: var(--bb-border-strong); }
.bb-btn-secondary:hover { color: var(--bb-ink); border-color: rgba(8, 20, 38, 0.3); box-shadow: var(--bb-shadow-card); }
.bb-btn-on-dark { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: rgba(255, 255, 255, 0.15); }
.bb-btn-on-dark:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.bb-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.90625rem; font-weight: 700; color: var(--bb-ink);
  min-height: 32px;
}
.bb-link:hover { color: var(--bb-blue); }
.bb-link-blue { color: var(--bb-blue); }
.bb-link-blue:hover { color: var(--bb-blue-600); }
.bb-link i { transition: transform 0.2s ease; }
.bb-link:hover i { transform: translate(2px, -2px); }
.bb-link-arrow:hover i { transform: translateX(3px); }

/* ---------- Header ---------- */
.bb-header {
  position: sticky; top: 0; z-index: 1030;
  height: var(--bb-header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bb-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--bb-border);
  box-shadow: 0 8px 24px -16px rgba(8, 20, 38, 0.18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.bb-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.bb-logo { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--bb-ink); }
.bb-logo:hover { color: var(--bb-ink); }
.bb-logo svg { width: 32px; height: 32px; flex-shrink: 0; transition: transform 0.35s var(--bb-ease); }
.bb-logo:hover svg { transform: rotate(90deg); }
.bb-logo-text { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.04em; }
.bb-logo-text span { color: var(--bb-blue); }
.bb-logo.is-dark { color: #fff; }

.bb-nav { display: flex; align-items: center; gap: 0.125rem; }
.bb-nav a {
  position: relative; display: block; padding: 0.5rem 0.75rem; border-radius: 8px;
  font-size: 0.90625rem; font-weight: 600; color: var(--bb-muted); transition: color 0.2s ease;
}
.bb-nav a:hover, .bb-nav a.is-active { color: var(--bb-ink); }
.bb-nav a::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -3px; height: 2px;
  border-radius: 2px; background: var(--bb-blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--bb-ease);
}
.bb-nav a.is-active::after { transform: scaleX(1); }

.bb-menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--bb-border); background: #fff; color: var(--bb-ink); font-size: 1.25rem;
}
.bb-menu-btn:hover { border-color: rgba(8, 20, 38, 0.25); }

/* Mobile menu (Bootstrap offcanvas) */
.bb-offcanvas.offcanvas-top { height: 100dvh; border: 0; }
.bb-offcanvas .offcanvas-header { justify-content: space-between; height: var(--bb-header-h); border-bottom: 1px solid var(--bb-border); padding: 0 1.25rem; }
.bb-offcanvas .offcanvas-body { padding: 1.5rem 1.25rem 2rem; }
.bb-mnav li { border-bottom: 1px solid var(--bb-border); opacity: 0; transform: translateX(-10px); transition: opacity 0.45s ease, transform 0.45s var(--bb-ease); }
.bb-offcanvas.show .bb-mnav li { opacity: 1; transform: none; }
.bb-mnav a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: 1.125rem; font-weight: 700; color: var(--bb-ink); }
.bb-mnav a::after { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--bb-border); }
.bb-mnav a.is-active::after { background: var(--bb-blue); }

/* ---------- Sections ---------- */
.bb-section { padding: 5rem 0; position: relative; }
@media (min-width: 768px) { .bb-section { padding: 6rem 0; } }
@media (min-width: 1200px) { .bb-section { padding: 7rem 0; } }
.bb-section-sm { padding: 3rem 0; }
@media (min-width: 768px) { .bb-section-sm { padding: 4rem 0; } }
.bb-white { background: #fff; }
.bb-bt { border-top: 1px solid var(--bb-border); }
.bb-bb { border-bottom: 1px solid var(--bb-border); }
.bb-heading { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .bb-heading { margin-bottom: 3rem; } }
.bb-heading .bb-lead { margin-top: 1rem; }
.bb-kicker { font-family: var(--bb-mono); font-size: 0.8125rem; color: var(--bb-muted); }
.bb-divider { height: 1px; background: var(--bb-border); }

.bb-dots {
  background-image: radial-gradient(rgba(8, 20, 38, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bb-grid-dark {
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.bb-glow { position: absolute; border-radius: 50%; pointer-events: none; }

/* ---------- Cards ---------- */
.bb-card {
  position: relative; background: #fff; border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-card); box-shadow: var(--bb-shadow-card);
}
.bb-card-pad { padding: 1.25rem; }
@media (min-width: 576px) { .bb-card-pad { padding: 1.5rem; } }
.bb-card-hover { transition: transform 0.3s var(--bb-ease), box-shadow 0.3s ease, border-color 0.3s ease; }
.bb-card-hover:hover { transform: translateY(-2px); box-shadow: var(--bb-shadow-lift); border-color: rgba(19, 120, 255, 0.25); }
.bb-card-flex { display: flex; flex-direction: column; height: 100%; }
.bb-grow { flex: 1 1 auto; }
.bb-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Spotlight: border highlight that follows the pointer (JS sets --mx/--my) */
.bb-spotlight::before,
.bb-spotlight::after {
  content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
}
.bb-spotlight::before {
  inset: -1px; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(19, 120, 255, 0.55), rgba(124, 77, 255, 0.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.bb-spotlight::after { inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(19, 120, 255, 0.05), transparent 60%); }
.bb-spotlight:hover::before, .bb-spotlight:hover::after { opacity: 1; }
.bb-card.bb-stretched-host .bb-stretched::after { z-index: 2; }

/* Platform monogram & service icon */
.bb-mono-tile {
  position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px; background: var(--bb-ink); color: #fff;
  font-weight: 800; font-size: 0.9375rem; letter-spacing: -0.03em;
}
.bb-mono-tile::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 2px; background: var(--bb-blue); }
.bb-mono-tile.is-sm { width: 36px; height: 36px; font-size: 0.8125rem; border-radius: 10px; }
.bb-icon-tile {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--bb-border); background: var(--bb-bg); color: var(--bb-ink); font-size: 1.15rem;
}
.bb-icon-tile.is-dark { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: #fff; }
.bb-icon-tile.is-lg { width: 80px; height: 80px; border-radius: 18px; font-size: 2rem; background: #fff; box-shadow: var(--bb-shadow-card); }

.bb-chip {
  display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem;
  border-radius: 10px; border: 1px solid var(--bb-border); background: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem; font-weight: 600; color: rgba(8, 20, 38, 0.8);
}
.bb-tag {
  display: inline-block; padding: 0.25rem 0.625rem; border-radius: 8px; border: 1px solid var(--bb-border);
  background: var(--bb-bg); font-family: var(--bb-mono); font-size: 0.78125rem; color: var(--bb-ink);
}

/* Package card */
.bb-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden;
  border: 1px solid var(--bb-border); border-radius: 12px; background: var(--bb-border);
}
.bb-specs > div { background: #f9fbfd; padding: 0.625rem 0.75rem; }
.bb-specs dt { font-size: 0.78125rem; font-weight: 500; color: var(--bb-muted); }
.bb-specs dd { margin: 0.125rem 0 0; font-size: 0.875rem; font-weight: 700; color: var(--bb-ink); font-variant-numeric: tabular-nums; }
.bb-price { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bb-ink); line-height: 1.2; font-variant-numeric: tabular-nums; }
.bb-card .bb-btn { position: relative; z-index: 3; }

/* Marketplace background: soft colored glow instead of flat grey */
.bb-market {
  background:
    radial-gradient(42rem 26rem at 0% 0%, rgba(19, 120, 255, 0.13), transparent 70%),
    radial-gradient(36rem 24rem at 100% 8%, rgba(183, 47, 209, 0.11), transparent 70%),
    radial-gradient(40rem 28rem at 50% 100%, rgba(38, 161, 123, 0.09), transparent 70%),
    linear-gradient(180deg, #f3f7ff 0%, #f7f5ff 55%, #f2fbf8 100%);
}
.bb-market .bb-card { border-color: rgba(8, 20, 38, 0.07); }

/* Platform groups */
.bb-pgroups { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .bb-pgroups { gap: 3rem; } }
.bb-pgroup-head {
  position: relative; display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1rem;
  padding: 0.75rem 0.875rem; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid rgba(8, 20, 38, 0.06); box-shadow: 0 10px 30px -20px var(--brand-solid);
}
.bb-pgroup-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--brand); }
.bb-pgroup-head::after { content: ""; position: absolute; inset: 0; background: var(--brand); opacity: 0.06; pointer-events: none; }
.bb-pgroup-logo { display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin-left: 0.25rem; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -8px var(--brand-solid); }
.bb-pgroup-logo .bb-mono-tile { width: 36px; height: 36px; border: 0; }
.bb-pgroup-title { margin: 0; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bb-ink); }
@media (min-width: 768px) { .bb-pgroup-title { font-size: 1.25rem; } }
.bb-pgroup-meta { margin: 0.125rem 0 0; font-size: 0.8125rem; font-weight: 500; color: var(--bb-muted); }
.bb-pgroup-all {
  position: relative; z-index: 1; margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 0.375rem;
  height: 36px; padding: 0 0.875rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.8125rem; font-weight: 700;
  transition: filter 0.2s ease, transform 0.2s var(--bb-ease);
}
.bb-pgroup-all:hover { color: #fff; filter: brightness(1.08); transform: translateX(2px); }
@media (max-width: 575.98px) {
  .bb-pgroup-head { gap: 0.625rem; padding: 0.625rem 0.75rem; }
  .bb-pgroup-title { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-pgroup-meta { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-pgroup-all { padding: 0 0.75rem; height: 32px; font-size: 0.75rem; }
  .bb-pgroup-logo { width: 40px; height: 40px; border-radius: 12px; }
  .bb-pgroup-logo .bb-mono-tile { width: 30px; height: 30px; }
}

/* Branded touches on each card */
.bb-mini[style*="--brand"] { position: relative; overflow: hidden; }
.bb-mini[style*="--brand"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); }
.bb-mini[style*="--brand"] .bb-mini-logo { background: color-mix(in srgb, var(--brand-solid) 8%, #fff); border-color: color-mix(in srgb, var(--brand-solid) 18%, #fff); }
.bb-mini[style*="--brand"] .bb-mini-platform { color: var(--brand-solid); font-weight: 700; }
.bb-mini[style*="--brand"]:hover { border-color: color-mix(in srgb, var(--brand-solid) 35%, #fff); box-shadow: 0 18px 36px -22px var(--brand-solid); }

/* Compact package cards ("All" view): 2 / 3 / 4 per row */
.bb-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 768px) { .bb-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 992px) { .bb-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.125rem; } }
.bb-mini-grid > * { min-width: 0; }
.bb-mini { display: flex; flex-direction: column; height: 100%; padding: 0.875rem; border-radius: 14px; }
@media (min-width: 576px) { .bb-mini { padding: 1.125rem; } }
.bb-mini-logo {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
  background: #fff; border: 1px solid var(--bb-border); color: var(--bb-ink); font-size: 1.4rem;
}
.bb-mini-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
@media (min-width: 576px) { .bb-mini-logo { width: 56px; height: 56px; } }
.bb-mini-platform { margin: 0.75rem 0 0.25rem; font-size: 0.75rem; font-weight: 500; color: var(--bb-muted); }
.bb-mini-title {
  margin: 0; font-size: 0.875rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.005em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 576px) { .bb-mini-title { font-size: 0.9375rem; } }
.bb-mini-title a:hover { color: var(--bb-blue); }
.bb-mini-price { margin: auto 0 0; padding-top: 0.75rem; font-size: 1rem; font-weight: 800; color: var(--bb-ink); font-variant-numeric: tabular-nums; }
.bb-mini-min { display: block; margin-top: 0.125rem; font-size: 0.75rem; font-weight: 600; color: var(--bb-muted); }
.bb-mini-buy { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.625rem; }
.bb-mini-qty { display: flex; width: 100%; height: 36px; border-radius: 999px; }
.bb-mini-qty button { width: 36px; flex: none; }
.bb-mini-qty button:disabled { color: var(--bb-soft); cursor: not-allowed; background: none; }
.bb-mini-qty input { flex: 1; width: auto; min-width: 0; }
.bb-mini-btn { width: 100%; height: 36px; border-radius: 999px; white-space: nowrap; }
.bb-mini[style*="--brand"] .bb-mini-btn { background: var(--brand); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -10px var(--brand-solid); }
.bb-mini[style*="--brand"] .bb-mini-btn:hover { background: var(--brand); filter: brightness(1.08); box-shadow: 0 10px 22px -8px var(--brand-solid); }
.bb-mini[style*="--brand"] .bb-mini-qty input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--brand-solid); }
@media (min-width: 1200px) {
  .bb-mini-buy { flex-direction: row; align-items: center; }
  .bb-mini-qty { width: 108px; flex: none; }
  .bb-mini-qty input { width: 36px; }
  .bb-mini-btn { flex: 1; width: auto; padding-left: 0.5rem; padding-right: 0.5rem; }
}

/* Package list row: stacked on phones, two rows on tablets, one aligned row on desktop */
.bb-prow-list { display: flex; flex-direction: column; gap: 0.875rem; }
.bb-prow {
  display: grid; gap: 1rem; padding: 1rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "main" "specs" "buy";
}
.bb-prow-main { grid-area: main; display: flex; align-items: flex-start; gap: 0.875rem; min-width: 0; }
.bb-prow-title { font-size: 1rem; line-height: 1.35; }
.bb-prow-specs {
  grid-area: specs; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden;
  border: 1px solid var(--bb-border); border-radius: 12px; background: var(--bb-border);
}
.bb-prow-specs > div { background: #f9fbfd; padding: 0.5rem 0.75rem; min-width: 0; }
.bb-prow-specs dt { font-size: 0.75rem; font-weight: 500; color: var(--bb-muted); }
.bb-prow-specs dd { margin: 0.125rem 0 0; font-size: 0.875rem; font-weight: 700; color: var(--bb-ink); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.bb-prow-buy { grid-area: buy; display: flex; flex-direction: column; gap: 0.75rem; }
.bb-prow-price { line-height: 1.2; }
.bb-prow-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.bb-prow-actions .bb-btn { width: 100%; white-space: nowrap; }

@media (min-width: 576px) {
  .bb-prow { padding: 1.25rem 1.5rem; }
  .bb-prow-buy { flex-direction: row; align-items: center; justify-content: space-between; }
  .bb-prow-actions { display: flex; }
  .bb-prow-actions .bb-btn { width: auto; }
}
@media (min-width: 768px) {
  .bb-prow-specs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
@media (min-width: 992px) {
  .bb-prow {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
    grid-template-areas: "main specs buy"; align-items: center; gap: 1.5rem;
  }
  .bb-prow-specs { border: 0; border-radius: 0; background: none; gap: 0; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-prow-specs > div { background: none; padding: 0.125rem 0.75rem; border-left: 1px solid var(--bb-border); }
  .bb-prow-specs dd { font-size: 0.8125rem; }
  .bb-prow-buy { flex-direction: column; align-items: stretch; gap: 0.625rem; min-width: 168px; }
  .bb-prow-price { text-align: right; }
  .bb-prow-actions { flex-direction: column; }
  .bb-prow-actions .bb-btn { width: 100%; }
}
@media (min-width: 1200px) {
  .bb-prow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) auto; }
  .bb-prow-buy { flex-direction: row; align-items: center; gap: 1rem; }
  .bb-prow-price { min-width: 92px; }
  .bb-prow-actions { flex-direction: row; }
  .bb-prow-actions .bb-btn { width: 118px; }
}

/* Platform tabs + filters */
/* Tabs wrap onto extra rows instead of hiding platforms behind a horizontal scroll. */
.bb-tabs-wrap { margin: 0 0 1rem; }
.bb-tabs { display: flex; flex-wrap: wrap; gap: 0.375rem; padding: 0.375rem; border: 1px solid var(--bb-border); border-radius: 16px; background: #fff; box-shadow: var(--bb-shadow-card); }
.bb-tabs a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.875rem 0 0.5rem; border-radius: 12px;
  font-size: 0.875rem; font-weight: 600; color: var(--bb-muted); white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease;
}
.bb-tabs a:first-child { padding-left: 1rem; }
.bb-tabs a:hover { background: var(--bb-bg); color: var(--bb-ink); }
.bb-tabs a.is-active { background: var(--bb-ink); color: #fff; }
.bb-tab-logo { width: 24px; height: 24px; flex: none; border-radius: 7px; display: block; }
.bb-tab-icon { width: 24px; height: 24px; flex: none; display: inline-grid; place-items: center; border-radius: 7px; color: #fff; font-size: 0.8rem; }
@media (max-width: 575.98px) {
  .bb-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-tabs a { min-width: 0; }
  .bb-tabs a:first-child { grid-column: 1 / -1; justify-content: center; }
}

/* Platform picker tiles (marketplace + home) */
.bb-ptabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 576px) { .bb-ptabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.625rem; } }
@media (min-width: 768px) { .bb-ptabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bb-ptabs { grid-template-columns: repeat(var(--ptab-cols, 4), minmax(0, 1fr)); gap: 0.75rem; } .bb-ptab { padding: 0.75rem 0.875rem; } }
.bb-ptab {
  position: relative; display: flex; align-items: center; gap: 0.625rem; min-width: 0;
  padding: 0.625rem 0.75rem; border: 1px solid var(--bb-border); border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(8, 20, 38, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--bb-ease), background-color 0.2s ease;
}
.bb-ptab:hover { border-color: rgba(19, 120, 255, 0.35); box-shadow: var(--bb-shadow-card); transform: translateY(-1px); }
.bb-ptab.is-active { border-color: var(--bb-blue); background: var(--bb-blue-50); box-shadow: 0 0 0 3px rgba(19, 120, 255, 0.12); }
.bb-ptab-logo {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--bb-bg); border: 1px solid var(--bb-border);
}
.bb-ptab-logo .bb-tab-logo, .bb-ptab-logo .bb-tab-icon { width: 24px; height: 24px; }
.bb-ptab-logo.is-all { background: var(--bb-ink); border-color: var(--bb-ink); color: #fff; font-size: 1rem; }
.bb-ptab.is-active .bb-ptab-logo { background: #fff; border-color: rgba(19, 120, 255, 0.25); }
.bb-ptab.is-active .bb-ptab-logo.is-all { background: var(--bb-blue); border-color: var(--bb-blue); }
.bb-ptab-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bb-ptab-name { font-size: 0.875rem; font-weight: 700; color: var(--bb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ptab-count { margin-top: 0.125rem; font-size: 0.75rem; font-weight: 500; color: var(--bb-muted); font-variant-numeric: tabular-nums; }
.bb-ptab.is-active .bb-ptab-name { color: var(--bb-blue-600); }
.bb-ptab.is-active .bb-ptab-count { color: var(--bb-blue-600); opacity: 0.8; }

/* Homepage category slider */
.bb-slider:focus-within { outline: none; }
.bb-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bb-slider-track::-webkit-scrollbar { display: none; }
.bb-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; padding: 2px; }
.bb-slider-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.bb-slider-dots { display: flex; gap: 0.5rem; }
.bb-slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--bb-border); transition: width 0.25s ease, background-color 0.25s ease; }
.bb-slider-dots button.is-active { width: 28px; background: var(--bb-blue); }
.bb-slider-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--bb-border); border-radius: 12px;
  background: #fff; color: var(--bb-ink); box-shadow: var(--bb-shadow-card); transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.bb-slider-btn:hover:not(:disabled) { background: var(--bb-ink); color: #fff; }
.bb-slider-btn:disabled { opacity: 0.4; cursor: default; }

.bb-filter-label { display: block; margin-bottom: 0.375rem; font-size: 0.8125rem; font-weight: 600; color: var(--bb-muted); }
.bb-select, .bb-input, .bb-textarea {
  width: 100%; min-height: 46px; padding: 0.625rem 1rem;
  border: 1px solid var(--bb-border-strong); border-radius: 12px; background-color: #fff;
  font: inherit; font-size: 0.9375rem; color: var(--bb-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bb-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23667085' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 0.875rem center; background-size: 14px 10px;
}
.bb-select.is-set { border-color: rgba(19, 120, 255, 0.5); background-color: #f5f9ff; }
.bb-select:focus, .bb-input:focus, .bb-textarea:focus { outline: none; border-color: var(--bb-blue); box-shadow: 0 0 0 4px rgba(19, 120, 255, 0.15); }
.bb-input::placeholder, .bb-textarea::placeholder { color: var(--bb-soft); }
.bb-textarea { min-height: 140px; resize: vertical; }
.bb-input.is-invalid, .bb-select.is-invalid, .bb-textarea.is-invalid { border-color: #dc2626; }
.bb-field-error { margin-top: 0.375rem; font-size: 0.8125rem; font-weight: 500; color: #dc2626; }
.bb-label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--bb-ink); }
.bb-filter-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; border: 0; background: none; padding: 0; font-weight: 700; color: var(--bb-ink); }
.bb-badge-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bb-blue); color: #fff; font-size: 0.75rem; }

.bb-empty { text-align: center; padding: 3.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; }
.bb-bytes { display: grid; gap: 4px; }
.bb-bytes span { width: 10px; height: 10px; border-radius: 3px; background: var(--bb-border); }
.bb-bytes span.is-on { background: var(--bb-blue); }

/* ---------- Hero ---------- */
.bb-hero { position: relative; overflow: hidden; margin-top: calc(var(--bb-header-h) * -1); padding-top: var(--bb-header-h); }
.bb-hero-bg { position: absolute; inset: 0; opacity: 0.85; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%); }
.bb-hero-inner { position: relative; padding-top: 2.5rem; padding-bottom: 5rem; }
@media (min-width: 992px) { .bb-hero-inner { padding-top: 5rem; padding-bottom: 7rem; } }
.bb-hero-copy { max-width: 36rem; }
.bb-hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  border: 1px solid var(--bb-border); border-radius: 999px; background: rgba(255, 255, 255, 0.85);
  font-family: var(--bb-mono); font-size: 0.78125rem; color: var(--bb-muted); box-shadow: var(--bb-shadow-card);
}
.bb-pill-mark { display: grid; grid-template-columns: 5px 5px; gap: 2px; }
.bb-pill-mark span { width: 5px; height: 5px; border-radius: 1px; background: rgba(8, 20, 38, 0.25); }
.bb-pill-mark span:first-child { background: var(--bb-ink); }
.bb-pill-mark span:last-child { background: var(--bb-blue); }
.bb-cursor { display: inline-block; width: 7px; height: 14px; margin-left: -2px; background: rgba(19, 120, 255, 0.8); animation: bbBlink 1.1s step-end infinite; }
.bb-hero h1 { margin-top: 1.5rem; }
.bb-hero .bb-lead { margin-top: 1.5rem; font-size: 1.1875rem; }
.bb-hero-ctas { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 576px) { .bb-hero-ctas { flex-direction: row; } }
.bb-hero-chips { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Decoding headline */
.bb-word { position: relative; display: inline-block; white-space: nowrap; }
.bb-word .bb-word-real.is-hidden { visibility: hidden; }
.bb-word .bb-word-glitch { position: absolute; left: 0; top: 0; white-space: nowrap; }
.bb-word .bb-word-glitch .g { color: rgba(19, 120, 255, 0.8); }

/* Hero console visual */
.bb-console {
  position: relative; width: 100%; aspect-ratio: 5 / 4.4; overflow: hidden; user-select: none;
  border-radius: 28px; background: var(--bb-ink);
  box-shadow: 0 40px 80px -30px rgba(8, 20, 38, 0.55), 0 0 0 1px rgba(8, 20, 38, 0.1);
}
@media (min-width: 576px) { .bb-console { aspect-ratio: 5 / 4; } }
.bb-console .bb-grid-dark { position: absolute; inset: 0; opacity: 0.7; }
.bb-console .glow-a { right: -6rem; top: -6rem; width: 18rem; height: 18rem; background: rgba(19, 120, 255, 0.25); filter: blur(90px); }
.bb-console .glow-b { left: -4rem; bottom: -7rem; width: 16rem; height: 16rem; background: rgba(124, 77, 255, 0.2); filter: blur(90px); }
.bb-scan { position: absolute; left: 0; right: 0; top: 0; height: 25%; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(19, 120, 255, 0.07), transparent); animation: bbScan 5s cubic-bezier(.45, 0, .55, 1) infinite; }
.bb-layer { position: absolute; transition: transform 0.6s var(--bb-ease); transform: translate3d(calc(var(--px, 0) * var(--depth, 10) * 1px), calc(var(--py, 0) * var(--depth, 10) * 1px), 0); }

.bb-bytestrip { left: 5%; top: 5.5%; display: flex; align-items: center; gap: 0.75rem; }
.bb-bytestrip .cells { display: grid; grid-template-columns: repeat(8, 7px); gap: 3px; }
.bb-bytestrip .cells span { width: 7px; height: 7px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); animation: bbByte 3.2s ease-in-out infinite; }
.bb-bytestrip .label { font-family: var(--bb-mono); font-size: 0.6875rem; color: rgba(255, 255, 255, 0.4); }

.bb-window { left: 20%; top: 30%; width: 60%; }
@media (min-width: 576px) { .bb-window { left: 24%; top: 21%; width: 56%; } }
.bb-window-inner { overflow: hidden; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: #0f2240; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.bb-window-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.bb-window-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.bb-window-bar .url { flex: 1; margin-left: 6px; display: flex; align-items: center; gap: 4px; height: 16px; padding: 0 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); font-family: var(--bb-mono); font-size: 8.5px; color: rgba(255, 255, 255, 0.45); white-space: nowrap; overflow: hidden; }
.bb-window-body { display: flex; gap: 10px; padding: 12px; }
.bb-window-side { display: none; width: 18%; }
@media (min-width: 576px) { .bb-window-side { display: block; } }
.bb-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); margin-bottom: 6px; }
.bb-bar.is-blue { background: rgba(19, 120, 255, 0.7); }
.bb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bb-stat { padding: 6px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.04); }
.bb-stat i { display: block; height: 4px; width: 50%; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
.bb-stat b { display: block; margin-top: 6px; height: 8px; width: 75%; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.bb-stat.is-violet b { background: rgba(124, 77, 255, 0.7); }
.bb-chart { margin-top: 10px; padding: 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03); }
.bb-chart svg { display: block; width: 100%; height: 48px; }
@media (min-width: 576px) { .bb-chart svg { height: 56px; } }
.bb-chart .line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: bbDraw 1.6s 1.1s var(--bb-ease) forwards; }

.bb-acc-card { left: 5%; top: 19%; width: 44%; }
@media (min-width: 576px) { .bb-acc-card { width: 33%; } }
.bb-acc-inner { padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5); }
.bb-acc-head { display: flex; align-items: center; gap: 8px; }
.bb-acc-head .bb-mono-tile { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.bb-acc-head .bb-mono-tile::after { right: 2px; bottom: 2px; width: 4px; height: 4px; border-radius: 1px; }
.bb-acc-head strong { display: block; font-size: 11px; color: var(--bb-ink); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-acc-head small { display: block; font-size: 9px; color: var(--bb-muted); }
.bb-acc-rows { margin-top: 10px; font-size: 10px; }
.bb-acc-rows div { display: flex; justify-content: space-between; padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1px solid rgba(230, 234, 240, 0.7); }
.bb-acc-rows div:last-child { border: 0; margin: 0; padding: 0; }
.bb-acc-rows span { color: var(--bb-muted); }
.bb-acc-rows b { color: var(--bb-ink); }

.bb-profile { left: 9%; top: 53%; width: 27%; display: none; }
@media (min-width: 576px) { .bb-profile { display: block; } }
.bb-profile-inner { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bb-profile .avatar { width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; }
.bb-profile .meta { flex: 1; min-width: 0; line-height: 1.25; }
.bb-profile .meta b { display: block; font-size: 10px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-profile .meta small { display: block; font-size: 8.5px; color: rgba(255, 255, 255, 0.55); }

/* Platform logo in the account card: four logos crossfade in turn */
.bb-acc-logo { position: relative; width: 28px; height: 28px; flex-shrink: 0; }
.bb-acc-logo img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; opacity: 0; animation: bbCycle 10s ease-in-out infinite both; }
@keyframes bbCycle { 0% { opacity: 0; transform: scale(0.85); } 4%, 25% { opacity: 1; transform: none; } 29%, 100% { opacity: 0; transform: scale(0.85); } }

/* Floating platform logos around the hero console */
.bb-social { width: 9%; min-width: 34px; max-width: 48px; }
.bb-social img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.bb-social.is-wide { display: none; }
@media (min-width: 576px) { .bb-social.is-wide { display: block; } }
.bb-profile .check { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--bb-blue); color: #fff; font-size: 10px; }

.bb-phone { right: 5%; top: 30%; width: 25%; min-width: 96px; }
.bb-phone-inner { padding: 6px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.15); background: #0b1a31; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6); }
.bb-phone-screen { overflow: hidden; border-radius: 13px; background: #fff; padding: 4px 8px 8px; }
.bb-phone-screen .notch { display: block; width: 32px; height: 4px; margin: 2px auto 6px; border-radius: 2px; background: rgba(8, 20, 38, 0.15); }
.bb-phone-screen .t1 { display: block; height: 6px; width: 50%; border-radius: 3px; background: rgba(8, 20, 38, 0.8); }
.bb-phone-screen .t2 { display: block; height: 4px; width: 75%; margin-top: 4px; border-radius: 2px; background: rgba(8, 20, 38, 0.15); }
.bb-phone-screen .banner { height: 40px; margin-top: 8px; border-radius: 6px; background: linear-gradient(135deg, var(--bb-blue), var(--bb-violet)); }
@media (min-width: 576px) { .bb-phone-screen .banner { height: 48px; } }
.bb-phone-screen .row-item { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px; border: 1px solid var(--bb-border); border-radius: 6px; }
.bb-phone-screen .row-item .sq { width: 14px; height: 14px; border-radius: 4px; background: rgba(8, 20, 38, 0.1); }
.bb-phone-screen .row-item img.sq { background: none; flex-shrink: 0; }
.bb-phone-screen .row-item .ln { flex: 1; }
.bb-phone-screen .row-item .ln i { display: block; height: 4px; width: 80%; border-radius: 2px; background: rgba(8, 20, 38, 0.4); }
.bb-phone-screen .row-item .ln i + i { margin-top: 2px; width: 50%; background: rgba(8, 20, 38, 0.15); }
.bb-phone-screen .cta { height: 16px; margin-top: 8px; border-radius: 4px; background: var(--bb-ink); }

.bb-code { left: 34%; bottom: 6%; width: 44%; display: none; }
@media (min-width: 576px) { .bb-code { display: block; } }
.bb-code-inner { padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(6, 16, 31, 0.92); font-family: var(--bb-mono); font-size: 10px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.bb-code .k { color: #d9ccff; }
.bb-code .b { color: #b4d2ff; }
.bb-code .s { color: #6ee7b7; }
.bb-code .w { color: #fff; }
.bb-code .ind { padding-left: 12px; }
.bb-type { clip-path: inset(0 100% 0 0); animation: bbType 0.9s steps(28, end) forwards; animation-delay: var(--d, 0ms); }
.bb-caret { display: inline-block; width: 6px; height: 10px; margin-left: 2px; vertical-align: -1px; background: var(--bb-blue); animation: bbBlink 1.1s step-end infinite; }
.bb-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.bb-lines path { animation: bbDash 1.2s linear infinite; }
.bb-float { animation: bbFloat 6s ease-in-out infinite; }
.bb-float-slow { animation: bbFloat 8s ease-in-out infinite; }

/* ---------- Offer categories ---------- */
/* Compact "What we offer" section */
.bb-offer .bb-h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.bb-offer .bb-lead { font-size: 1rem; margin-top: 0.625rem !important; }
.bb-offer .bb-h3 { font-size: 1.375rem; margin-top: 0.625rem !important; }
.bb-offer .bb-slider-nav { margin-top: 1rem; }
.bb-catmini { display: flex; align-items: center; gap: 0.75rem; height: 100%; padding: 0.75rem 0.875rem; border-radius: 14px; color: inherit; }
.bb-catmini .bb-mono-tile { width: 40px; height: 40px; border-radius: 11px; }
.bb-catmini-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.bb-catmini-name { font-size: 0.9375rem; font-weight: 700; color: var(--bb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-catmini-count { font-size: 0.78125rem; color: var(--bb-muted); }
.bb-catmini-arrow { flex: none; color: var(--bb-soft); transition: color 0.2s ease, transform 0.2s var(--bb-ease); }
.bb-catmini:hover .bb-catmini-arrow { color: var(--bb-blue); transform: translateX(3px); }
@media (max-width: 575.98px) {
  .bb-catmini { gap: 0.5rem; padding: 0.625rem; }
  .bb-catmini .bb-mono-tile { width: 34px; height: 34px; border-radius: 9px; }
  .bb-catmini-name { font-size: 0.875rem; }
  .bb-catmini-arrow { display: none; }
}

.bb-category-gap > * + * { margin-top: 3.5rem; }
@media (min-width: 992px) { .bb-category-gap > * + * { margin-top: 4.5rem; } }

/* ---------- Development band (dark) ---------- */
.bb-dark { position: relative; overflow: hidden; background: var(--bb-ink); color: #fff; }
.bb-dark h2, .bb-dark h3 { color: #fff; }
.bb-dark .bb-lead, .bb-dark .bb-body { color: rgba(255, 255, 255, 0.66); }
.bb-dark .bb-grid-dark { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); }
.bb-dark .glow-a { right: -10%; top: -30%; width: 500px; height: 500px; background: rgba(19, 120, 255, 0.2); filter: blur(130px); }
.bb-dark .glow-b { left: -10%; bottom: -30%; width: 420px; height: 420px; background: rgba(124, 77, 255, 0.15); filter: blur(130px); }
.bb-dcard {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem;
  border-radius: var(--bb-radius-card); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
@media (min-width: 576px) { .bb-dcard { padding: 1.75rem; } }
.bb-dcard:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); }
.bb-dcard .bb-link { color: #fff; }
.bb-dcard .bb-link:hover { color: #b4d2ff; }
.bb-preview { width: 9rem; height: 76px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(13, 29, 53, 0.8); }
@media (min-width: 576px) { .bb-preview { width: 11rem; } }
.bb-preview .pb { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.bb-preview .bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.bb-preview .bars span { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255, 255, 255, 0.25); transition: background-color 0.3s ease; }
.bb-dcard:hover .bb-preview .bars span { background: rgba(124, 77, 255, 0.6); }
.bb-preview .node { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); font-family: var(--bb-mono); font-size: 9px; color: rgba(255, 255, 255, 0.7); }
.bb-preview .node.is-on { border-color: var(--bb-blue); background: rgba(19, 120, 255, 0.3); }
.bb-preview .wire { height: 1px; flex: 1; background: rgba(255, 255, 255, 0.3); }
.bb-stack-tag { display: inline-block; padding: 0.375rem 0.75rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); font-family: var(--bb-mono); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8); transition: border-color 0.2s ease, color 0.2s ease; }
.bb-stack-tag:hover { border-color: rgba(19, 120, 255, 0.6); color: #fff; }
.bb-dark-rule { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Steps ---------- */
.bb-steps { display: grid; gap: 2rem; }
@media (min-width: 576px) { .bb-steps { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; row-gap: 2.5rem; } }
@media (min-width: 992px) { .bb-steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.bb-step { position: relative; }
.bb-step-head { display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 992px) { .bb-step-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; } }
.bb-step-icon { position: relative; z-index: 2; display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--bb-border); background: #fff; color: var(--bb-ink); font-size: 1.35rem; box-shadow: var(--bb-shadow-card); }
.bb-step-num { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 6px; background: var(--bb-ink); color: #fff; font-family: var(--bb-mono); font-size: 11px; font-weight: 600; }
.bb-step p { margin-top: 0.5rem; padding-left: 68px; max-width: 20rem; }
@media (min-width: 992px) { .bb-step p { padding-left: 0; } }
.bb-step-rail { display: none; position: absolute; left: 68px; right: -12px; top: 27px; height: 1px; background: var(--bb-border); }
@media (min-width: 992px) { .bb-step-rail { display: block; } }
.bb-step-rail .fill { height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--bb-blue), var(--bb-violet)); transition: transform 0.7s var(--bb-ease); }
.is-visible .bb-step-rail .fill { transform: scaleX(1); }
.bb-step-rail .runner { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 2px; background: var(--bb-blue); box-shadow: 0 0 12px rgba(19, 120, 255, 0.8); opacity: 0; animation: bbTravel 3.6s ease-in-out infinite; }

/* ---------- Why ---------- */
.bb-why { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--bb-border); border-radius: var(--bb-radius-card); background: var(--bb-border); }
@media (min-width: 576px) { .bb-why { grid-template-columns: 1fr 1fr; } }
.bb-why li { background: #fff; padding: 1.5rem; transition: background-color 0.2s ease; }
@media (min-width: 576px) { .bb-why li { padding: 1.75rem; } }
.bb-why li:hover { background: var(--bb-bg); }
.bb-why i { display: inline-block; font-size: 1.5rem; color: var(--bb-blue); transition: transform 0.3s ease; }
.bb-why li:hover i { transform: translateY(-2px); }

/* ---------- Process timeline ---------- */
.bb-timeline { position: relative; }
.bb-timeline ol { position: relative; display: grid; gap: 2rem; }
@media (min-width: 992px) { .bb-timeline ol { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }
.bb-tl-line { position: absolute; border-radius: 2px; background: var(--bb-border); }
.bb-tl-line .fill { width: 100%; height: 100%; border-radius: 2px; transition: transform 1.8s var(--bb-ease) 0.15s; }
.bb-tl-line.is-h { display: none; left: 20px; right: calc((100% - 100px) / 6 - 20px); top: 19px; height: 2px; }
.bb-tl-line.is-h .fill { background: linear-gradient(90deg, var(--bb-blue), var(--bb-blue) 60%, var(--bb-violet)); transform: scaleX(0); transform-origin: left; }
.bb-tl-line.is-v { left: 19px; top: 8px; bottom: 24px; width: 2px; }
.bb-tl-line.is-v .fill { background: linear-gradient(180deg, var(--bb-blue), var(--bb-violet)); transform: scaleY(0); transform-origin: top; }
@media (min-width: 992px) { .bb-tl-line.is-h { display: block; } .bb-tl-line.is-v { display: none; } }
.is-visible .bb-tl-line .fill { transform: none; }
.bb-tl-item { display: flex; gap: 1.25rem; }
@media (min-width: 992px) { .bb-tl-item { display: block; } .bb-tl-item h3 { margin-top: 1.25rem; } }
.bb-tl-node { position: relative; z-index: 2; display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--bb-blue); background: #fff; box-shadow: 0 0 0 6px var(--bb-bg); font-family: var(--bb-mono); font-size: 0.8125rem; font-weight: 700; color: var(--bb-ink); opacity: 0; transform: scale(0.7); transition: opacity 0.4s ease, transform 0.4s ease; }
.bb-white .bb-tl-node { box-shadow: 0 0 0 6px #fff; }
.is-visible .bb-tl-node { opacity: 1; transform: none; }

/* ---------- Portfolio ---------- */
.bb-pf-media { position: relative; height: 200px; overflow: hidden; border-bottom: 1px solid var(--bb-border); background-color: var(--bb-bg); border-radius: var(--bb-radius-card) var(--bb-radius-card) 0 0; }
.bb-pf-frame { position: absolute; left: 24px; right: 24px; top: 24px; bottom: 0; padding: 16px; border: 1px solid var(--bb-border); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; box-shadow: var(--bb-shadow-card); transition: transform 0.5s var(--bb-ease); }
.bb-pf-card:hover .bb-pf-frame { transform: translateY(-6px); }
.bb-pf-frame.is-narrow { right: 96px; }
.bb-pf-phone { position: absolute; bottom: 0; width: 96px; padding: 8px; border: 3px solid var(--bb-ink); border-bottom: 0; border-radius: 18px 18px 0 0; background: #fff; transition: transform 0.5s var(--bb-ease); }
.bb-pf-card:hover .bb-pf-phone { transform: translateY(-10px); }
.bb-ln { display: block; height: 6px; border-radius: 3px; background: var(--bb-border); }
.bb-ln.ink { background: rgba(8, 20, 38, 0.75); }
.bb-ln.mid { background: rgba(8, 20, 38, 0.45); }
.bb-ln.blue { background: var(--bb-blue); }
.bb-ln.bluesoft { background: rgba(19, 120, 255, 0.55); }
.bb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.bb-cal span { height: 20px; border-radius: 5px; border: 1px solid var(--bb-border); background: var(--bb-bg); }
.bb-cal span.on { border: 0; background: var(--bb-blue); }
.bb-cal span.on2 { border: 0; background: rgba(124, 77, 255, 0.7); }
.bb-pf-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.8125rem; }
.bb-pf-meta dt { font-weight: 400; color: var(--bb-muted); }
.bb-pf-meta dd { margin: 0; font-weight: 700; color: var(--bb-ink); }

/* ---------- Accordion (Bootstrap) ---------- */
.bb-accordion {
  --bs-accordion-border-color: var(--bb-border);
  --bs-accordion-border-radius: var(--bb-radius-card);
  --bs-accordion-inner-border-radius: calc(var(--bb-radius-card) - 1px);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: #f6f9ff;
  --bs-accordion-active-color: var(--bb-ink);
  --bs-accordion-btn-color: var(--bb-ink);
  --bs-accordion-btn-padding-x: 1.75rem;
  --bs-accordion-btn-padding-y: 1.25rem;
  --bs-accordion-body-padding-x: 1.75rem;
  --bs-accordion-body-padding-y: 0;
  overflow: hidden; border-radius: var(--bb-radius-card); box-shadow: var(--bb-shadow-card); background: #fff;
}
@media (max-width: 575.98px) {
  .bb-accordion { --bs-accordion-btn-padding-x: 1.25rem; --bs-accordion-body-padding-x: 1.25rem; }
}
.bb-accordion .accordion-button { gap: 1.5rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
@media (max-width: 575.98px) { .bb-accordion .accordion-button { font-size: 1rem; } }
.bb-accordion .accordion-button::after { display: none; }
.bb-accordion .accordion-button .bb-acc-icon { margin-left: auto; display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--bb-border); color: var(--bb-ink); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.bb-accordion .accordion-button .bb-acc-icon i { transition: transform 0.3s ease; }
.bb-accordion .accordion-button:not(.collapsed) { box-shadow: none; }
.bb-accordion .accordion-button:not(.collapsed) .bb-acc-icon { background: var(--bb-blue); border-color: var(--bb-blue); color: #fff; }
.bb-accordion .accordion-button:not(.collapsed) .bb-acc-icon i { transform: rotate(45deg); }
.bb-accordion .accordion-body { padding-bottom: 1.5rem; max-width: 48rem; font-size: 0.96875rem; line-height: 1.75; color: var(--bb-muted); }
.bb-accordion .accordion-collapse.show, .bb-accordion .accordion-collapse.collapsing { background: #f6f9ff; }

.bb-policy-links a { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; padding: 0.5rem 0; border-bottom: 1px solid var(--bb-border); font-size: 0.9375rem; font-weight: 600; color: var(--bb-ink); }
.bb-policy-links li:last-child a { border-bottom: 0; }
.bb-policy-links a:hover { color: var(--bb-blue); }
.bb-policy-links a i:first-child { color: var(--bb-muted); }
.bb-policy-links a:hover i:first-child { color: var(--bb-blue); }
.bb-policy-links a .bi-arrow-up-right { margin-left: auto; opacity: 0.4; transition: opacity 0.2s ease; }
.bb-policy-links a:hover .bi-arrow-up-right { opacity: 1; }

/* ---------- Contact ---------- */
.bb-contact-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--bb-border); border-radius: 16px; background: #fff; box-shadow: var(--bb-shadow-card); transition: border-color 0.2s ease, box-shadow 0.2s ease; color: var(--bb-ink); }
.bb-contact-card:hover { color: var(--bb-ink); border-color: rgba(19, 120, 255, 0.3); box-shadow: var(--bb-shadow-lift); }
.bb-contact-card .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--bb-ink); color: #fff; font-size: 1.25rem; transition: background-color 0.2s ease; }
.bb-contact-card:hover .ic.is-dark { background: var(--bb-blue); }
.bb-contact-card .ic.is-light { background: var(--bb-bg); border: 1px solid var(--bb-border); color: var(--bb-ink); }
.bb-contact-card small { display: block; font-size: 0.8125rem; color: var(--bb-muted); }
.bb-contact-card strong { display: block; font-size: 1.0625rem; font-weight: 700; }
.bb-alert-success { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1.25rem; border-radius: 14px; border: 1px solid rgba(19, 120, 255, 0.25); background: var(--bb-blue-50); }
.bb-alert-success i { font-size: 1.5rem; color: var(--bb-blue); line-height: 1; }
.bb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */
.bb-cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--bb-ink); color: #fff; padding: 3rem 1.5rem; }
@media (min-width: 576px) { .bb-cta { padding: 3.5rem 3rem; } }
.bb-cta .bb-grid-dark { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%); }
.bb-cta .glow-a { right: -5rem; top: -5rem; width: 16rem; height: 16rem; background: rgba(19, 120, 255, 0.3); filter: blur(90px); }
.bb-cta h2 { color: #fff; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.125rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.bb-cta p { color: rgba(255, 255, 255, 0.66); font-size: 1.03rem; line-height: 1.7; margin-top: 0.75rem; }
.bb-cta-bytes { position: absolute; right: 2.5rem; top: 50%; transform: translateY(-50%); display: none; grid-template-columns: repeat(6, 12px); gap: 6px; }
@media (min-width: 768px) { .bb-cta-bytes { display: grid; } }
.bb-cta-bytes span { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); animation: bbByte 3.2s ease-in-out infinite; }

/* ---------- Page hero / breadcrumbs ---------- */
.bb-page-hero { position: relative; overflow: hidden; margin-top: calc(var(--bb-header-h) * -1); padding-top: var(--bb-header-h); border-bottom: 1px solid var(--bb-border); }
.bb-page-hero .bb-dots { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.bb-page-hero .glow-a { right: -5%; top: -40%; width: 420px; height: 420px; background: rgba(19, 120, 255, 0.08); filter: blur(100px); }
.bb-page-hero-inner { position: relative; padding-top: 2rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .bb-page-hero-inner { padding-top: 3rem; padding-bottom: 4rem; } }
.bb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; font-size: 0.84375rem; font-weight: 500; color: var(--bb-muted); }
.bb-crumbs a { color: var(--bb-muted); }
.bb-crumbs a:hover { color: var(--bb-ink); }
.bb-crumbs i { font-size: 0.7rem; color: var(--bb-soft); }
.bb-crumbs [aria-current] { color: var(--bb-ink); }
.bb-stat-card dt { font-size: 0.8125rem; font-weight: 500; color: var(--bb-muted); }
.bb-stat-card dd { margin: 0.25rem 0 0; font-size: 1.5rem; font-weight: 800; color: var(--bb-ink); }

/* Detail pages */
.bb-spec-table > div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 0.875rem 1.25rem; border-top: 1px solid var(--bb-border); }
@media (min-width: 576px) { .bb-spec-table > div { grid-template-columns: 220px 1fr; padding: 0.875rem 1.5rem; } }
.bb-spec-table dt { font-weight: 400; font-size: 0.9375rem; color: var(--bb-muted); }
.bb-spec-table dd { margin: 0; text-align: right; font-size: 0.9375rem; font-weight: 700; color: var(--bb-ink); font-variant-numeric: tabular-nums; }
@media (min-width: 576px) { .bb-spec-table dd { text-align: left; } }
.bb-checklist li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; }
.bb-checklist li + li { margin-top: 0.75rem; }
.bb-check { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: var(--bb-blue-50); color: var(--bb-blue); font-size: 0.875rem; }
.bb-note { border: 1px solid var(--bb-border); border-radius: var(--bb-radius-card); background: var(--bb-bg); padding: 1.25rem 1.5rem; }
.bb-info-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; border: 1px solid var(--bb-border); border-radius: 12px; background: var(--bb-bg); }
.bb-info-row i { font-size: 1.25rem; color: var(--bb-blue); }
.bb-order-steps li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--bb-muted); }
.bb-order-steps li + li { margin-top: 0.75rem; }
.bb-order-steps .n { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; background: var(--bb-ink); color: #fff; font-family: var(--bb-mono); font-size: 11px; font-weight: 600; }
.bb-big-price { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--bb-ink); }

/* Policies */
.bb-toc a { display: block; margin-left: -1px; padding: 0.375rem 0 0.375rem 1rem; border-left: 1px solid transparent; font-size: 0.875rem; color: var(--bb-muted); }
.bb-toc a:hover { color: var(--bb-ink); border-left-color: var(--bb-blue); }
.bb-toc ol { border-left: 1px solid var(--bb-border); }
.bb-prose h2 { margin: 2.5rem 0 0.75rem; font-size: 1.25rem; font-weight: 700; }
.bb-prose p, .bb-prose li { font-size: 1rem; line-height: 1.75; color: var(--bb-muted); }
.bb-prose p + p { margin-top: 0.75rem; }
.bb-prose ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.bb-prose li + li { margin-top: 0.375rem; }
.bb-prose a { font-weight: 600; }
.bb-prose section { scroll-margin-top: 110px; }

/* ---------- Footer ---------- */
.bb-footer { position: relative; overflow: hidden; background: var(--bb-ink); color: #fff; }
.bb-footer .bb-grid-dark { position: absolute; inset: 0; opacity: 0.6; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.bb-footer .glow-a { left: 50%; top: -10rem; width: 720px; height: 20rem; transform: translateX(-50%); background: rgba(19, 120, 255, 0.15); filter: blur(120px); }
.bb-footer h2 { font-size: 0.8125rem; font-weight: 700; color: #fff; }
.bb-footer p { color: rgba(255, 255, 255, 0.6); }
.bb-footer-links li + li { margin-top: 0.625rem; }
.bb-footer-links a { font-size: 0.90625rem; color: rgba(255, 255, 255, 0.6); transition: color 0.2s ease; }
.bb-footer-links a:hover { color: #fff; }
.bb-footer-contact a { display: flex; align-items: center; gap: 0.625rem; color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; }
.bb-footer-contact a:hover { color: #fff; }
.bb-footer-contact a + a { margin-top: 0.75rem; }
.bb-footer-contact .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); font-size: 0.9rem; }
.bb-footer-contact .ic.txt { font-size: 10.5px; font-weight: 700; }
.bb-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.45); }

/* ---------- Motion ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(14px); filter: blur(4px);
  transition: opacity 0.7s var(--bb-ease), transform 0.7s var(--bb-ease), filter 0.7s var(--bb-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

.bb-assemble { opacity: 0; animation: bbAssemble 0.9s var(--bb-ease) forwards; animation-delay: var(--d, 0ms); }

@keyframes bbAssemble { from { opacity: 0; transform: translateY(18px) scale(0.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bbBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes bbScan { from { transform: translateY(-100%); } to { transform: translateY(400%); } }
@keyframes bbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bbDash { to { stroke-dashoffset: -24; } }
@keyframes bbDraw { to { stroke-dashoffset: 0; } }
@keyframes bbType { to { clip-path: inset(0 0 0 0); } }
@keyframes bbByte {
  0%, 34%, 66%, 100% { background-color: rgba(255, 255, 255, 0.06); box-shadow: none; }
  44%, 54% { background-color: var(--bb-blue); box-shadow: 0 0 12px rgba(19, 120, 255, 0.6); }
}
@keyframes bbTravel { 0% { left: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .bb-assemble { opacity: 1; transform: none; filter: none; }
  .bb-type { clip-path: none; }
}

/* ---------- Small utilities ---------- */
.min-w-0 { min-width: 0; }
.bb-checklist.is-grid li + li { margin-top: 0; }

/* Sticky side columns (declared last so it wins over .bb-card's position) */
@media (min-width: 992px) {
  .bb-sticky { position: sticky !important; top: calc(var(--bb-header-h) + 32px); align-self: flex-start; }
  .bb-sticky.is-tight { top: calc(var(--bb-header-h) + 24px); }
}

/* ==========================================================================
   Shop: header actions, cart drawer, listing, checkout, account
   ========================================================================== */
.bb-eyebrow { font-family: var(--bb-mono); font-size: 0.78125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bb-blue); }
.bb-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-per { font-size: 0.8125rem; font-weight: 600; color: var(--bb-muted); }
.bb-tag-soft { display: inline-block; padding: 0.1875rem 0.5rem; border-radius: 6px; background: var(--bb-blue-50); color: var(--bb-blue-600); font-size: 0.75rem; font-weight: 600; }
.bb-mono-tile.is-img { background: #fff; border: 1px solid var(--bb-border); overflow: hidden; }
.bb-mono-tile.is-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.bb-mono-tile.is-img::after { display: none; }
.bb-mono-tile i { font-size: 1.05em; }
.bb-note:has(> i) { display: flex; gap: 0.75rem; align-items: flex-start; }
.bb-note > i { font-size: 1.15rem; line-height: 1.4; color: var(--bb-blue); }
.bb-note > p { font-size: 0.9rem; color: var(--bb-text); }
.bb-card-link { color: inherit; transition: transform 0.25s var(--bb-ease), box-shadow 0.25s ease, border-color 0.25s ease; }
.bb-card-link:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--bb-shadow-lift); border-color: rgba(19, 120, 255, 0.3); }

/* Header icon buttons + cart badge */
.bb-icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 12px; border: 1px solid var(--bb-border); background: #fff; color: var(--bb-ink); font-size: 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.bb-icon-btn:hover { color: var(--bb-ink); border-color: rgba(8, 20, 38, 0.25); box-shadow: var(--bb-shadow-card); }
.bb-icon-btn:active { transform: translateY(1px); }
.bb-btn-icon { padding: 0 0.75rem; min-width: 40px; }
.bb-cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px; border: 2px solid #fff;
  background: var(--bb-blue); color: #fff; font-size: 0.6875rem; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums; animation: bb-pop 0.35s var(--bb-ease);
}
.bb-cart-count[hidden] { display: none; }
@keyframes bb-pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Cart drawer */
.bb-cart.offcanvas-end { width: min(420px, 100vw); border-left: 1px solid var(--bb-border); }
.bb-cart .offcanvas-header { padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--bb-border); align-items: center; }
.bb-cart .offcanvas-header .bb-menu-btn { width: 40px; height: 40px; font-size: 1rem; }
.bb-cart .offcanvas-body { padding: 0.5rem 1.25rem; }
.bb-cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3.5rem 0.5rem; }
.bb-cart-empty[hidden] { display: none; }
.bb-cart-item { display: grid; grid-template-columns: auto 1fr auto; gap: 0.875rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--bb-border); animation: bb-in 0.35s var(--bb-ease); }
.bb-cart-item:last-child { border-bottom: 0; }
.bb-cart-info { min-width: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.bb-cart-title { font-weight: 700; color: var(--bb-ink); font-size: 0.9375rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-cart-title:hover { color: var(--bb-blue); }
.bb-cart-remove { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--bb-soft); transition: color 0.2s ease, background-color 0.2s ease; }
.bb-cart-remove:hover { color: #dc2626; background: #fef2f2; }
.bb-cart-foot { padding: 1.25rem; border-top: 1px solid var(--bb-border); background: #fff; box-shadow: 0 -12px 24px -20px rgba(8, 20, 38, 0.25); }
.bb-cart-foot[hidden] { display: none; }
.bb-cart-total { font-size: 1.375rem; font-weight: 800; color: var(--bb-ink); letter-spacing: -0.02em; }
@keyframes bb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Quantity stepper */
.bb-qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--bb-border-strong); border-radius: 10px; background: #fff; overflow: hidden; }
.bb-qty button { width: 32px; height: 100%; border: 0; background: none; color: var(--bb-ink); display: grid; place-items: center; transition: background-color 0.2s ease; }
.bb-qty button:hover { background: var(--bb-bg); }
.bb-qty input { width: 46px; height: 100%; border: 0; border-left: 1px solid var(--bb-border); border-right: 1px solid var(--bb-border); text-align: center; font-weight: 700; font-size: 0.875rem; color: var(--bb-ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.bb-qty input::-webkit-outer-spin-button, .bb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bb-qty input:focus { outline: none; background: var(--bb-blue-50); }
.bb-qty-lg { display: flex; height: 48px; border-radius: 12px; }
.bb-qty-lg button { width: 48px; font-size: 1.1rem; }
.bb-qty-lg input { flex: 1; width: auto; font-size: 1rem; }

/* Toasts */
.bb-toast-wrap { position: fixed; z-index: 1090; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; pointer-events: none; }
@media (min-width: 576px) { .bb-toast-wrap { left: auto; right: 24px; bottom: 24px; align-items: flex-end; } }
.bb-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 0.75rem; max-width: 380px; width: 100%;
  padding: 0.875rem 1rem; border-radius: 14px; background: var(--bb-ink); color: #fff; font-size: 0.875rem; line-height: 1.4;
  box-shadow: 0 18px 40px -12px rgba(8, 20, 38, 0.5); opacity: 0; transform: translateY(12px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s var(--bb-ease);
}
.bb-toast.is-in { opacity: 1; transform: none; }
.bb-toast > i { font-size: 1.25rem; color: #7fb5ff; }
.bb-toast span { flex: 1; min-width: 0; }
.bb-toast-link { border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 700; font-size: 0.8125rem; padding: 0.375rem 0.625rem; border-radius: 8px; white-space: nowrap; }
.bb-toast-link:hover { background: rgba(255, 255, 255, 0.18); }

/* Listing: tabs with counts, search, pager */
.bb-tabs a { gap: 0.5rem; }
.bb-tabs a i { font-size: 0.95rem; }
.bb-tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bb-bg); color: var(--bb-muted); font-size: 0.6875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bb-tabs a.is-active .bb-tab-count { background: rgba(255, 255, 255, 0.14); color: #fff; }
.bb-search { position: relative; display: block; }
.bb-search > i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--bb-soft); pointer-events: none; }
.bb-search .bb-input { padding-left: 2.5rem; }
.bb-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; }
.bb-pager a, .bb-pager span { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: 10px; border: 1px solid var(--bb-border); background: #fff; font-size: 0.875rem; font-weight: 600; color: var(--bb-ink); font-variant-numeric: tabular-nums; }
.bb-pager span span, .bb-pager a span { border: 0; padding: 0; min-width: 0; height: auto; background: none; }
.bb-pager a:hover { border-color: rgba(8, 20, 38, 0.25); color: var(--bb-ink); }
.bb-pager .is-current { background: var(--bb-ink); border-color: var(--bb-ink); color: #fff; }
.bb-pager .is-disabled { color: var(--bb-soft); background: var(--bb-bg); }
.bb-coin { padding: 0.25rem 0.5rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); font-family: var(--bb-mono); font-size: 0.75rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); }

/* Buttons: added state + loading */
.bb-btn.is-added { background: #0f9d58; border-color: #0f9d58; color: #fff; }
.bb-btn.is-loading { pointer-events: none; opacity: 0.8; }
.bb-btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: bb-spin 0.7s linear infinite; }
.is-loading.bb-card { opacity: 0.6; pointer-events: none; transition: opacity 0.2s ease; }
@keyframes bb-spin { to { transform: rotate(360deg); } }

/* Forms */
.bb-alert-error { display: flex; gap: 0.625rem; align-items: flex-start; padding: 0.875rem 1rem; border-radius: 12px; border: 1px solid #fecaca; background: #fef2f2; color: #b91c1c; font-size: 0.875rem; font-weight: 500; }
.bb-alert-error[hidden] { display: none; }
.form-check-input { width: 1.125rem; height: 1.125rem; margin-top: 0.15rem; border-color: var(--bb-border-strong); cursor: pointer; }
.form-check-input:checked { background-color: var(--bb-blue); border-color: var(--bb-blue); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(19, 120, 255, 0.15); border-color: var(--bb-blue); }
.form-check-input.is-invalid { border-color: #dc2626; }
.form-check-label { cursor: pointer; }

/* Checkout */
.bb-checkout-hero { padding-bottom: 2.5rem; }
.bb-steps-mini { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bb-steps-mini li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem 0.375rem 0.375rem; border-radius: 999px; border: 1px solid var(--bb-border); background: #fff; font-size: 0.8125rem; font-weight: 600; color: var(--bb-muted); }
.bb-steps-mini li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--bb-bg); font-size: 0.6875rem; font-weight: 800; }
.bb-steps-mini li.is-current { border-color: rgba(19, 120, 255, 0.35); color: var(--bb-ink); }
.bb-steps-mini li.is-current span { background: var(--bb-blue); color: #fff; }
.bb-steps-mini li.is-done { color: var(--bb-ink); }
.bb-steps-mini li.is-done span { background: var(--bb-ink); color: #fff; font-size: 0; }
.bb-steps-mini li.is-done span::before { content: "\F26E"; font-family: "bootstrap-icons"; font-size: 0.8125rem; }
.bb-co-head { display: flex; align-items: center; gap: 0.875rem; padding: 1.25rem 1.5rem; }
.bb-co-head .bb-icon-tile { width: 40px; height: 40px; font-size: 1.05rem; }
.bb-co-items { border-top: 1px solid var(--bb-border); }
.bb-co-item { display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "thumb info line remove" "thumb qty qty qty"; gap: 0.5rem 0.875rem; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--bb-border); }
.bb-co-item > .bb-mono-tile { grid-area: thumb; align-self: start; }
.bb-co-info { grid-area: info; min-width: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.bb-co-item .bb-qty { grid-area: qty; justify-self: start; }
.bb-co-line { grid-area: line; font-size: 0.9375rem; color: var(--bb-ink); }
.bb-co-item .bb-cart-remove { grid-area: remove; }
@media (min-width: 576px) {
  .bb-co-item { grid-template-columns: auto 1fr auto 6.5rem auto; grid-template-areas: "thumb info qty line remove"; }
  .bb-co-line { text-align: right; }
}
.bb-co-coupon { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--bb-border); background: #fcfdfe; }
.bb-co-coupon .bb-btn { flex-shrink: 0; }
.bb-co-coupon [data-coupon-msg].is-ok { color: #0f9d58; font-weight: 600; }
.bb-co-coupon [data-coupon-msg].is-error { color: #dc2626; font-weight: 600; }
.bb-co-totals { margin: 0; padding: 1.25rem 1.5rem; display: grid; gap: 0.5rem; }
.bb-co-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bb-co-totals > div[hidden] { display: none; }
.bb-co-totals dt { font-weight: 500; color: var(--bb-muted); font-size: 0.9375rem; }
.bb-co-totals dd { margin: 0; font-weight: 700; color: var(--bb-ink); }
.bb-co-totals .is-total { margin-top: 0.375rem; padding-top: 0.875rem; border-top: 1px dashed var(--bb-border-strong); }
.bb-co-totals .is-total dt { color: var(--bb-ink); font-weight: 700; }
.bb-co-totals .is-total dd { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }

/* Compact checkout header */
.bb-checkout-hero .bb-page-hero-inner { padding-top: 1rem; padding-bottom: 1.25rem; }
@media (min-width: 768px) { .bb-checkout-hero .bb-page-hero-inner { padding-top: 1.25rem; padding-bottom: 1.5rem; } }
.bb-checkout-title { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--bb-ink); line-height: 1.15; }
.bb-checkout.bb-section-sm { padding-top: 1.5rem; }
@media (min-width: 768px) { .bb-checkout.bb-section-sm { padding-top: 2rem; } }

/* Dedicated QR block */
.bb-pay-qrbox { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem; border-radius: 12px; background: #fff; border: 1px solid var(--bb-border); }
.bb-pay-qrbox[hidden] { display: none; }
.bb-pay-qrbox .bb-pay-qr { width: 168px; height: 168px; padding: 0; border: 0; border-radius: 8px; }
.bb-pay-qrbox figcaption { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 600; color: var(--bb-muted); }
.bb-pay-amount strong.is-pending { font-family: inherit; font-size: 1rem; color: var(--bb-muted); }

/* No gateway configured */
.bb-pay-empty { text-align: center; padding: 1.5rem 1.25rem; border: 1px dashed var(--bb-border-strong); border-radius: 14px; background: var(--bb-bg); }
.bb-pay-empty-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #229ed9; color: #fff; font-size: 1.25rem; box-shadow: 0 8px 18px -10px #229ed9; }
.bb-pay-empty-title { margin: 0.875rem 0 0.25rem; font-size: 1rem; font-weight: 700; color: var(--bb-ink); }
.bb-pay-empty .bb-btn { background: #229ed9; }
.bb-pay-empty .bb-btn:hover { background: #1b8bc0; }

/* Payment steps: 1 coin → 2 send → 3 confirm */
.bb-paystep + .bb-paystep, [data-pay-panel] .bb-paystep:first-child { margin-top: 1.375rem; }
.bb-paystep-head { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font-size: 0.875rem; font-weight: 700; color: var(--bb-ink); }
.bb-paystep-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bb-ink); color: #fff; font-size: 0.75rem; font-weight: 700; }

/* ---------- Checkout page (single screen: contact + order | payment + summary) ---------- */
.bb-co-page {
  padding: 1.25rem 0 3rem;
  background:
    radial-gradient(40rem 22rem at 100% 0%, rgba(19, 120, 255, 0.08), transparent 70%),
    radial-gradient(34rem 20rem at 0% 100%, rgba(124, 77, 255, 0.06), transparent 70%),
    #f6f8fc;
}
@media (min-width: 992px) { .bb-co-page { padding: 1.75rem 0 4rem; } }
.bb-co-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.bb-co-h1 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bb-ink); }
.bb-co-secure { display: inline-flex; align-items: center; gap: 0.3125rem; padding: 0.1875rem 0.625rem; border-radius: 999px; background: #e7f6ee; border: 1px solid #bfe7d0; color: #0f7a45; font-size: 0.75rem; font-weight: 700; }
.bb-co-sub { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--bb-text); }
@media (max-width: 575.98px) { .bb-co-top .bb-btn { display: none; } }

.bb-co-card { padding: 1.125rem; border-radius: 16px; box-shadow: 0 1px 2px rgba(8, 20, 38, 0.04), 0 12px 32px -24px rgba(8, 20, 38, 0.25); }
@media (min-width: 576px) { .bb-co-card { padding: 1.375rem; } }
.bb-co-card.is-flush { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.bb-co-card.is-flush > .bb-co-cardhead { padding: 0 1.125rem; }
@media (min-width: 576px) { .bb-co-card.is-flush > .bb-co-cardhead { padding: 0 1.375rem; } }
.bb-co-cardhead { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.bb-co-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bb-blue-50); color: var(--bb-blue); font-size: 1rem; }
.bb-co-title { margin: 0; font-size: 1rem; font-weight: 700; color: var(--bb-ink); }
.bb-co-hint { margin: 0.125rem 0 0; font-size: 0.8125rem; color: var(--bb-text); }
.bb-co-badge { padding: 0.125rem 0.5rem; border-radius: 6px; background: var(--bb-blue-50); color: var(--bb-blue-600); font-size: 0.75rem; font-weight: 700; }
.bb-req { color: #e5484d; }
.bb-co-more { margin-top: 0.875rem; }
.bb-co-more summary { display: inline-flex; align-items: center; gap: 0.375rem; cursor: pointer; list-style: none; font-size: 0.8125rem; font-weight: 600; color: var(--bb-blue-600); }
.bb-co-more summary::-webkit-details-marker { display: none; }
.bb-co-more[open] summary i { transform: rotate(45deg); }
.bb-co-more summary i { transition: transform 0.2s ease; }
.bb-co-page .bb-co-items { border-top: 1px solid var(--bb-border); }
.bb-co-page .bb-co-item { padding: 0.875rem 1.125rem; }
@media (min-width: 576px) { .bb-co-page .bb-co-item { padding: 0.875rem 1.375rem; } }
.bb-co-foot { padding: 0.25rem 1.125rem 1.125rem; }
@media (min-width: 576px) { .bb-co-foot { padding: 0.25rem 1.375rem 1.375rem; } }
.bb-co-sum { margin: 0.875rem 0 0; display: grid; gap: 0.5rem; }
.bb-co-sum > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bb-co-sum dt { font-size: 0.875rem; font-weight: 500; color: var(--bb-text); }
.bb-co-sum dd { margin: 0; font-size: 0.9375rem; font-weight: 700; color: var(--bb-ink); }
.bb-co-sum .is-total { margin-top: 0.25rem; padding-top: 0.75rem; border-top: 1px dashed var(--bb-border-strong); }
.bb-co-sum .is-total dt { font-weight: 700; color: var(--bb-ink); }
.bb-co-sum .is-total dd { font-size: 1.25rem; font-weight: 800; color: var(--bb-blue-600); }
.bb-co-sum.is-compact { margin: 0; }
.bb-co-sum .is-due dd { font-size: 1.0625rem; color: #0f7a45; font-family: var(--bb-mono); overflow-wrap: anywhere; text-align: right; }

/* Order table: Product | Price | Qty | Total | × */
.bb-ot-head, .bb-ot-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px 96px 84px 28px; align-items: center; column-gap: 0.75rem; }
.bb-ot-head { padding: 0.5rem 1.375rem; border-top: 1px solid var(--bb-border); border-bottom: 1px solid var(--bb-border); background: #fafbfd; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bb-text); }
.bb-ot-head span:nth-child(n+2), .bb-ot-price, .bb-ot-total { text-align: right; }
.bb-ot-head span:nth-child(3) { text-align: center; }
.bb-ot { margin: 0; padding: 0; list-style: none; }
.bb-ot-row { padding: 0.75rem 1.375rem; border-bottom: 1px solid var(--bb-border); }
.bb-ot-prod { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.bb-ot-thumb { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--bb-border); background: #fff; overflow: hidden; }
.bb-ot-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.bb-ot-thumb.is-icon { background: var(--bb-ink); border-color: var(--bb-ink); color: #fff; font-size: 0.875rem; }
.bb-ot-name { min-width: 0; font-size: 0.875rem; font-weight: 600; color: var(--bb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ot-name:hover { color: var(--bb-blue); }
.bb-ot-price { font-size: 0.875rem; color: var(--bb-text); }
.bb-ot-total { font-size: 0.9375rem; font-weight: 700; color: var(--bb-ink); }
.bb-ot-qty { justify-self: center; display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--bb-border-strong); border-radius: 8px; overflow: hidden; background: #fff; }
.bb-ot-qty button { width: 28px; height: 100%; border: 0; background: none; color: var(--bb-ink); display: grid; place-items: center; font-size: 0.8125rem; }
.bb-ot-qty button:hover:not(:disabled) { background: var(--bb-bg); }
.bb-ot-qty button:disabled { color: var(--bb-border-strong); }
.bb-ot-qty input { width: 32px; height: 100%; border: 0; text-align: center; font-size: 0.8125rem; font-weight: 700; color: var(--bb-ink); -moz-appearance: textfield; }
.bb-ot-qty input::-webkit-outer-spin-button, .bb-ot-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bb-ot-remove { justify-self: end; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: var(--bb-soft); font-size: 0.75rem; transition: background-color 0.2s ease, color 0.2s ease; }
.bb-ot-remove:hover { background: #fdecec; color: #d93036; }
/* Phones: product on top, then price × qty on the left and total on the right */
@media (max-width: 575.98px) {
  .bb-ot-head { display: none; }
  .bb-ot { border-top: 1px solid var(--bb-border); }
  .bb-ot-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "prod prod remove" "qty price total"; row-gap: 0.5rem; padding: 0.75rem 1.125rem; }
  .bb-ot-prod { grid-area: prod; }
  .bb-ot-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
  .bb-ot-remove { grid-area: remove; align-self: start; }
  .bb-ot-qty { grid-area: qty; justify-self: start; margin-left: 46px; }
  .bb-ot-price { grid-area: price; text-align: left; font-size: 0.8125rem; }
  .bb-ot-price::before { content: "× "; }
  .bb-ot-total { grid-area: total; }
}

/* Payment details panel */
.bb-paybox { margin-top: 0.875rem; padding: 0.875rem; border-radius: 14px; background: #f6f8fc; border: 1px solid var(--bb-border); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.875rem; animation: bb-in 0.35s var(--bb-ease); }
.bb-paybox[hidden] { display: none; }
.bb-paybox > * { min-width: 0; }
.bb-paybox-label { display: block; margin-bottom: 0.3125rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bb-text); }
.bb-paybox-amount { padding: 0.75rem 0.875rem; border-radius: 12px; background: #fff; border: 1px solid var(--bb-border); }
.bb-paybox-amount .bb-paybox-label { color: var(--bb-blue-600); }
.bb-paybox-amountrow { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
.bb-paybox-amountrow strong { flex: 1; min-width: 0; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bb-ink); overflow-wrap: anywhere; line-height: 1.25; }
.bb-paybox-amountrow strong.is-pending { font-size: 1rem; font-weight: 700; }
.bb-paybox-usd { flex: none; font-size: 0.8125rem; font-weight: 600; color: var(--bb-text); }
.bb-paybox-qr { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.bb-paybox-qr[hidden] { display: none; }
.bb-paybox-qr .bb-pay-qr { width: 156px; height: 156px; padding: 8px; border: 1px solid var(--bb-border); border-radius: 12px; background: #fff; }
.bb-paybox-qr span { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; font-weight: 700; color: var(--bb-blue-600); }
.bb-paybox-addr { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.375rem 0.375rem 0.75rem; border-radius: 10px; background: #fff; border: 1px solid var(--bb-border); min-width: 0; }
.bb-paybox-addr .bb-pay-address {
  flex: 1; min-width: 0; margin: 0; padding: 0; border: 0; background: none;
  font-family: var(--bb-mono); font-size: 0.8125rem; font-weight: 600; color: var(--bb-ink);
  white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.bb-paybox-addr .bb-pay-address::-webkit-scrollbar { display: none; }
.bb-paybox-addr .bb-pay-address.is-empty { font-family: inherit; font-weight: 500; white-space: normal; color: var(--bb-text); }
.bb-copy-btn.is-icon { width: 30px; height: 30px; padding: 0; justify-content: center; }
.bb-paybox .bb-pay-warn { margin: 0; }
.bb-paybox .bb-pay-fields .bb-pay-field + .bb-pay-field { margin-top: 0.625rem; }
.bb-paybox .bb-label { font-size: 0.8125rem; }
.bb-paybox .bb-input { background: #fff; }
.bb-co-summary .bb-btn-lg { gap: 0.5rem; }
/* Total + Pay box: a normal card under the payment details (not pinned). */
@media (max-width: 991.98px) { .bb-co-summary { padding: 0.875rem 1rem; } }
@media (max-width: 575.98px) {
  .bb-co-summary .bb-co-sum { gap: 0.25rem; }
  .bb-co-summary .bb-co-sum dt { white-space: nowrap; font-size: 0.8125rem; }
  .bb-co-summary .bb-co-sum .is-due dd { font-size: 0.8125rem; }
  .bb-co-summary .form-check { margin-top: 0.5rem !important; }
  .bb-co-summary .bb-btn-lg { margin-top: 0.625rem !important; height: 48px; font-size: 0.9375rem; }
}

/* Coin picker: compact chips (logo · name · check), 2 per row */
.bb-gateways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.bb-gateway {
  position: relative; display: flex; align-items: center; gap: 0.625rem; min-width: 0; min-height: 56px;
  padding: 0.5rem 0.75rem; border: 1.5px solid var(--bb-border); border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.bb-gateway-check { flex: none; margin-left: auto; font-size: 1.05rem; color: var(--coin, var(--bb-blue)); opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.2s var(--bb-ease); }
.bb-gateway:has(input:checked) .bb-gateway-check { opacity: 1; transform: scale(1); }
.bb-gateway:hover { border-color: color-mix(in srgb, var(--coin, #1378ff) 55%, #fff); }
.bb-gateway input { position: absolute; opacity: 0; pointer-events: none; }
.bb-gateway-logo {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; overflow: hidden;
  background: var(--coin, var(--bb-blue)); color: #fff;
}
.bb-gateway.has-img .bb-gateway-logo { background: none; }
.bb-gateway-logo img { width: 100%; height: 100%; object-fit: contain; }
.bb-coin-glyph { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.bb-gateway-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.bb-gateway-name { min-width: 0; font-size: 0.875rem; font-weight: 700; color: var(--bb-ink); line-height: 1.25; overflow-wrap: normal; word-break: normal; }
.bb-gateway-sub { align-self: flex-start; padding: 0.0625rem 0.4375rem; border-radius: 6px; background: var(--bb-bg); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; color: var(--bb-text); }
.bb-gateway-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--bb-border-strong); background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.bb-gateway:has(input:checked) { border-color: var(--coin, var(--bb-blue)); background: color-mix(in srgb, var(--coin, #1378ff) 6%, #fff); box-shadow: 0 8px 20px -14px var(--coin, #1378ff); }
.bb-gateway:has(input:checked) .bb-gateway-radio { border-color: var(--coin, var(--bb-blue)); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--coin, var(--bb-blue)); }
.bb-gateway:has(input:checked) .bb-gateway-sub { background: color-mix(in srgb, var(--coin, #1378ff) 14%, #fff); color: var(--bb-ink); }
.bb-gateway:has(input:focus-visible) { outline: 2px solid var(--bb-blue); outline-offset: 2px; }

/* Send box */
.bb-pay-box { border: 1px solid var(--bb-border); border-radius: 14px; background: var(--bb-bg); padding: 1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.875rem; animation: bb-in 0.35s var(--bb-ease); }
.bb-pay-box > *, .bb-paystep, [data-pay-panel] { min-width: 0; }
@media (max-width: 419.98px) {
  .bb-pay-box { padding: 0.75rem; }
  .bb-pay-copyrow { padding-left: 0.625rem; }
  .bb-pay-copyrow .bb-pay-address { font-size: 0.6875rem; letter-spacing: -0.02em; }
  .bb-pay-box .bb-copy-btn { width: 34px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .bb-pay-box .bb-copy-btn i { font-size: 0.875rem; }
}
.bb-pay-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--bb-muted); margin-bottom: 0.375rem; }
.bb-pay-copyrow { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.5rem 0.5rem 0.875rem; border: 1px solid var(--bb-border); border-radius: 12px; background: #fff; }
.bb-pay-copyrow > strong, .bb-pay-copyrow > code { flex: 1; min-width: 0; }
.bb-pay-amount { display: block; padding: 0; border: 0; }
.bb-pay-amount strong { font-family: var(--bb-mono); font-size: 1.125rem; color: var(--bb-ink); letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (min-width: 576px) { .bb-pay-amount strong { font-size: 1.25rem; } }
@media (max-width: 575.98px) {
  .bb-gateway { gap: 0.5rem; min-height: 48px; padding: 0.5rem 0.5rem 0.5rem 0.625rem; }
  .bb-gateway-logo { width: 28px; height: 28px; }
  .bb-coin-glyph { font-size: 1rem; }
  .bb-gateway-name { font-size: 0.8125rem; }
  .bb-gateway-check { font-size: 0.9375rem; }
  .bb-paybox { padding: 0.75rem; }
  .bb-paybox-amountrow { flex-wrap: wrap; row-gap: 0.25rem; }
  .bb-paybox-amountrow strong { flex: 1 1 100%; order: 0; font-size: 1.0625rem; overflow-wrap: normal; }
  .bb-paybox-usd { order: 1; }
  .bb-paybox-amountrow .bb-copy-btn { order: 2; margin-left: auto; }
  .bb-paybox-addr .bb-copy-btn { width: 30px; height: 30px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .bb-paybox-addr .bb-copy-btn i { font-size: 0.875rem; }
  .bb-co-sum .is-due dd { font-size: 0.9375rem; }
}
.bb-pay-amount .bb-small { display: block; margin-top: 0.375rem; }
/* Wallet address always on one line; scrolls sideways on very narrow screens instead of breaking. */
.bb-pay-copyrow .bb-pay-address {
  margin: 0; padding: 0; border: 0; background: none; font-size: 0.78125rem; letter-spacing: -0.01em;
  white-space: nowrap; word-break: normal; overflow-x: auto; scrollbar-width: none;
}
.bb-pay-copyrow .bb-pay-address::-webkit-scrollbar { display: none; }
.bb-pay-copyrow .bb-pay-address.is-empty { white-space: normal; }
.bb-pay-address.is-empty { font-family: inherit; color: var(--bb-muted); }
.bb-copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 0.375rem; height: 32px; padding: 0 0.75rem;
  border: 0; border-radius: 8px; background: var(--bb-blue-50); color: var(--bb-blue-600); font-size: 0.8125rem; font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bb-copy-btn:hover { background: var(--bb-blue); color: #fff; }
.bb-copy-btn.is-copied { background: #e7f6ee; color: #0f7a45; }

/* Send-payment card: one flat white card, clear rows, no nested boxes */
.bb-send { border: 1px solid var(--bb-border-strong); border-radius: 16px; background: #fff; overflow: hidden; animation: bb-in 0.35s var(--bb-ease); }
.bb-send-qr { display: flex; justify-content: center; padding: 1rem; border-bottom: 1px solid var(--bb-border); }
.bb-send-qr[hidden] { display: none; }
.bb-send-qr .bb-pay-qr { width: 152px; height: 152px; padding: 0; border: 0; border-radius: 10px; }
.bb-send-row { padding: 0.875rem 1rem; min-width: 0; }
.bb-send-row + .bb-send-row { border-top: 1px solid var(--bb-border); }
.bb-send-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.375rem; }
.bb-send-label { font-size: 0.8125rem; font-weight: 600; color: var(--bb-ink); }
.bb-send-usd { font-size: 0.8125rem; font-weight: 700; color: var(--bb-ink); font-variant-numeric: tabular-nums; }
.bb-send-value { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.bb-send-value strong { flex: 1; min-width: 0; font-family: var(--bb-mono); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--bb-ink); overflow-wrap: anywhere; line-height: 1.3; }
.bb-send-value strong.is-pending { font-family: inherit; font-size: 1.0625rem; }
.bb-send-value .bb-pay-address {
  flex: 1; min-width: 0; margin: 0; padding: 0; border: 0; background: none;
  font-family: var(--bb-mono); font-size: 0.875rem; font-weight: 600; color: var(--bb-ink);
  white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.bb-send-value .bb-pay-address::-webkit-scrollbar { display: none; }
.bb-send-value .bb-pay-address.is-empty { font-family: inherit; font-weight: 500; white-space: normal; color: var(--bb-text); }
.bb-send .bb-pay-warn { margin: 0 1rem 1rem; }
@media (max-width: 419.98px) {
  .bb-send-row { padding: 0.75rem; }
  .bb-send .bb-copy-btn { width: 32px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .bb-send .bb-copy-btn i { font-size: 0.875rem; }
  .bb-send-value strong { font-size: 1.0625rem; }
}
.bb-pay-warn { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; padding: 0.625rem 0.75rem; border-radius: 10px; background: #fff7e6; border: 1px solid #ffe0a3; color: #8a5300; font-size: 0.8125rem; font-weight: 600; line-height: 1.45; }
.bb-pay-warn[hidden] { display: none; }
.bb-pay-warn i { margin-top: 1px; }
.bb-pay-wallet { display: flex; gap: 0.875rem; align-items: flex-start; }
.bb-pay-field + .bb-pay-field { margin-top: 0.75rem; }
.bb-pay-fields .bb-label { font-size: 0.8125rem; }

.bb-pay-panel { margin-top: 1rem; padding: 1.125rem; border-radius: 14px; border: 1px solid var(--bb-border); background: var(--bb-bg); display: grid; gap: 1rem; animation: bb-in 0.35s var(--bb-ease); }
.bb-pay-panel[hidden] { display: none; }
.bb-pay-qr { width: 104px; height: 104px; flex-shrink: 0; padding: 6px; border-radius: 12px; border: 1px solid var(--bb-border); background: #fff; object-fit: contain; }
.bb-pay-qr[hidden] { display: none; }
.bb-pay-address { display: block; margin-top: 0.25rem; padding: 0.625rem 0.75rem; border-radius: 10px; border: 1px solid var(--bb-border); background: #fff; font-family: var(--bb-mono); font-size: 0.78125rem; color: var(--bb-ink); word-break: break-all; white-space: pre-wrap; line-height: 1.5; }
.bb-copy { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--bb-border); border-radius: 8px; background: #fff; color: var(--bb-muted); font-size: 0.8125rem; }
.bb-copy:hover { color: var(--bb-ink); border-color: rgba(8, 20, 38, 0.25); }
.bb-copy.is-copied, .bb-btn.is-copied { color: #0f9d58; border-color: rgba(15, 157, 88, 0.4); }
.bb-copy[hidden], [data-copy-target][hidden] { display: none; }

.bb-success { padding: 1.5rem; animation: bb-in 0.45s var(--bb-ease); }
@media (min-width: 576px) { .bb-success { padding: 2.5rem; } }
.bb-success-head { display: flex; align-items: center; gap: 1rem; }
.bb-success-icon { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: var(--bb-ink); color: #fff; font-size: 1.75rem; box-shadow: 0 0 0 6px var(--bb-blue-50); animation: bb-pop 0.5s var(--bb-ease); }
.bb-success .bb-spec-table { padding: 0; }

/* Status badges */
.bb-status { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3125rem 0.75rem; border-radius: 999px; font-size: 0.78125rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.bb-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bb-status.is-pending { background: #fff7e6; color: #b45309; border-color: #fde4b0; }
.bb-status.is-processing { background: var(--bb-blue-50); color: var(--bb-blue-600); border-color: rgba(19, 120, 255, 0.25); }
.bb-status.is-completed { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.bb-status.is-cancelled { background: #f2f4f7; color: #475467; border-color: var(--bb-border); }
.bb-status.is-pending::before { animation: bb-blink 1.4s ease-in-out infinite; }
@keyframes bb-blink { 50% { opacity: 0.3; } }

/* Track order */
.bb-track-empty { min-height: 100%; }
.bb-track-steps { position: relative; display: grid; gap: 1.25rem; }
.bb-track-steps li { position: relative; display: flex; gap: 0.875rem; padding-left: 0; }
.bb-track-steps li .dot { position: relative; z-index: 1; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; border: 2px solid var(--bb-border-strong); background: #fff; }
.bb-track-steps li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: -1.25rem; width: 2px; background: var(--bb-border); }
.bb-track-steps li.is-done .dot { border-color: var(--bb-ink); background: var(--bb-ink); box-shadow: inset 0 0 0 4px #fff; }
.bb-track-steps li.is-done:not(:last-child)::before { background: var(--bb-ink); }
.bb-track-steps li.is-current .dot { border-color: var(--bb-blue); background: var(--bb-blue); box-shadow: 0 0 0 5px rgba(19, 120, 255, 0.15); }
.bb-track-steps li.is-cancelled .dot { border-color: #dc2626; background: #dc2626; }
.bb-track-steps strong { color: var(--bb-ink); font-size: 0.9375rem; }
.bb-track-items { display: grid; gap: 0.5rem; }
.bb-track-items li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--bb-text); }

/* Auth */
.bb-auth { position: relative; padding: 3rem 0 5rem; overflow: hidden; }
@media (min-width: 992px) { .bb-auth { padding: 5rem 0 7rem; } }
.bb-auth-bg { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%); }
.bb-auth-points { display: grid; gap: 0.875rem; }
.bb-auth-points li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--bb-ink); font-size: 0.9375rem; }
.bb-auth-points i { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--bb-border); background: #fff; color: var(--bb-blue); }
.bb-auth-switch { display: grid; gap: 0.625rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--bb-border); text-align: center; }

/* Account */
.bb-account { padding: 2.5rem 0 5rem; }
@media (min-width: 992px) { .bb-account { padding: 3.5rem 0 6rem; } }
.bb-account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; margin-bottom: 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--bb-border); }
.bb-account-nav { display: flex; gap: 0.375rem; overflow-x: auto; scrollbar-width: none; padding: 0.375rem; border: 1px solid var(--bb-border); border-radius: 16px; background: #fff; }
.bb-account-nav::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .bb-account-nav { flex-direction: column; position: sticky; top: calc(var(--bb-header-h) + 24px); } }
.bb-account-nav a { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; border-radius: 11px; font-size: 0.9rem; font-weight: 600; color: var(--bb-muted); white-space: nowrap; }
.bb-account-nav a:hover { background: var(--bb-bg); color: var(--bb-ink); }
.bb-account-nav a.is-active { background: var(--bb-ink); color: #fff; }
.bb-account-card-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--bb-border); }
.bb-order-list li + li { border-top: 1px solid var(--bb-border); }
.bb-order-list a { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "id total go" "status total go"; gap: 0.375rem 1rem; align-items: center; padding: 1rem 1.5rem; color: inherit; transition: background-color 0.2s ease; }
.bb-order-list a:hover { background: #fafcff; }
.bb-order-id { grid-area: id; display: flex; flex-direction: column; min-width: 0; }
.bb-order-id strong { color: var(--bb-ink); font-size: 0.9375rem; }
.bb-order-list .bb-status { grid-area: status; justify-self: start; }
.bb-order-total { grid-area: total; color: var(--bb-ink); }
.bb-order-go { grid-area: go; color: var(--bb-soft); transition: transform 0.2s ease, color 0.2s ease; }
.bb-order-list a:hover .bb-order-go { color: var(--bb-blue); transform: translateX(3px); }
@media (min-width: 768px) {
  .bb-order-list a { grid-template-columns: 1fr 9rem 7rem auto; grid-template-areas: "id status total go"; }
  .bb-order-total { text-align: right; }
}
.bb-account-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--bb-border); border-radius: 12px; background: var(--bb-border); }
.bb-account-meta > div { display: flex; flex-direction: column; gap: 0.125rem; padding: 0.75rem 1rem; background: #f9fbfd; min-width: 0; }
.bb-account-meta span { font-size: 0.78125rem; color: var(--bb-muted); font-weight: 500; }
.bb-account-meta strong { color: var(--bb-ink); font-size: 0.875rem; }
.bb-order-lines { border: 1px solid var(--bb-border); border-radius: 12px; overflow: hidden; }
.bb-order-lines li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.875rem 1rem; }
.bb-order-lines li + li { border-top: 1px solid var(--bb-border); }
.bb-order-lines li > div { display: flex; flex-direction: column; min-width: 0; }
.bb-order-lines li > div strong { color: var(--bb-ink); font-size: 0.9375rem; }
.bb-order-lines li.is-muted { color: var(--bb-muted); font-size: 0.875rem; }
.bb-order-lines li.is-total { background: var(--bb-bg); font-weight: 700; color: var(--bb-ink); }
.bb-order-lines li.is-total strong { font-size: 1.125rem; }

@media (prefers-reduced-motion: reduce) {
  .bb-cart-count, .bb-cart-item, .bb-pay-panel, .bb-success, .bb-success-icon, .bb-status.is-pending::before { animation: none; }
}
.bb-nav a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .bb-nav a { padding: 0.5rem 0.625rem; } }
@media (min-width: 992px) { .bb-steps-mini { flex-wrap: nowrap; flex-shrink: 0; } }
.bb-cart .offcanvas-header { justify-content: space-between; gap: 1rem; }
@media (max-width: 419.98px) { .bb-pay-wallet > .d-flex { flex-direction: column; } .bb-pay-qr { width: 132px; height: 132px; } }
