/*
 * BuyBackEmpire — "Arcade" design
 * One stylesheet for the whole customer-facing site. Responsive refinements live in mediaqueries.css.
 * Entrance animations come from animate.css (static/css/animate.min.css, MIT licence) and are
 * triggered from static/js/slider.js through data-animate="name" attributes.
 *
 * Palette   black #030504 · neon lime #7bff1a (the main action) · electric blue #2a95ff · hot red #ff3040
 * Type      Exo 2 (bold italic headlines) + Manrope (text)
 * Idea      A gaming-console look: black surfaces, neon-edged panels, sporty italic capitals, floating hardware,
 *           and content that arrives from every direction as you scroll.
 */
:root {
  --bb-bg: #030504;
  --bb-surface: #0a0d0b;
  --bb-surface-2: #111612;
  --bb-surface-3: #1a211b;
  --bb-ink: #f1f5ef;
  --bb-ink-muted: #9aa89b;
  --bb-blue: #2a95ff;
  --bb-blue-hover: #5db0ff;
  --bb-blue-press: #1478df;
  --bb-green: #7bff1a;
  --bb-green-hover: #9aff4d;
  --bb-green-press: #5fdc06;
  --bb-red: #ff3040;
  --bb-on-neon: #041000;
  --bb-line: rgba(255, 255, 255, 0.1);
  --bb-line-strong: rgba(255, 255, 255, 0.24);
  --bb-line-inv: rgba(255, 255, 255, 0.14);
  --bb-success: #6dff9a;
  --bb-success-bg: #16803c;
  --bb-danger: #ff6b7c;
  --bb-danger-bg: #d0203a;
  --bb-warning: #ffc94a;
  --bb-check: #7bff1a;
  --bb-glass: linear-gradient(160deg, rgba(22, 29, 24, 0.92), rgba(8, 11, 9, 0.94));
  /* Legacy token names, kept so any older markup keeps resolving */
  --bb-paper: var(--bb-surface);
  --bb-cream: var(--bb-bg);
  --bb-plum: var(--bb-surface-2);
  --bb-plum-soft: var(--bb-surface-3);
  --bb-lilac: var(--bb-surface-2);
  --bb-blush: var(--bb-surface-2);
  --bb-teal-tint: var(--bb-surface-2);
  --bb-tomato: var(--bb-green);
  --bb-tomato-hover: var(--bb-green-hover);
  --bb-tomato-press: var(--bb-green-press);
  --bb-sun: var(--bb-blue);
  --bb-sun-hover: var(--bb-blue-hover);
  --bb-sun-press: var(--bb-blue-press);
  --bb-teal: var(--bb-blue);
  --bb-ink-deep: var(--bb-bg);
  --bb-surface-soft: var(--bb-surface-2);
  --bb-border: var(--bb-line);
  --bb-border-strong: var(--bb-line-strong);
  --bb-brand: var(--bb-green);
  --bb-accent: var(--bb-green);
  --bb-font-display: "Exo 2", "Rajdhani", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bb-font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bb-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --bb-shadow-md: 0 24px 60px rgba(0, 0, 0, 0.65);
  --bb-radius-sm: 8px;
  --bb-radius: 14px;
  --bb-radius-lg: 22px;
  --bb-container: 1200px;
  --bb-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --bb-smooth: cubic-bezier(0.22, 0.8, 0.2, 1);
  --animate-duration: 0.9s;
  --cut: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: var(--bb-green) var(--bb-bg);
}

/* Custom scrollbar: WebKit/Blink get the styled version, Firefox uses the standard properties above */
@supports selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }

  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  ::-webkit-scrollbar-track {
    background: #000;
    border-left: 1px solid var(--bb-line);
  }

  ::-webkit-scrollbar-thumb {
    min-height: 56px;
    border: 3px solid #000;
    border-radius: 2px;
    background: var(--bb-green);
  }

  ::-webkit-scrollbar-thumb:hover,
  ::-webkit-scrollbar-thumb:active {
    background: var(--bb-green-hover);
  }

  ::-webkit-scrollbar-corner {
    background: #000;
  }
}

body.body-text {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(123, 255, 26, 0.08), transparent 60%),
    radial-gradient(800px 600px at 0% 30%, rgba(42, 149, 255, 0.06), transparent 60%),
    var(--bb-bg);
  color: var(--bb-ink);
  font-family: var(--bb-font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.cbp-spmenu-push-toleft {
  overflow: hidden;
}

body .container {
  width: 100%;
  max-width: var(--bb-container);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bb-ink);
  font-family: var(--bb-font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
}

img {
  max-width: 100%;
}

a {
  color: var(--bb-green);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 240ms ease, transform 260ms var(--bb-ease);
}

a:hover,
a:focus {
  color: var(--bb-green-hover);
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--bb-green);
  outline-offset: 3px;
}

::selection {
  background: var(--bb-green);
  color: var(--bb-on-neon);
}

.lime {
  color: var(--bb-green);
  text-shadow: 0 0 28px rgba(123, 255, 26, 0.45);
}

/* animate.css triggers: hidden until slider.js plays the named animation, then left in place */
html.js [data-animate]:not(.animate__animated):not(.is-done) {
  opacity: 0;
}

[data-animate].is-done {
  opacity: 1;
}

/* Scroll parallax: slider.js sets --py on elements marked data-parallax */
[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* Form controls on dark surfaces */
input,
select,
textarea,
.form-control {
  color-scheme: dark;
}

.form-control,
select.form-control,
textarea.form-control {
  border: 1px solid var(--bb-line-strong);
  background-color: var(--bb-surface-2);
  color: var(--bb-ink);
}

.form-control:focus {
  border-color: var(--bb-green);
  background-color: var(--bb-surface-3);
  box-shadow: 0 0 0 3px rgba(123, 255, 26, 0.22);
  color: var(--bb-ink);
}

.form-control::placeholder {
  color: var(--bb-ink-muted);
}

.text-muted {
  color: var(--bb-ink-muted) !important;
}

hr {
  border-top-color: var(--bb-line);
}

/* ------------------------------------------------------------------
   Loading screen (dismissed by slider.js; CSS fallback if JS fails)
   ------------------------------------------------------------------ */
.page-loader {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background:
    radial-gradient(500px 300px at 50% 45%, rgba(123, 255, 26, 0.16), transparent 70%),
    #000;
  transition: opacity 500ms ease, transform 700ms cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 700ms;
  animation: ac-loader-failsafe 0.01s linear 3.4s forwards;
}

.page-loader-pad {
  color: var(--bb-green);
  font-size: 4.2rem;
  filter: drop-shadow(0 0 22px rgba(123, 255, 26, 0.7));
  line-height: 1;
}

.page-loader-bar {
  position: relative;
  display: block;
  width: 170px;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(123, 255, 26, 0.5);
  border-radius: 2px;
}

.page-loader-bar::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: repeating-linear-gradient(90deg, var(--bb-green) 0 8px, transparent 8px 12px);
  content: "";
  animation: ac-slide 0.9s linear infinite;
}

html.is-ready .page-loader {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.06);
}

@keyframes ac-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

@keyframes ac-loader-failsafe {
  to { visibility: hidden; opacity: 0; pointer-events: none; }
}

@keyframes ac-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 1deg)); }
}

@keyframes ac-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes ac-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: var(--o, 0.7); }
  100% { transform: translateY(-420px) scale(0.4); opacity: 0; }
}

@keyframes ac-scan {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

@keyframes ac-draw {
  from { transform: scaleX(0); }
}

@keyframes ac-tag-in {
  from { opacity: 0; transform: translateY(8px); }
}

@keyframes ac-caret {
  50% { opacity: 0; }
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  border-radius: 10px;
  font-family: var(--bb-font-body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 260ms ease, transform 260ms var(--bb-ease);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary,
.home-search-form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0.7rem 1.6rem;
  border: 0;
  border-radius: 10px;
  background: var(--bb-green);
  box-shadow: 0 0 0 1px rgba(123, 255, 26, 0.55), 0 8px 30px rgba(123, 255, 26, 0.3);
  color: var(--bb-on-neon);
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus,
.home-search-form .btn-primary:hover,
.home-search-form .btn-primary:focus {
  border: 0;
  background: var(--bb-green-hover);
  box-shadow: 0 0 0 1px rgba(154, 255, 77, 0.9), 0 12px 44px rgba(123, 255, 26, 0.5);
  color: var(--bb-on-neon);
  transform: translateY(-3px);
}

.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  border: 0;
  background: var(--bb-green-press);
  box-shadow: none;
  color: var(--bb-on-neon);
  transform: translateY(0) scale(0.98);
}

.btn-primary:disabled,
.btn-primary.disabled {
  opacity: 0.45;
  transform: none;
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.75rem 2rem;
  border: 0;
  background: var(--bb-green);
  box-shadow: 0 0 0 1px rgba(123, 255, 26, 0.55), 0 8px 30px rgba(123, 255, 26, 0.3);
  color: var(--bb-on-neon);
  font-size: 0.92rem;
}

.btn-ink:hover,
.btn-ink:focus {
  background: var(--bb-green-hover);
  box-shadow: 0 0 0 1px rgba(154, 255, 77, 0.9), 0 12px 44px rgba(123, 255, 26, 0.5);
  color: var(--bb-on-neon);
  transform: translateY(-3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--bb-green);
  background: transparent;
  color: var(--bb-green);
  font-size: 0.82rem;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(123, 255, 26, 0.12);
  box-shadow: 0 0 26px rgba(123, 255, 26, 0.4);
  color: var(--bb-green-hover);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------
   Header: a console menu bar with slanted tabs, bracketed icons and a scroll-progress line
   ------------------------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--bb-line);
  background: rgba(3, 5, 4, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow 240ms ease;
}

/* Fills from left to right as you scroll down the page (slider.js sets --progress) */
header::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: calc(var(--progress, 0) * 1%);
  height: 3px;
  background: linear-gradient(90deg, #2a95ff, #7bff1a);
  box-shadow: 0 0 16px rgba(123, 255, 26, 0.85);
  content: "";
  transition: width 120ms linear;
}

header.is-scrolled {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.75);
}

.navbar {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.navbar > .container {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  min-height: 78px;
  gap: 0;
}

/* Slanted lime marker, then the logo on a cut-corner plate */
.logo,
.logo:hover {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.logo::before {
  width: 12px;
  height: 46px;
  background: var(--bb-green);
  clip-path: polygon(0 0, 100% 0, 45% 100%, 0 100%);
  content: "";
  filter: drop-shadow(0 0 8px rgba(123, 255, 26, 0.8));
  transition: transform 300ms var(--bb-ease);
}

.logo:hover::before {
  transform: skewX(-14deg) scaleY(1.1);
}

.logo-padding {
  padding: 0;
}

.logo-img-lg,
.logo-img-default {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 42px;
  padding: 8px 20px 8px 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  background: #eef2ec;
  box-sizing: content-box;
}

.nav-links {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 4px;
  margin: 0 auto 0 28px;
  padding: 0;
  list-style: none;
}

/* Every tab is a slanted plate, like a game menu */
.nav-links a {
  position: relative;
  display: block;
  padding: 13px 19px;
  clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
  background: rgba(255, 255, 255, 0.05);
  color: var(--bb-ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, transform 260ms var(--bb-ease);
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(123, 255, 26, 0.18);
  color: var(--bb-green);
  transform: translateY(-2px);
}

.nav-links li.active a {
  background: var(--bb-green);
  color: var(--bb-on-neon);
}

.icon-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar .icon-menu {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}

/* Icon buttons carry corner brackets, like a targeting reticle */
.icon-menu > li:not(.nav-cta) > a,
.icon-menu .toggle-btn button {
  --c: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 9px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 2px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 9px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 2px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 9px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 2px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 9px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 2px 9px no-repeat;
  color: var(--bb-ink);
  cursor: pointer;
  text-decoration: none;
  transition: color 200ms ease, background-size 260ms var(--bb-ease), text-shadow 260ms ease;
}

.icon-menu > li:not(.nav-cta) > a:hover,
.icon-menu > li:not(.nav-cta) > a:focus,
.icon-menu .toggle-btn button:hover,
.icon-menu .toggle-btn button:focus {
  --c: var(--bb-green);
  background-color: rgba(123, 255, 26, 0.08);
  background-size: 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px;
  color: var(--bb-green);
  text-shadow: 0 0 16px rgba(123, 255, 26, 0.7);
}

.icon-user,
.icon-search,
.icon-cart {
  width: 22px;
  height: 22px;
  font-size: 1.05rem;
  line-height: 22px;
  text-align: center;
  object-fit: contain;
}

.icon-menu > li:not(.nav-cta) > a.sale-link {
  width: auto;
  height: 44px;
  gap: 8px;
  padding: 0 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-menu .cart {
  position: relative;
}

.icon-menu .cart .sale-link-text {
  position: static;
  display: inline;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.icon-menu .cart span:not(.sale-link-text) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--bb-green);
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  color: var(--bb-on-neon);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.icon-menu .cart span:empty {
  display: none;
}

/* The quote button is a solid slanted plate flush with the right of the bar */
.icon-menu .nav-cta {
  margin-left: 12px;
  filter: drop-shadow(0 0 16px rgba(123, 255, 26, 0.5));
}

.btn-nav,
.btn-nav:hover {
  min-height: 48px;
  padding: 0 26px 0 30px;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  font-size: 0.78rem;
  text-decoration: none;
}

.icon-menu .nav-cta .btn-nav {
  border: 0;
  border-radius: 0;
  background: var(--bb-green);
  box-shadow: none;
  color: var(--bb-on-neon);
}

.icon-menu .nav-cta .btn-nav:hover,
.icon-menu .nav-cta .btn-nav:focus {
  background: var(--bb-green-hover);
  box-shadow: none;
  color: var(--bb-on-neon);
  transform: translateX(3px);
}

.btn-nav::before {
  font-family: "Font Awesome 6 Free";
  font-size: 0.85rem;
  font-weight: 900;
  content: "\f3ff";
}

.btn-nav::after {
  font-family: "Font Awesome 6 Free";
  font-size: 0.7rem;
  font-weight: 900;
  content: "\f054";
  transition: transform 240ms var(--bb-ease);
}

.btn-nav:hover::after {
  transform: translateX(4px);
}

.icon-menu .submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 5;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(123, 255, 26, 0.4);
  border-radius: 0;
  background: rgba(10, 13, 11, 0.98);
  box-shadow: var(--bb-shadow-md), 0 0 30px rgba(123, 255, 26, 0.12);
}

.icon-menu .submenu::before {
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
  content: "";
}

.icon-menu .user:hover .submenu,
.icon-menu .user:focus-within .submenu,
.icon-menu .user.is-open .submenu {
  display: block;
  animation: ac-tag-in 220ms var(--bb-smooth);
}

.icon-menu .submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 0;
  color: var(--bb-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.icon-menu .submenu a:hover,
.icon-menu .submenu a:focus {
  background: rgba(123, 255, 26, 0.14);
  color: var(--bb-green);
}

.icon-menu .submenu .cart {
  display: none;
}

.toggle-btn {
  display: none !important;
}

/* ------------------------------------------------------------------
   Demo notice
   ------------------------------------------------------------------ */
.demo-banner {
  position: relative;
  z-index: 1035;
  padding: 7px 0;
  border-bottom: 1px solid var(--bb-line-strong);
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.demo-banner p {
  position: relative;
  max-width: var(--bb-container);
  margin: 0 auto;
  padding: 0 36px 0 20px;
}

.demo-banner strong {
  font-weight: 800;
}

.demo-banner .close-banner {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--bb-ink);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(-50%);
}

.demo-banner .close-banner:hover {
  color: var(--bb-danger);
}








/* Header search retains the JavaScript IDs */
.search-form-top {
  position: absolute;
  top: calc(100% + 8px);
  right: 15px;
  display: none;
  width: min(460px, calc(100vw - 30px));
  padding: 12px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-md);
}

.search-form-top.active {
  display: block;
}

.search-form-top .input-group {
  display: flex;
  flex-wrap: nowrap;
}

.search-form-top .form-control {
  height: 48px;
  min-width: 0;
  padding-left: 18px;
  border: 2px solid var(--bb-line);
  border-right: 0;
  border-radius: 18px 0 0 18px;
  background: var(--bb-bg);
  box-shadow: none;
  color: var(--bb-ink);
  font-size: 0.95rem;
}

.search-form-top .form-control:focus {
  border-color: var(--bb-line-strong);
  background: var(--bb-surface);
}

.search-form-top .input-group-append {
  display: flex;
}

.search-form-top .input-group-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 48px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0 18px 18px 0;
  background: var(--bb-blue);
  color: var(--bb-on-neon);
  box-shadow: none;
}

.search-form-top .input-group-text:hover,
.search-form-top .input-group-text:focus {
  background: var(--bb-blue-hover);
  color: var(--bb-on-neon);
  transform: none;
  box-shadow: none;
}

#suggestions-list2,
#suggestions-list {
  position: absolute;
  z-index: 1040;
  right: 0;
  left: 0;
  max-height: 264px;
  margin: 6px 0 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-md);
  text-align: left;
}

#suggestions-list2:empty,
#suggestions-list:empty {
  display: none;
}

#suggestions-list2 li,
#suggestions-list li {
  padding: 10px 12px;
  border-radius: 18px;
  color: var(--bb-ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}

#suggestions-list2 li:hover,
#suggestions-list li:hover {
  background: var(--bb-surface-2);
}

#suggestions-list2 a,
#suggestions-list a {
  display: block;
  margin: -10px -12px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
}

.error-message,
.error-message2 {
  display: none;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 42, 85, 0.5);
  border-radius: 18px;
  background: rgba(255, 42, 85, 0.12);
  color: var(--bb-danger);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mobile drawer keeps the legacy classes and IDs */
.nav-scrim {
  position: fixed;
  z-index: 1090;
  inset: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
}

body.cbp-spmenu-push-toleft .nav-scrim {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.cbp-spmenu {
  position: fixed;
  top: 0;
  height: 100%;
  background: var(--bb-surface-2);
  visibility: hidden;
  transition: left 320ms var(--bb-ease), visibility 0s linear 320ms;
}

.cbp-spmenu.cbp-spmenu-right {
  z-index: 1100;
  right: auto;
  left: -360px;
  display: flex;
  flex-direction: column;
  width: 340px;
  padding: 22px 26px 30px;
  overflow-y: auto;
  box-shadow: 18px 0 50px rgba(43, 24, 70, 0.25);
}

.cbp-spmenu.cbp-spmenu-right.cbp-spmenu-open {
  left: 0;
  visibility: visible;
  transition-delay: 0s;
}

/* The page no longer slides sideways when the drawer opens; the scrim carries the transition */
.cbp-spmenu-push {
  position: relative;
  left: 0;
}

.cbp-spmenu-push-toleft {
  left: 0;
}

.cbp-spmenu .close-menu {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 18px auto;
  border: 1px solid var(--bb-line-inv);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0;
  transition: background-color 180ms ease, transform 260ms var(--bb-ease);
}

.cbp-spmenu .close-menu:hover {
  background: var(--bb-surface-2);
  transform: rotate(90deg);
}

.cbp-spmenu .close-menu::before {
  content: "×";
  font-size: 1.6rem;
  line-height: 1;
}

.cbp-spmenu a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--bb-line-inv);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--bb-font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.cbp-spmenu a:hover,
.cbp-spmenu a:focus,
.cbp-spmenu a.active {
  color: #fff;
}

.cbp-spmenu a.active {
  color: var(--bb-green);
}

.cbp-spmenu a.drawer-sub {
  padding: 11px 4px;
  color: rgba(239, 239, 241, 0.7);
  font-family: var(--bb-font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.cbp-spmenu a.drawer-cta {
  margin-top: 26px;
  padding: 15px 22px;
  border: 0;
  border-radius: 18px;
  background: var(--bb-blue);
  color: var(--bb-on-neon);
  font-family: var(--bb-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.cbp-spmenu a.drawer-cta:hover,
.cbp-spmenu a.drawer-cta:focus {
  background: var(--bb-blue-hover);
  color: var(--bb-on-neon);
}

/* ------------------------------------------------------------------
   Feedback messages
   ------------------------------------------------------------------ */
.messages {
  position: relative;
  z-index: 1020;
  max-width: var(--bb-container);
  margin: 18px auto 0;
  padding: 0 15px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px 16px;
  border: 1px solid var(--bb-line);
  border-left: 5px solid var(--bb-line-strong);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-sm);
  color: var(--bb-ink);
  font-size: 0.93rem;
  font-weight: 600;
  transition: opacity 300ms ease, transform 300ms ease;
}

.message-success { border-left-color: var(--bb-success); }
.message-error { border-left-color: var(--bb-danger); }
.message-warning { border-left-color: var(--bb-warning); }

.message-icon { color: var(--bb-ink); }
.message-success .message-icon { color: var(--bb-success); }
.message-error .message-icon { color: var(--bb-danger); }
.message-warning .message-icon { color: var(--bb-warning); }

.message-text {
  flex: 1 1 auto;
}

.message .close-button {
  margin: -3px -4px -3px 0;
  padding: 2px 6px;
  border: 0;
  background: transparent;
  color: var(--bb-ink-muted);
  cursor: pointer;
}








/* ------------------------------------------------------------------
   Homepage: hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--bb-line);
  background:
    radial-gradient(700px 420px at 78% 50%, rgba(123, 255, 26, 0.13), transparent 70%),
    radial-gradient(600px 400px at 58% 35%, rgba(42, 149, 255, 0.14), transparent 70%),
    #020403;
}

/* Angled neon stripes drift slowly behind the hero */
.hero::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  bottom: -10px;
  left: var(--x, 50%);
  width: var(--s, 6px);
  height: var(--s, 6px);
  background: var(--bb-green);
  box-shadow: 0 0 12px rgba(123, 255, 26, 0.9);
  opacity: 0;
  animation: ac-rise var(--d, 9s) linear infinite;
  animation-delay: var(--w, 0s);
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.7rem, 5.8vw, 5.3rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
}

.hero-title .line--lime {
  color: var(--bb-green);
  text-shadow: 0 0 34px rgba(123, 255, 26, 0.5);
}

/* Typing word: reserves its widest width, with a caret that blinks when idle */
.hero-title .type-word {
  display: inline-block;
  min-width: min(var(--tw-w, 0px), 100%);
}

html.js .hero-title .type-word::after {
  display: inline-block;
  width: 0.07em;
  height: 0.8em;
  margin-left: 0.06em;
  background: currentColor;
  content: "";
  vertical-align: -0.02em;
  animation: ac-caret 1s steps(1) infinite;
}

html.js .hero-title .type-word.is-typing::after {
  animation: none;
}

.hero-subtitle {
  max-width: 29em;
  margin: 0 0 28px;
  color: var(--bb-ink);
  font-size: 1.15rem;
  font-weight: 500;
}

.search-box-wrapper {
  position: relative;
  max-width: 560px;
}

.home-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home-search-form {
  position: relative;
}

.home-search-form .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 6px 6px 6px 20px;
  border: 1.5px solid rgba(123, 255, 26, 0.6);
  border-radius: 14px;
  background: rgba(3, 5, 4, 0.85);
  box-shadow: 0 0 0 0 rgba(123, 255, 26, 0), inset 0 0 26px rgba(123, 255, 26, 0.07), 0 18px 44px rgba(0, 0, 0, 0.6);
  transition: box-shadow 260ms ease, border-color 200ms ease;
}

.home-search-form .input-group:focus-within {
  border-color: var(--bb-green);
  box-shadow: 0 0 0 3px rgba(123, 255, 26, 0.2), 0 0 44px rgba(123, 255, 26, 0.3), 0 18px 44px rgba(0, 0, 0, 0.6);
}

.home-search-form .input-group::before {
  flex: 0 0 auto;
  margin-right: 14px;
  color: var(--bb-green);
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
}

.search-input.form-control {
  height: 52px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--bb-ink);
  font-size: 1.05rem;
  font-weight: 600;
}

.search-input.form-control::placeholder {
  color: var(--bb-ink-muted);
  font-weight: 500;
}

.search-input.form-control:focus {
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.home-search-form .btn-primary {
  flex: 0 0 auto;
  min-height: 52px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  border-radius: 10px;
}

.home-search-form .btn-primary::after {
  font-family: "Font Awesome 6 Free";
  font-size: 0.75rem;
  font-weight: 900;
  content: "\f054";
}

.hero .error-message {
  margin-left: 14px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-features li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.hero-features i {
  grid-row: span 2;
  color: var(--bb-green);
  filter: drop-shadow(0 0 8px rgba(123, 255, 26, 0.7));
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-features strong {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-features span {
  color: var(--bb-ink-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Floating hardware: outer layer follows the pointer, inner image floats, entrance uses animate.css */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  aspect-ratio: 1 / 0.78;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: ac-glow 6s ease-in-out infinite;
}

.hero-glow--lime { right: 2%; bottom: 8%; width: 54%; height: 54%; background: rgba(123, 255, 26, 0.35); }
.hero-glow--blue { top: 4%; left: 2%; width: 44%; height: 44%; background: rgba(42, 149, 255, 0.4); animation-delay: -3s; }

.art-layer {
  position: absolute;
  transform: translate3d(calc(var(--mx, 0) * var(--depth, 10) * 1px), calc(var(--my, 0) * var(--depth, 10) * 1px), 0);
  transition: transform 300ms ease-out;
  will-change: transform;
}

.art-layer--main {
  --depth: 22;
  inset: 0;
}

.art-img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 42%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 42%, transparent 100%);
  animation: ac-float 8s ease-in-out infinite;
}

/* Trust bar under the hero */
.trust {
  position: relative;
  z-index: 3;
  padding: 44px 0 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--bb-line);
  border-radius: 16px;
  background: var(--bb-glass);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.trust-cell {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 26px;
  transition: background-color 240ms ease;
}

.trust-cell + .trust-cell {
  border-left: 1px solid var(--bb-line);
}

.trust-cell:hover {
  background: rgba(123, 255, 26, 0.05);
}

.trust-cell i {
  flex: 0 0 auto;
  color: var(--bb-green);
  filter: drop-shadow(0 0 10px rgba(123, 255, 26, 0.7));
  font-size: 2rem;
}

.trust-cell strong {
  display: block;
  font-family: var(--bb-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trust-cell span {
  display: block;
  color: var(--bb-ink-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

/* ------------------------------------------------------------------
   Category selection
   ------------------------------------------------------------------ */
.home-section {
  padding: 60px 0 80px;
}

.section-header {
  max-width: 46em;
  margin: 0 auto 36px;
  text-align: center;
}

.section-header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-header h2::before,
.section-header h2::after {
  width: clamp(40px, 12vw, 190px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bb-green));
  box-shadow: 0 0 12px rgba(123, 255, 26, 0.6);
  content: "";
}

.section-header h2::after {
  background: linear-gradient(270deg, transparent, var(--bb-green));
}

.section-header .lead {
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 1.05rem;
}

.section-header--split {
  display: block;
  max-width: 46em;
}

.section-header--split > div {
  max-width: none;
}

.section-header--split .btn {
  display: none;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pick-grid > *,
.device-grid > * { --edge: #7bff1a; --edge-rgb: 123, 255, 26; }
.pick-grid > :nth-child(6n + 1),
.pick-grid > :nth-child(6n + 2),
.device-grid > :nth-child(6n + 1),
.device-grid > :nth-child(6n + 2) { --edge: #2a95ff; --edge-rgb: 42, 149, 255; }
.pick-grid > :nth-child(6n + 6),
.device-grid > :nth-child(6n + 6) { --edge: #ff3040; --edge-rgb: 255, 48, 64; }

.category-card,
.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 16px 14px 18px;
  border: 1px solid var(--bb-line);
  border-radius: 14px;
  background: var(--bb-glass);
  color: var(--bb-ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 320ms ease, transform 380ms var(--bb-ease);
}

.category-card::before,
.device-card::before {
  position: absolute;
  right: 12%;
  bottom: 30%;
  left: 12%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--edge-rgb), 0.3), transparent 70%);
  content: "";
  opacity: 0.55;
  transition: opacity 320ms ease, transform 420ms var(--bb-ease);
}

.category-card:hover,
.category-card:focus,
.device-card:hover,
.device-card:focus {
  border-color: var(--edge);
  box-shadow: 0 0 0 1px var(--edge), 0 20px 56px rgba(var(--edge-rgb), 0.3);
  color: var(--bb-ink);
  transform: translateY(-8px);
}

.category-card:hover::before,
.device-card:hover::before {
  opacity: 1;
  transform: scale(1.3);
}

.category-media,
.device-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.category-media {
  height: 170px;
  padding: 8px;
}

.device-media {
  height: 200px;
  padding: 10px;
}

.pick-grid--brands .category-media {
  height: 120px;
}

.category-image,
.device-media img {
  position: relative;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.7));
  animation: ac-float 6.5s ease-in-out infinite;
}

.pick-grid > :nth-child(2n) .category-image,
.device-grid > :nth-child(2n) .device-media img {
  animation-delay: -2s;
  animation-duration: 7.5s;
}

.pick-grid > :nth-child(3n) .category-image,
.device-grid > :nth-child(3n) .device-media img {
  animation-delay: -3.5s;
}

.category-card:hover .category-image,
.device-card:hover .device-media img {
  animation-duration: 2.6s;
}

.category-name {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 14px;
  font-family: var(--bb-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.15;
}

.category-go {
  display: none;
}

/* Every category and brand card carries a quote button, as in the mock-up */
.category-card::after {
  position: relative;
  margin-top: auto;
  padding: 8px 18px;
  border: 1.5px solid var(--edge);
  border-radius: 8px;
  color: var(--edge);
  content: "Get a quote";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 260ms ease;
}

.category-card:hover::after {
  background: var(--edge);
  box-shadow: 0 0 24px rgba(var(--edge-rgb), 0.6);
  color: #030504;
}

.device-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.device-name {
  margin: 0;
  color: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.device-text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--bb-ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.device-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 18px;
  border: 1.5px solid var(--edge);
  border-radius: 8px;
  color: var(--edge);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-card:hover .device-cta {
  background: var(--edge);
  box-shadow: 0 0 24px rgba(var(--edge-rgb), 0.6);
  color: #030504;
}

.device-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.view-all {
  margin: 34px 0 0;
  text-align: center;
}

.view-all a {
  color: var(--bb-blue);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.view-all a i {
  margin-left: 8px;
  font-size: 0.75rem;
  transition: transform 260ms var(--bb-ease);
}

.view-all a:hover {
  color: var(--bb-blue-hover);
  text-shadow: 0 0 20px rgba(42, 149, 255, 0.6);
}

.view-all a:hover i {
  transform: translateX(6px);
}

/* Inner page heading */
.page-head {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--bb-line);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(123, 255, 26, 0.14), transparent 70%),
    #020403;
}

.page-head::before {
  position: absolute;
  top: 0;
  right: -6%;
  bottom: 0;
  width: 46%;
  background: repeating-linear-gradient(115deg, rgba(123, 255, 26, 0.12) 0 2px, transparent 2px 26px);
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.page-head::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 3px;
  background: var(--bb-green);
  box-shadow: 0 0 20px rgba(123, 255, 26, 0.9);
  content: "";
}

.page-head > .container {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  max-width: 14em;
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.page-lede {
  max-width: 36em;
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 1.15rem;
}

.page-body {
  padding: 50px 0 100px;
}

.page-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: 1px dashed var(--bb-line-strong);
  border-radius: 14px;
  color: var(--bb-ink-muted);
  text-align: center;
}

.filters-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
  padding: 22px;
  border: 1px solid var(--bb-line);
  border-radius: 14px;
  background: var(--bb-glass);
}

.filters-form .form-label {
  display: block;
  margin: 0 0 6px;
  color: var(--bb-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-select {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--bb-line-strong);
  border-radius: 10px;
  background-color: var(--bb-surface-2);
  color: var(--bb-ink);
  font-size: 1rem;
  font-weight: 600;
}

.form-select:focus {
  border-color: var(--bb-green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(123, 255, 26, 0.22);
}

/* ------------------------------------------------------------------
   Homepage: how it works (a real sequence, so it is numbered)
   ------------------------------------------------------------------ */
.steps-section {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 46px 100%,
    #020403;
}

.steps-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-item {
  position: relative;
  isolation: isolate;
  padding: 30px 24px 28px;
  clip-path: var(--cut);
  background: var(--edge, #7bff1a);
  counter-increment: step;
  transition: filter 300ms ease, transform 380ms var(--bb-ease);
}

.step-item::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: linear-gradient(160deg, #111812, #060908);
  clip-path: var(--cut);
  content: "";
}

.step-item:nth-child(4n + 1) { --edge: #2a95ff; --edge-rgb: 42, 149, 255; }
.step-item:nth-child(4n + 2) { --edge: #7bff1a; --edge-rgb: 123, 255, 26; }
.step-item:nth-child(4n + 3) { --edge: #7bff1a; --edge-rgb: 123, 255, 26; }
.step-item:nth-child(4n + 4) { --edge: #ff3040; --edge-rgb: 255, 48, 64; }

.step-item:hover {
  filter: drop-shadow(0 0 22px rgba(var(--edge-rgb), 0.5));
  transform: translateY(-8px);
}

/* Oversized outlined stage number */
.step-item::after {
  position: absolute;
  top: 6px;
  right: 22px;
  color: transparent;
  content: "0" counter(step);
  font-family: var(--bb-font-display);
  font-size: 4.2rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  opacity: 0.55;
  -webkit-text-stroke: 1.5px var(--edge);
}

.step-num {
  display: none;
}

/* Diamond node that carries the step icon */
.step-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 8px 0 26px 10px;
  border: 2px solid var(--edge);
  background: #020403;
  box-shadow: 0 0 16px rgba(var(--edge-rgb), 0.8), inset 0 0 12px rgba(var(--edge-rgb), 0.2);
  color: var(--edge);
  font-size: 0.85rem;
  transform: rotate(45deg);
}

.step-icon i {
  transform: rotate(-45deg);
}

.step-item h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-style: italic;
  text-transform: uppercase;
}

.step-item p {
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 0.98rem;
}

/* ------------------------------------------------------------------
   Homepage: why sell with us
   ------------------------------------------------------------------ */
.why-choose-us {
  padding: 100px 0 40px;
  overflow-x: clip;
}

.why-grid {
  display: block;
}

.why-intro {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 50px;
  margin-bottom: 26px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--bb-line);
}

.why-intro h2 {
  flex: 1 1 380px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.why-intro p {
  flex: 1 1 340px;
  max-width: 34em;
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 1.1rem;
}

.why-intro .btn-outline {
  flex: 0 0 auto;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-box {
  position: relative;
  isolation: isolate;
  padding: 34px 28px 32px;
  clip-path: var(--cut);
  background: var(--edge, #7bff1a);
  transition: filter 300ms ease, transform 380ms var(--bb-ease);
}

.feature-box::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: linear-gradient(160deg, #121a13, #060908);
  clip-path: var(--cut);
  content: "";
}

.feature-box:nth-child(1) { --edge: #2a95ff; --edge-rgb: 42, 149, 255; }
.feature-box:nth-child(2) { --edge: #7bff1a; --edge-rgb: 123, 255, 26; }
.feature-box:nth-child(3) { --edge: #ff3040; --edge-rgb: 255, 48, 64; }

.feature-box:hover {
  filter: drop-shadow(0 0 24px rgba(var(--edge-rgb), 0.5));
  transform: translateY(-8px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border: 2px solid var(--edge);
  color: var(--edge);
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(var(--edge-rgb), 0.4), inset 0 0 18px rgba(var(--edge-rgb), 0.12);
  transform: skewX(-8deg);
}

.feature-box h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-style: italic;
  text-transform: uppercase;
}

.feature-box p {
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 1.02rem;
}

/* ------------------------------------------------------------------
   Homepage: closing call to action
   ------------------------------------------------------------------ */
.cta-section {
  padding: 60px 0 110px;
}

.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 70px 56px;
  overflow: hidden;
  clip-path: var(--cut);
  background: var(--bb-green);
}

.cta-band::before {
  position: absolute;
  z-index: -1;
  inset: 1.5px;
  background:
    repeating-linear-gradient(115deg, rgba(123, 255, 26, 0.09) 0 2px, transparent 2px 24px),
    radial-gradient(500px 260px at 90% 50%, rgba(123, 255, 26, 0.2), transparent 70%),
    linear-gradient(90deg, #040705, #070b08);
  clip-path: var(--cut);
  content: "";
}

.cta-band::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  animation: ac-scan 5s linear infinite;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  max-width: 11em;
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-band p {
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 1.12rem;
}

.cta-device {
  position: absolute;
  z-index: 1;
  right: 300px;
  bottom: -30px;
  width: min(30%, 340px);
  pointer-events: none;
}

.cta-device img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 42%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 42%, transparent 100%);
  animation: ac-float 8s ease-in-out infinite;
}

/* ------------------------------------------------------------------
   Footer: hazard tape, a "ready to sell" plate, then menu-style panels
   ------------------------------------------------------------------ */
footer {
  position: relative;
  padding: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 40px 100%,
    radial-gradient(700px 300px at 100% 100%, rgba(123, 255, 26, 0.08), transparent 70%),
    #020403;
  color: var(--bb-ink-muted);
}

.footer-hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, #7bff1a 0 14px, #020403 14px 28px);
  box-shadow: 0 0 30px rgba(123, 255, 26, 0.35);
}

/* "Ready to sell?" plate with cut corners and a lime edge */
.footer-hud {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  margin: 70px 0 60px;
  padding: 34px 40px;
  clip-path: var(--cut);
  background: var(--bb-green);
}

.footer-hud::before {
  position: absolute;
  z-index: -1;
  inset: 1.5px;
  background:
    repeating-linear-gradient(115deg, rgba(123, 255, 26, 0.08) 0 2px, transparent 2px 22px),
    linear-gradient(90deg, #040705, #080d09);
  clip-path: var(--cut);
  content: "";
}

.footer-kicker {
  margin: 0 0 4px;
  color: var(--bb-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-kicker::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--bb-green);
  box-shadow: 0 0 12px rgba(123, 255, 26, 0.9);
  content: "";
  animation: ac-caret 1.4s steps(1) infinite;
}

.footer-intro {
  max-width: 24em;
  margin: 0;
  color: var(--bb-ink);
  font-family: var(--bb-font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.footer-cta,
.footer-cta:hover {
  padding: 0 40px;
  border-radius: 0;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  box-shadow: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 56px;
}

.footer-brand,
.footer-col {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--bb-line);
  background: linear-gradient(160deg, rgba(20, 27, 22, 0.9), rgba(6, 9, 7, 0.95));
}

/* Corner brackets on each panel */
.footer-brand::before,
.footer-col::before {
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(var(--bb-green), var(--bb-green)) 0 0 / 14px 2px no-repeat,
    linear-gradient(var(--bb-green), var(--bb-green)) 0 0 / 2px 14px no-repeat,
    linear-gradient(var(--bb-green), var(--bb-green)) 100% 100% / 14px 2px no-repeat,
    linear-gradient(var(--bb-green), var(--bb-green)) 100% 100% / 2px 14px no-repeat;
  content: "";
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(123, 255, 26, 0.7));
}

.logo-img-footer {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 44px;
  padding: 10px 18px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  background: #eef2ec;
  box-sizing: content-box;
}

.footer-brand .social {
  margin-top: 26px;
}

/* Panel titles are slanted tabs stuck to the top edge */
.footer-col h3 {
  position: relative;
  display: inline-block;
  margin: -44px 0 20px -12px;
  padding: 7px 26px 7px 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  background: var(--bb-green);
  color: var(--bb-on-neon);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 2px;
}

.footer-col li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--bb-line);
  color: var(--bb-ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-col li a::before {
  color: var(--bb-green);
  content: "\25B8";
  font-size: 0.8rem;
  opacity: 0.55;
  transition: transform 260ms var(--bb-ease), opacity 200ms ease;
}

.footer-col li a:hover,
.footer-col li a:focus {
  border-bottom-color: var(--bb-green);
  color: var(--bb-green);
  text-shadow: 0 0 18px rgba(123, 255, 26, 0.55);
}

.footer-col li a:hover::before,
.footer-col li a:focus::before {
  opacity: 1;
  transform: translateX(6px);
}

.footer-col li.footer-badge a {
  border-bottom: 0;
}

.footer-col li.footer-badge a::before {
  display: none;
}

.footer-col img[alt="checkmend logo"] {
  width: 110px;
  height: auto;
  margin-top: 8px;
  border-radius: 6px;
}

.social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-brand .social a {
  --c: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 8px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 2px 8px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 8px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 2px 8px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 8px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 2px 8px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 8px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 2px 8px no-repeat;
  color: var(--bb-ink);
  font-size: 1rem;
  text-decoration: none;
}

.footer-brand .social a:hover,
.footer-brand .social a:focus {
  --c: var(--bb-green);
  background-color: rgba(123, 255, 26, 0.1);
  color: var(--bb-green);
  text-shadow: 0 0 16px rgba(123, 255, 26, 0.8);
  transform: translateY(-4px);
}

/* Status bar along the bottom */
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--bb-line);
}

.footer-base p {
  margin: 0;
  color: var(--bb-ink-muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px 10px 32px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  background: var(--bb-green);
  color: var(--bb-on-neon);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.to-top:hover,
.to-top:focus {
  background: var(--bb-green-hover);
  color: var(--bb-on-neon);
  transform: translateY(-3px);
}

/* ------------------------------------------------------------------
   Content pages (CMS pages such as How it works, Support, Terms)
   ------------------------------------------------------------------ */
.page-content {
  max-width: 820px;
  color: var(--bb-ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  margin: 1.6em 0 0.5em;
}

.page-content h1:first-child,
.page-content h2:first-child {
  margin-top: 0;
}

.page-content img {
  height: auto;
  border-radius: var(--bb-radius-sm);
}

.page-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.page-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}








/* ------------------------------------------------------------------
   Account area, customer dashboard and checkout flow
   ------------------------------------------------------------------ */
.acct-page {
  padding: 36px 0 90px;
}

.acct-heading {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  text-align: center;
}

.acct-lede {
  max-width: 34em;
  margin: 0 auto 30px;
  color: var(--bb-ink-muted);
  font-size: 1.05rem;
  text-align: center;
}

/* Sign in, register and password screens */
.auth-shell {
  display: flex;
  justify-content: center;
  padding: 52px 15px 96px;
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 38px 34px;
  border: 1.5px solid var(--bb-line);
  border-radius: 22px;
  background: var(--bb-surface);
  box-shadow: 0 18px 40px rgba(43, 24, 70, 0.14);
  text-align: center;
}

.auth-card--wide {
  max-width: 940px;
  text-align: left;
}

.auth-card h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
}

.auth-card > p,
.auth-lede {
  margin: 0 0 22px;
  color: var(--bb-ink-muted);
  line-height: 1.6;
}

.auth-card a:not(.btn) {
  color: var(--bb-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--bb-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  font-size: 1.7rem;
}

.auth-icon--warn {
  background: rgba(255, 42, 85, 0.16);
  color: var(--bb-red);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  max-width: 1080px;
  margin: 52px auto 96px;
  overflow: hidden;
  border: 1.5px solid var(--bb-line);
  border-radius: 22px;
  background: var(--bb-surface);
  box-shadow: 0 18px 40px rgba(43, 24, 70, 0.14);
}

.auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 46px;
}

.auth-main h1 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.auth-main .auth-lede {
  margin-bottom: 26px;
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 38px;
  overflow: hidden;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  text-align: center;
}

.auth-aside::before {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border: 46px solid rgba(239, 239, 241, 0.07);
  border-radius: 50%;
  content: "";
}

.auth-aside h2 {
  position: relative;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.auth-aside p {
  position: relative;
  margin: 0 0 22px;
  color: rgba(239, 239, 241, 0.82);
}

.auth-aside img {
  position: relative;
  width: auto;
  max-width: 100%;
  max-height: 230px;
  margin-top: 26px;
  border-radius: 18px;
}

/* Forms (works with hand-written fields and Django's as_p output) */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: left;
}

.form-stack p,
.form-stack .field {
  margin: 0;
}

.form-stack label {
  display: block;
  margin: 0 0 6px;
  color: var(--bb-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-stack input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.form-stack select,
.form-stack textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--bb-line);
  border-radius: 18px;
  background: var(--bb-bg);
  box-shadow: none;
  color: var(--bb-ink);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.form-stack textarea {
  min-height: 130px;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  border-color: var(--bb-line-strong);
  outline: 0;
  background: var(--bb-surface);
  box-shadow: 0 0 0 4px rgba(43, 24, 70, 0.12);
}

.form-stack input[type="checkbox"],
.form-stack input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  accent-color: var(--bb-surface-2);
}

.form-stack .helptext,
.form-stack small {
  display: block;
  margin-top: 6px;
  color: var(--bb-ink-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-stack .errorlist,
.form-stack .text-danger {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  color: var(--bb-danger) !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-stack .btn,
.form-stack button[type="submit"] {
  width: 100%;
}

.form-note {
  margin: 0;
  text-align: center;
}

.form-section {
  margin: 12px 0 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bb-line-strong);
  color: var(--bb-ink);
  font-family: var(--bb-font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.form-grid > .span-2 {
  grid-column: 1 / -1;
}

.auth-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.auth-fieldset legend {
  width: auto;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--bb-line-strong);
  color: var(--bb-ink);
  font-family: var(--bb-font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Alerts */
.auth-alert,
.auth-alert.alert {
  position: relative;
  width: 100%;
  margin: 0 0 20px;
  padding: 16px 44px 16px 18px;
  border: 2px solid var(--bb-danger);
  border-radius: 18px;
  background: rgba(255, 42, 85, 0.12);
  color: var(--bb-ink);
  font-size: 0.92rem;
  text-align: left;
}

.auth-alert h3 {
  margin: 0 0 8px;
  color: var(--bb-danger);
  font-family: var(--bb-font-body);
  font-size: 1rem;
  font-weight: 800;
}

.auth-alert ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.auth-alert p {
  margin: 0 0 4px;
}

.auth-alert-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bb-danger);
  cursor: pointer;
}

.auth-alert-close:hover {
  background: rgba(180, 35, 24, 0.1);
}

.auth-note {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  font-size: 0.92rem;
  text-align: left;
}

.auth-note p {
  margin: 0;
}

.auth-success {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 2px solid var(--bb-success);
  border-radius: 18px;
  background: rgba(125, 255, 46, 0.1);
  color: var(--bb-success);
  font-weight: 700;
}

/* Customer dashboard tabs */
.acct-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 6px;
  border: 1.5px solid var(--bb-line);
  border-radius: 18px;
  background: var(--bb-surface);
}

.acct-tabs .tab-link {
  padding: 10px 20px;
  border-radius: 18px;
  color: var(--bb-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.acct-tabs .tab-link:hover,
.acct-tabs .tab-link:focus {
  background: var(--bb-surface-2);
  color: var(--bb-ink);
}

.acct-tabs .tab-link.active {
  background: var(--bb-surface-2);
  color: #fff;
}

.panel {
  margin-bottom: 28px;
  padding: 30px;
  border: 1.5px solid var(--bb-line);
  border-radius: 22px;
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-sm);
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.panel-title {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.welcome-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding: 26px 30px;
  border-radius: 22px;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
}

.welcome-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.welcome-band p {
  margin: 4px 0 0;
  color: rgba(239, 239, 241, 0.8);
}

/* Tables */
.data-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.data-table th {
  font-family: var(--bb-font-body);
  font-weight: 500;
  padding: 12px 16px;
  border: 0;
  border-bottom: 2px solid var(--bb-line-strong);
  background: transparent;
  color: var(--bb-ink);
  font-size: 0.85rem;
  text-align: left;
}

.data-table td {
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid var(--bb-line);
  text-align: left;
  vertical-align: middle;
}

.data-table tbody tr:hover td {
  background: var(--bb-bg);
}

.data-table tbody tr[data-order-id] {
  cursor: pointer;
}

.data-table td.revised-price {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 201, 74, 0.12);
  text-align: center;
}

.data-table td.revised-price p {
  margin: 4px 0;
  font-size: 0.88rem;
}

.data-table td.revised-price form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.data-table td.revised-price .user-response {
  font-weight: 700;
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 5px 13px;
  border: 0;
  border-radius: 18px;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease;
}

.btn-chip:hover {
  background: var(--bb-surface-2);
  color: #fff;
}

.btn-chip--solid {
  background: var(--bb-surface-2);
  color: #fff;
}

.btn-chip--solid:hover {
  background: var(--bb-surface-3);
}

.btn-accept,
.btn-reject {
  padding: 8px 18px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-accept {
  background: var(--bb-success-bg);
}

.btn-reject {
  background: var(--bb-danger-bg);
}

.was-price {
  color: var(--bb-danger);
  text-decoration: line-through;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.9rem;
}

.pager a {
  padding: 7px 14px;
  border-radius: 18px;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  font-weight: 700;
  text-decoration: none;
}

.pager a:hover {
  background: var(--bb-surface-2);
  color: #fff;
}

.status-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.status-legend .status-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bb-bg);
}

.status-legend .status {
  display: block;
  color: var(--bb-ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.status-legend .description {
  display: block;
  margin-top: 2px;
  color: var(--bb-ink-muted);
  font-size: 0.86rem;
}

/* Sale flow: progress, layout and summary */
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 30px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 9px;
  border: 2px solid var(--bb-line);
  border-radius: 18px;
  background: var(--bb-surface);
  color: var(--bb-ink-muted);
  font-size: 0.9rem;
  font-weight: 700;
  counter-increment: flow;
}

.flow-steps li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bb-bg);
  color: var(--bb-ink-muted);
  content: counter(flow);
  font-size: 0.8rem;
}

.flow-steps li.is-done {
  border-color: var(--bb-line-strong);
  color: var(--bb-ink);
}

.flow-steps li.is-done::before {
  background: var(--bb-surface-2);
  color: #fff;
}

.flow-steps li.is-current {
  border-color: var(--bb-line-strong);
  background: var(--bb-surface-2);
  color: #fff;
}

.flow-steps li.is-current::before {
  background: var(--bb-blue);
  color: var(--bb-on-neon);
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: start;
}

.flow-side {
  position: sticky;
  top: 110px;
}

.total-card {
  padding: 28px;
  border: 1.5px solid var(--bb-line);
  box-shadow: 0 18px 40px rgba(43, 24, 70, 0.14);
  border-radius: 22px;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
}

.total-card h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.25rem;
}

.total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bb-line-inv);
  font-size: 0.95rem;
}

.total-row:last-of-type {
  border-bottom: 0;
}

.total-row--big {
  padding-top: 16px;
  font-weight: 700;
}

.total-row--big .total-figure {
  color: #fff;
  font-family: var(--bb-font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.total-card .btn {
  width: 100%;
  margin-top: 14px;
}

.total-card .btn-outline {
  border-color: rgba(239, 239, 241, 0.5);
  color: var(--bb-ink);
}

.total-card .btn-outline:hover {
  border-color: #fff;
  background: var(--bb-surface);
  color: var(--bb-ink);
}

.choice {
  position: relative;
  margin-bottom: 10px;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 15px 18px;
  border: 2px solid var(--bb-line);
  border-radius: 18px;
  background: var(--bb-surface);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.choice label::before {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--bb-line-strong);
  border-radius: 50%;
  content: "";
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.choice label:hover {
  border-color: var(--bb-line-strong);
}

.choice input:checked + label {
  border-color: var(--bb-line-strong);
  background: var(--bb-surface-2);
}

.choice input:checked + label::before {
  border-color: var(--bb-line-strong);
  background: var(--bb-surface-2);
  box-shadow: inset 0 0 0 4px var(--bb-surface-2);
}

.choice input:focus-visible + label {
  outline: 3px solid var(--bb-blue);
  outline-offset: 2px;
}

.confirm-note {
  margin: 18px 0;
  padding: 15px 18px;
  border-radius: 18px;
  background: var(--bb-bg);
  font-size: 0.9rem;
  line-height: 1.55;
}

.confirm-note p {
  margin: 0;
}

.confirm-note a {
  color: var(--bb-ink);
  font-weight: 700;
  text-decoration: underline;
}

.success-hero {
  padding: 40px 30px;
  border-radius: 22px;
  background: var(--bb-surface-2);
  color: var(--bb-ink);
  text-align: center;
}

.success-hero h1 {
  margin: 14px 0 6px;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.success-hero p {
  margin: 0;
  color: rgba(239, 239, 241, 0.85);
}

.success-hero .auth-icon {
  margin: 0;
  background: var(--bb-blue);
  color: var(--bb-on-neon);
}

.order-chip {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border: 1.5px dashed rgba(239, 239, 241, 0.5);
  border-radius: 18px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ship-label {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
  padding: 22px;
  border: 2px dashed var(--bb-line-strong);
  border-radius: 22px;
  background: var(--bb-surface);
  text-align: left;
}

.ship-label p {
  margin: 2px 0;
}

.ship-label .sender-details {
  font-weight: 700;
  line-height: 1.6;
}

.ship-label .postage-info-box {
  padding: 12px 18px;
  border: 2px dashed var(--bb-line-strong);
  border-radius: 18px;
  background: var(--bb-bg);
  font-weight: 700;
  text-align: center;
}

.modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}

.modal-header {
  border-bottom: 0;
  background: var(--bb-surface-2);
  color: #fff;
}

.modal-header .close {
  color: #fff;
  opacity: 0.85;
  text-shadow: none;
}

@media (max-width: 991.98px) {
  .flow-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-side {
    position: static;
  }

  .auth-split {
    grid-template-columns: minmax(0, 1fr);
    margin-right: 12px;
    margin-left: 12px;
  }

  .auth-main,
  .auth-aside {
    padding: 38px 26px;
  }
}

@media (max-width: 767.98px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-card {
    padding: 30px 22px;
  }

  .panel {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .acct-tabs {
    border-radius: 22px;
  }

  .acct-tabs .tab-link {
    padding: 9px 14px;
    font-size: 0.85rem;
  }
}





/* Primary buttons that sit on a blue surface switch to the lime accent so they stay visible */
.auth-aside .btn-primary,
.total-card .btn-primary,
.welcome-band .btn-primary,
.success-hero .btn-primary,
.cbp-spmenu .btn-primary {
  background: var(--bb-blue);
  color: var(--bb-on-neon);
}

.auth-aside .btn-primary:hover,
.auth-aside .btn-primary:focus,
.total-card .btn-primary:hover,
.total-card .btn-primary:focus,
.welcome-band .btn-primary:hover,
.welcome-band .btn-primary:focus,
.success-hero .btn-primary:hover,
.success-hero .btn-primary:focus {
  background: var(--bb-blue-hover);
  box-shadow: 0 12px 25px rgba(43, 24, 70, 0.28);
  color: var(--bb-on-neon);
}


/* Primary buttons that sit on a plum surface switch to sun-yellow so they stay visible */
.auth-aside .btn-primary,
.total-card .btn-primary,
.welcome-band .btn-primary,
.success-hero .btn-primary,
.cbp-spmenu .btn-primary {
  border-color: var(--bb-line);
  background: var(--bb-blue);
  color: var(--bb-on-neon);
}



/* ------------------------------------------------------------------
   Dark-surface refinements for account, dashboard and checkout screens
   ------------------------------------------------------------------ */
.panel,
.auth-card {
  border-color: var(--bb-line);
  background: var(--bb-glass);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.auth-split {
  border-color: rgba(123, 255, 26, 0.35);
  background: var(--bb-glass);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 44px rgba(123, 255, 26, 0.08);
}

.total-card,
.welcome-band,
.success-hero,
.auth-aside {
  border: 1px solid rgba(123, 255, 26, 0.45);
  background:
    repeating-linear-gradient(115deg, rgba(123, 255, 26, 0.06) 0 2px, transparent 2px 24px),
    radial-gradient(420px 220px at 100% 0%, rgba(123, 255, 26, 0.16), transparent 70%),
    linear-gradient(150deg, #0e150f, #050806);
  box-shadow: 0 0 40px rgba(123, 255, 26, 0.1), 0 24px 60px rgba(0, 0, 0, 0.6);
  color: var(--bb-ink);
}

.total-card h2,
.welcome-band h2,
.success-hero h1,
.auth-aside h2 {
  color: var(--bb-ink);
  font-style: italic;
  text-transform: uppercase;
}

.total-card .btn-primary,
.welcome-band .btn-primary,
.success-hero .btn-primary,
.auth-aside .btn-primary {
  background: var(--bb-green);
  color: var(--bb-on-neon);
}

.flow-steps li.is-current {
  border-color: var(--bb-green);
  background: rgba(123, 255, 26, 0.12);
  box-shadow: 0 0 22px rgba(123, 255, 26, 0.25);
  color: var(--bb-green);
}

.flow-steps li.is-done {
  border-color: rgba(123, 255, 26, 0.5);
  color: var(--bb-green);
}

.data-table th {
  color: var(--bb-green);
}

.auth-card h1,
.auth-main h1,
.acct-heading {
  font-style: italic;
  text-transform: uppercase;
}

.modal-content,
.card,
.dropdown-menu {
  border: 1px solid var(--bb-line-strong);
  background: var(--bb-surface);
  color: var(--bb-ink);
}

.modal-header,
.modal-footer {
  border-color: var(--bb-line);
  background: var(--bb-surface-2);
  color: var(--bb-ink);
}

.modal-header .close,
.close {
  color: var(--bb-ink);
  text-shadow: none;
  opacity: 0.8;
}

.table,
.table td,
.table th {
  border-color: var(--bb-line);
  color: var(--bb-ink);
}

.alert {
  border-color: var(--bb-line-strong);
  background: var(--bb-surface-2);
  color: var(--bb-ink);
}

.list-unstyled a {
  color: inherit;
}


/* ------------------------------------------------------------------
   Reduced motion: everything is visible immediately and nothing moves
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .page-loader {
    display: none !important;
  }

  html.js [data-animate],
  html.js [data-animate]:not(.animate__animated):not(.is-done) {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .art-layer,
  .art-img,
  .hero-glow,
  .hero-particles,
  .category-image,
  .device-media img,
  .cta-device img,
  .cta-band::after {
    animation: none !important;
    transform: none !important;
  }

  html.js .hero-title .type-word::after {
    display: none;
  }

  .category-card:hover,
  .device-card:hover,
  .step-item:hover,
  .feature-box:hover,
  .btn-primary:hover,
  .btn-ink:hover {
    transform: none;
  }
}
