/*
 * BuyBackEmpire — "Pop" 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   plum #2b1846 · cream #fff8ef · tomato #ff5a3c (main action) · sun #ffc83d · teal #10b5a6
 * Type      Fredoka (headlines) + DM Sans (text)
 * Idea      Playful and moving: bright colour blocks, wavy edges, floating devices, and content that
 *           arrives from every direction as you scroll.
 */
:root {
  --bb-plum: #2b1846;
  --bb-plum-soft: #43296b;
  --bb-cream: #fff8ef;
  --bb-paper: #ffffff;
  --bb-tomato: #ff5a3c;
  --bb-tomato-hover: #ff7658;
  --bb-tomato-press: #e8442a;
  --bb-sun: #ffc83d;
  --bb-sun-hover: #ffd763;
  --bb-sun-press: #eeb31f;
  --bb-teal: #10b5a6;
  --bb-teal-tint: #d3f3ef;
  --bb-lilac: #e9defe;
  --bb-blush: #ffdfe6;
  --bb-ink: #2b1846;
  --bb-ink-muted: #6e5f86;
  --bb-line: #efe2d0;
  --bb-line-strong: #dcc9b0;
  --bb-line-inv: rgba(255, 255, 255, 0.18);
  --bb-check: #10b5a6;
  --bb-success: #14806f;
  --bb-danger: #c0271a;
  --bb-warning: #f2b632;
  /* Legacy token names, kept so any older markup keeps resolving */
  --bb-ink-deep: var(--bb-plum);
  --bb-surface: var(--bb-paper);
  --bb-surface-soft: var(--bb-cream);
  --bb-surface-warm: var(--bb-cream);
  --bb-border: var(--bb-line);
  --bb-border-strong: var(--bb-line-strong);
  --bb-brand: var(--bb-plum);
  --bb-brand-hover: var(--bb-plum-soft);
  --bb-brand-soft: var(--bb-lilac);
  --bb-accent: var(--bb-tomato);
  --bb-font-display: "Fredoka", "Avenir Next Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bb-font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bb-shadow-sm: 0 3px 10px rgba(43, 24, 70, 0.08);
  --bb-shadow-md: 0 22px 46px rgba(43, 24, 70, 0.16);
  --bb-radius-sm: 14px;
  --bb-radius: 24px;
  --bb-radius-lg: 36px;
  --bb-container: 1200px;
  --bb-ease: cubic-bezier(0.34, 1.4, 0.5, 1);
  --bb-smooth: cubic-bezier(0.22, 0.8, 0.2, 1);
  --animate-duration: 0.9s;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--bb-tomato) var(--bb-cream);
}

/* 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: 14px;
    height: 14px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bb-cream);
    border-left: 2px solid var(--bb-line);
  }

  ::-webkit-scrollbar-thumb {
    min-height: 56px;
    border: 3px solid var(--bb-cream);
    border-radius: 999px;
    background: var(--bb-tomato);
  }

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

  ::-webkit-scrollbar-corner {
    background: var(--bb-cream);
  }
}

body.body-text {
  margin: 0;
  overflow-x: hidden;
  background: var(--bb-cream);
  color: var(--bb-ink);
  font-family: var(--bb-font-body);
  font-size: 16px;
  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: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

img {
  max-width: 100%;
}

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

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

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: 3px dashed var(--bb-tomato);
  outline-offset: 3px;
}

header a:focus-visible,
header button:focus-visible,
.hero a:focus-visible,
.steps-section a:focus-visible,
footer a:focus-visible,
.cbp-spmenu a:focus-visible,
.cbp-spmenu button:focus-visible {
  outline-color: var(--bb-sun);
}

::selection {
  background: var(--bb-sun);
  color: var(--bb-plum);
}

/* 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;
}

/* ------------------------------------------------------------------
   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: 22px;
  background: var(--bb-sun);
  transition: opacity 450ms ease, transform 700ms cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 700ms;
  animation: bb-loader-failsafe 0.01s linear 3.4s forwards;
}

.page-loader-ball {
  display: block;
  width: 54px;
  height: 54px;
  border: 5px solid var(--bb-plum);
  border-radius: 50%;
  background: var(--bb-tomato);
}

.page-loader-shadow {
  display: block;
  width: 54px;
  height: 10px;
  border-radius: 50%;
  background: rgba(43, 24, 70, 0.22);
  animation: bb-shadow 1s ease-in-out infinite;
}

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

@keyframes bb-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.6; }
  50% { transform: scaleX(0.5); opacity: 0.25; }
}

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

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

@keyframes bb-spin {
  to { transform: rotate(360deg); }
}

@keyframes bb-marquee {
  to { transform: translateX(-50%); }
}

@keyframes bb-wiggle {
  0%, 100% { transform: rotate(var(--rot, -3deg)); }
  25% { transform: rotate(calc(var(--rot, -3deg) - 4deg)); }
  75% { transform: rotate(calc(var(--rot, -3deg) + 4deg)); }
}

@keyframes bb-draw {
  from { stroke-dashoffset: 100; }
}

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

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  border-radius: 999px;
  font-family: var(--bb-font-body);
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 300ms var(--bb-ease);
}

.btn:active {
  transform: scale(0.96);
}

.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: 3px solid var(--bb-plum);
  border-radius: 999px;
  background: var(--bb-tomato);
  color: var(--bb-plum);
  font-size: 1rem;
  font-weight: 700;
  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-color: var(--bb-plum);
  background: var(--bb-tomato-hover);
  box-shadow: 0 6px 0 var(--bb-plum);
  color: var(--bb-plum);
  transform: translateY(-4px) rotate(-1.5deg);
}

.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  border-color: var(--bb-plum);
  background: var(--bb-tomato-press);
  box-shadow: none;
  color: var(--bb-plum);
  transform: translateY(0) scale(0.97);
}

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

.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.75rem 1.9rem;
  border: 3px solid var(--bb-plum);
  background: var(--bb-sun);
  color: var(--bb-plum);
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-ink:hover,
.btn-ink:focus {
  background: var(--bb-sun-hover);
  box-shadow: 0 6px 0 var(--bb-plum);
  color: var(--bb-plum);
  transform: translateY(-4px) rotate(1.5deg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  border: 3px solid var(--bb-plum);
  background: transparent;
  color: var(--bb-plum);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--bb-plum);
  color: var(--bb-cream);
  transform: translateY(-3px);
}

/* ------------------------------------------------------------------
   Top strip and header
   ------------------------------------------------------------------ */
.topline {
  padding: 8px 0;
  background: var(--bb-tomato);
  color: var(--bb-plum);
  font-size: 0.85rem;
  font-weight: 600;
}

.topline .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topline a {
  color: var(--bb-plum);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.topline a:hover,
.topline a:focus {
  color: var(--bb-cream);
}

header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--bb-plum);
  color: #fff;
  transition: box-shadow 220ms ease;
}

header.is-scrolled {
  box-shadow: 0 10px 0 rgba(43, 24, 70, 0.14);
}

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

.navbar > .container {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 22px;
}

.logo,
.logo:hover {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

/* The logo sits on a cream tile so any supplied logo reads on the plum header */
.logo-padding {
  padding: 8px 18px;
  border-radius: 16px;
  background: var(--bb-cream);
  transition: transform 300ms var(--bb-ease);
}

.logo-padding:hover {
  transform: rotate(-3deg) scale(1.04);
}

.logo-img-lg,
.logo-img-default {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 42px;
}

/* Navigation is a rounded track; the current page is a sun-yellow pill */
.nav-links {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 6px;
  list-style: none;
  border-radius: 999px;
  background: var(--bb-plum-soft);
}

.nav-links a {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--bb-cream);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--bb-ease);
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

.nav-links li.active a {
  background: var(--bb-sun);
  color: var(--bb-plum);
}

.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: 4px;
}

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

.icon-menu > li:not(.nav-cta) > a,
.icon-menu .toggle-btn button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bb-cream);
  cursor: pointer;
  text-decoration: none;
}

.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 {
  background: var(--bb-sun);
  color: var(--bb-plum);
  transform: rotate(-8deg) scale(1.08);
}

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

.icon-menu > li:not(.nav-cta) > a.sale-link {
  width: auto;
  height: 44px;
  gap: 7px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.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;
  border-radius: 999px;
  background: var(--bb-tomato);
  color: var(--bb-plum);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

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

.icon-menu .nav-cta {
  margin-left: 10px;
}

/* Sticker-style sell button */
.btn-nav,
.btn-nav:hover {
  --rot: -3deg;
  min-height: 46px;
  padding: 0.55rem 1.3rem;
  font-size: 0.95rem;
  text-decoration: none;
  transform: rotate(var(--rot));
}

.icon-menu .nav-cta .btn-nav {
  border-color: var(--bb-cream);
  background: var(--bb-tomato);
}

.icon-menu .nav-cta .btn-nav:hover,
.icon-menu .nav-cta .btn-nav:focus {
  border-color: var(--bb-cream);
  box-shadow: 0 5px 0 var(--bb-cream);
  animation: bb-wiggle 500ms ease-in-out;
}

.icon-menu .submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 5;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 3px solid var(--bb-plum);
  border-radius: 24px;
  background: var(--bb-cream);
  box-shadow: 0 6px 0 var(--bb-tomato);
}

.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: bb-tag-in 220ms var(--bb-smooth);
}

.icon-menu .submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--bb-plum);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.icon-menu .submenu a:hover,
.icon-menu .submenu a:focus {
  background: var(--bb-sun);
  color: var(--bb-plum);
}

.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-lilac);
  color: var(--bb-plum);
  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-plum);
  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-paper);
  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-cream);
  box-shadow: none;
  color: var(--bb-ink);
  font-size: 0.95rem;
}

.search-form-top .form-control:focus {
  border-color: var(--bb-plum);
  background: var(--bb-paper);
}

.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-sun);
  color: var(--bb-ink);
  box-shadow: none;
}

.search-form-top .input-group-text:hover,
.search-form-top .input-group-text:focus {
  background: var(--bb-sun-hover);
  color: var(--bb-ink);
  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-paper);
  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-lilac);
}

#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 #f2c0b9;
  border-radius: 18px;
  background: #fff3f1;
  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(43, 24, 70, 0.55);
  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-plum);
  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-plum);
  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-sun);
}

.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-sun);
  color: var(--bb-ink);
  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-sun-hover);
  color: var(--bb-ink);
}

/* ------------------------------------------------------------------
   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-plum);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-paper);
  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-plum); }
.message-success .message-icon { color: var(--bb-success); }
.message-error .message-icon { color: var(--bb-danger); }
.message-warning .message-icon { color: #9a6a00; }

.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: 64px 0 150px;
  overflow: hidden;
  background: var(--bb-sun);
}

.hero::before {
  position: absolute;
  top: -140px;
  left: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 90, 60, 0.28);
  content: "";
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: var(--bb-plum);
  color: var(--bb-cream);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bb-tomato);
  color: var(--bb-plum);
  font-size: 0.72rem;
}

.hero-title {
  max-width: 10.5em;
  margin: 0 0 22px;
  font-size: clamp(2.9rem, 6vw, 5.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-title .hl {
  position: relative;
  display: inline-block;
  color: var(--bb-plum);
}

.hero-title .hl::after {
  position: absolute;
  right: -2%;
  bottom: -0.14em;
  left: -2%;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 3 70 18 105 9s60-5 92 3' fill='none' stroke='%23ff5a3c' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
}

.hero-subtitle {
  max-width: 30em;
  margin: 0 0 30px;
  color: var(--bb-plum-soft);
  font-size: 1.2rem;
  font-weight: 500;
}

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

.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: 7px 7px 7px 24px;
  border: 3px solid var(--bb-plum);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 0 var(--bb-plum);
  transition: transform 260ms var(--bb-ease), box-shadow 260ms var(--bb-ease);
}

.home-search-form .input-group:focus-within {
  box-shadow: 0 3px 0 var(--bb-plum);
  transform: translateY(4px);
}

.home-search-form .input-group::before {
  flex: 0 0 auto;
  margin-right: 14px;
  color: var(--bb-tomato);
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-size: 1.05rem;
  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-plum);
  font-size: 1.05rem;
  font-weight: 500;
}

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

.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.6rem;
  padding-left: 1.6rem;
}

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

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--bb-plum);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-checks i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bb-teal);
  color: #fff;
  font-size: 0.58rem;
}

/* Wavy edge into the next section */
.wave-bottom::after,
.page-head::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff8ef' d='M0 42C200 84 420 4 700 34s520 56 740 6V80H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

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

.art-blob {
  position: absolute;
  inset: 8% 6% 6% 8%;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background: var(--bb-teal);
  animation: bb-spin 46s linear infinite;
}

.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 svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  animation: bb-float 6s ease-in-out infinite;
}

.art-layer--tablet { --depth: 16; top: 24%; left: 2%; width: 56%; }
.art-layer--phone { --depth: 30; top: 8%; left: 34%; width: 30%; }
.art-layer--watch { --depth: 22; bottom: 6%; right: 6%; width: 24%; }
.art-layer--coin { --depth: 40; top: 2%; right: 8%; width: 20%; }
.art-layer--star { --depth: 12; bottom: 16%; left: 6%; width: 11%; }

.art-layer--tablet svg { --rot: -6deg; animation-duration: 7s; }
.art-layer--phone svg { --rot: 4deg; animation-delay: -1.5s; }
.art-layer--watch svg { --rot: -4deg; animation-duration: 5s; animation-delay: -3s; }
.art-layer--coin svg { --rot: 10deg; animation-duration: 4.5s; animation-delay: -2s; }
.art-layer--star svg { animation: bb-spin 14s linear infinite; }

/* Turning badge */
.art-badge {
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: 26%;
  max-width: 130px;
}

.art-badge svg {
  display: block;
  width: 100%;
  height: auto;
  animation: bb-spin 20s linear infinite;
}

/* ------------------------------------------------------------------
   Scrolling strip
   ------------------------------------------------------------------ */
.marquee-wrap {
  position: relative;
  z-index: 1;
  margin-top: -34px;
  padding: 30px 0 20px;
  overflow: hidden;
}

.marquee {
  width: 108%;
  margin-left: -4%;
  overflow: hidden;
  border-top: 3px solid var(--bb-plum);
  border-bottom: 3px solid var(--bb-plum);
  background: var(--bb-tomato);
  color: var(--bb-plum);
  transform: rotate(-1.6deg);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: bb-marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 14px 0 14px 26px;
  font-family: var(--bb-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.marquee li::after {
  content: "\2726";
  font-size: 1.1rem;
}

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

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

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
}

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

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

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

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

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

.category-card,
.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 18px 18px 22px;
  border: 3px solid transparent;
  border-radius: 34px;
  background: var(--bb-blush);
  color: var(--bb-plum);
  text-align: center;
  text-decoration: none;
  transition: transform 380ms var(--bb-ease), border-color 200ms ease, box-shadow 300ms ease;
}

.pick-grid > :nth-child(4n + 2),
.device-grid > :nth-child(4n + 2) { background: var(--bb-lilac); }
.pick-grid > :nth-child(4n + 3),
.device-grid > :nth-child(4n + 3) { background: var(--bb-teal-tint); }
.pick-grid > :nth-child(4n + 4),
.device-grid > :nth-child(4n + 4) { background: #fff0c2; }

.category-card:hover,
.category-card:focus,
.device-card:hover,
.device-card:focus {
  border-color: var(--bb-plum);
  box-shadow: 0 8px 0 var(--bb-plum);
  color: var(--bb-plum);
  transform: translateY(-8px) rotate(-1.8deg);
}

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

.category-media {
  height: 190px;
  padding: 10px;
}

.device-media {
  height: 210px;
  padding: 12px;
}

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

.category-image,
.device-media img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(43, 24, 70, 0.18));
  animation: bb-float 5.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: 6.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.2s;
}

.category-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--bb-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
}

.category-go {
  display: none;
}

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

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

.device-text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--bb-plum-soft);
  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: 9px 20px;
  border-radius: 999px;
  background: var(--bb-plum);
  color: var(--bb-cream);
  font-size: 0.9rem;
  font-weight: 700;
}

.device-card:hover .device-cta {
  background: var(--bb-tomato);
  color: var(--bb-plum);
}

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

/* Inner page heading */
.page-head {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
  background: var(--bb-sun);
}

.page-head::before {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 90, 60, 0.3);
  content: "";
}

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

.page-head h1 {
  max-width: 14em;
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 700;
}

.page-lede {
  max-width: 36em;
  margin: 0;
  color: var(--bb-plum-soft);
  font-size: 1.15rem;
  font-weight: 500;
}

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

.page-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: 3px dashed var(--bb-line-strong);
  border-radius: 30px;
  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: 3px solid var(--bb-plum);
  border-radius: 30px;
  background: #fff;
}

.filters-form .form-label {
  display: block;
  margin: 0 0 6px;
  padding-left: 6px;
  font-weight: 700;
}

.form-select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 3px solid var(--bb-plum);
  border-radius: 999px;
  background-color: var(--bb-cream);
  color: var(--bb-plum);
  font-size: 0.97rem;
  font-weight: 600;
}

.form-select:focus {
  outline: 0;
  box-shadow: 0 5px 0 var(--bb-tomato);
}

/* ------------------------------------------------------------------
   Homepage: how it works (a real sequence, so it is numbered)
   ------------------------------------------------------------------ */
.steps-section {
  position: relative;
  padding: 120px 0 130px;
  background: var(--bb-plum);
  color: var(--bb-cream);
}

.steps-section::before,
.steps-section::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff8ef' d='M0 42C200 84 420 4 700 34s520 56 740 6V80H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.steps-section::before {
  top: -1px;
  transform: scaleY(-1);
}

.steps-section::after {
  bottom: -1px;
}

.steps-section > .container {
  position: relative;
  z-index: 1;
}

.steps-section .section-header h2 {
  color: var(--bb-cream);
}

.steps-section .section-header .lead {
  color: rgba(255, 248, 239, 0.8);
}

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

.step-item {
  position: relative;
  padding: 30px 24px 30px;
  border-radius: 34px;
  background: var(--bb-cream);
  color: var(--bb-plum);
  counter-increment: step;
}

.step-item:nth-child(even) {
  margin-top: 46px;
}

.step-item:nth-child(4n + 1) { --tint: var(--bb-tomato); }
.step-item:nth-child(4n + 2) { --tint: var(--bb-sun); }
.step-item:nth-child(4n + 3) { --tint: var(--bb-teal); }
.step-item:nth-child(4n + 4) { --tint: var(--bb-lilac); }

.step-num {
  display: none;
}

.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border: 3px solid var(--bb-plum);
  border-radius: 26px;
  background: var(--tint);
  color: var(--bb-plum);
  font-size: 1.7rem;
  transform: rotate(-6deg);
  transition: transform 400ms var(--bb-ease);
}

.step-item:hover .step-icon {
  transform: rotate(6deg) scale(1.12);
}

.step-icon::after {
  position: absolute;
  top: -14px;
  right: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 3px solid var(--bb-plum);
  border-radius: 50%;
  background: var(--bb-cream);
  color: var(--bb-plum);
  content: counter(step);
  font-family: var(--bb-font-display);
  font-size: 1rem;
  font-weight: 700;
}

.step-item h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.step-item p {
  margin: 0;
  color: var(--bb-plum-soft);
  font-size: 1rem;
}

/* ------------------------------------------------------------------
   Homepage: why sell with us (colour tiles)
   ------------------------------------------------------------------ */
.why-choose-us {
  padding: 110px 0 40px;
}

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

.why-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 1 / span 3;
  grid-row: 1 / span 2;
  padding: 50px 44px;
  overflow: hidden;
  border: 3px solid var(--bb-plum);
  border-radius: 40px;
  background: var(--bb-tomato);
  color: var(--bb-plum);
}

.why-intro::before {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--bb-sun);
  content: "";
}

.why-intro > * {
  position: relative;
  z-index: 1;
}

.why-intro h2 {
  margin: 0 0 16px;
  color: var(--bb-plum);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
}

.why-intro p {
  max-width: 24em;
  margin: 0 0 26px;
  font-size: 1.1rem;
  font-weight: 500;
}

.why-intro .btn-outline {
  align-self: flex-start;
}

.why-coin {
  position: absolute;
  right: 40px;
  bottom: 34px;
  z-index: 2;
  width: 110px;
  animation: bb-float 5s ease-in-out infinite;
}

.feature-list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-box {
  padding: 30px 30px 32px;
  border: 3px solid var(--bb-plum);
  border-radius: 34px;
  background: #fff;
  transition: transform 400ms var(--bb-ease), box-shadow 300ms ease;
}

.feature-box:nth-child(1) { grid-column: 4 / span 3; grid-row: 1; }
.feature-box:nth-child(2) { grid-column: 4 / span 3; grid-row: 2; background: var(--bb-lilac); }
.feature-box:nth-child(3) {
  display: grid;
  grid-column: 1 / span 6;
  grid-row: 3;
  grid-template-columns: 74px 1fr;
  column-gap: 24px;
  align-items: center;
  background: var(--bb-teal);
}

.feature-box:hover {
  box-shadow: 0 8px 0 var(--bb-plum);
  transform: translateY(-6px) rotate(-1deg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border: 3px solid var(--bb-plum);
  border-radius: 22px;
  background: var(--bb-sun);
  color: var(--bb-plum);
  font-size: 1.35rem;
  transform: rotate(-6deg);
}

.feature-box:nth-child(3) .feature-icon {
  grid-row: span 2;
  margin: 0;
  background: var(--bb-cream);
}

.feature-box h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

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

.feature-box:nth-child(3) p {
  color: var(--bb-plum);
}

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

.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 64px 56px;
  overflow: hidden;
  border: 3px solid var(--bb-plum);
  border-radius: 48px;
  background: var(--bb-sun);
  color: var(--bb-plum);
}

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

.cta-band h2 {
  max-width: 13em;
  margin: 0 0 10px;
  color: var(--bb-plum);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
}

.cta-band p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.cta-shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  animation: bb-float 6s ease-in-out infinite;
}

.cta-shape--a { top: -50px; right: 26%; width: 150px; height: 150px; background: var(--bb-tomato); }
.cta-shape--b { right: -40px; bottom: -70px; width: 240px; height: 240px; background: var(--bb-teal); animation-delay: -2s; }
.cta-shape--c { bottom: 26px; right: 30%; width: 54px; height: 54px; border: 4px solid var(--bb-plum); background: var(--bb-cream); animation-delay: -4s; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
footer {
  position: relative;
  margin-top: 40px;
  padding: 110px 0 0;
  background: var(--bb-plum);
  color: rgba(255, 248, 239, 0.8);
}

footer::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff8ef' d='M0 42C200 84 420 4 700 34s520 56 740 6V80H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
  transform: scaleY(-1);
}

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

.logo-img-footer {
  display: block;
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 46px;
  padding: 12px 20px;
  border-radius: 18px;
  background: var(--bb-cream);
  box-sizing: content-box;
}

.footer-intro {
  max-width: 19em;
  margin: 24px 0 22px;
  color: var(--bb-cream);
  font-family: var(--bb-font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-col h3 {
  margin: 4px 0 16px;
  color: var(--bb-sun);
  font-size: 1.15rem;
  font-weight: 600;
}

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

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

.footer-col li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--bb-cream);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-col li a::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bb-tomato);
  content: "";
  transition: transform 350ms var(--bb-ease);
}

.footer-col:nth-child(3) li a::before { background: var(--bb-sun); }
.footer-col:nth-child(4) li a::before { background: var(--bb-teal); }

.footer-col li a:hover,
.footer-col li a:focus {
  color: #fff;
}

.footer-col li a:hover::before,
.footer-col li a:focus::before {
  transform: scale(1.8);
}

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

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

.social {
  margin-top: 4px;
}

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

.footer-brand .social li:nth-child(4n + 1) a { background: var(--bb-tomato); }
.footer-brand .social li:nth-child(4n + 2) a { background: var(--bb-sun); }
.footer-brand .social li:nth-child(4n + 3) a { background: var(--bb-teal); }
.footer-brand .social li:nth-child(4n + 4) a { background: var(--bb-lilac); }

.footer-brand .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--bb-plum);
  font-size: 1rem;
  text-decoration: none;
}

.footer-brand .social a:hover,
.footer-brand .social a:focus {
  color: var(--bb-plum);
  transform: translateY(-6px) rotate(-10deg) scale(1.1);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 28px;
  border-top: 2px dashed var(--bb-line-inv);
}

.footer-base p {
  margin: 0;
  color: rgba(255, 248, 239, 0.65);
  font-size: 0.92rem;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bb-sun);
  color: var(--bb-plum);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.to-top:hover,
.to-top:focus {
  background: var(--bb-tomato);
  color: var(--bb-plum);
  transform: translateY(-4px);
}

/* ------------------------------------------------------------------
   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-paper);
  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-plum);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--bb-sun);
  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-lilac);
  color: var(--bb-plum);
  font-size: 1.7rem;
}

.auth-icon--warn {
  background: #ffe3de;
  color: var(--bb-sun-press);
}

.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-paper);
  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-plum);
  color: var(--bb-lilac);
  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-cream);
  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-plum);
  outline: 0;
  background: var(--bb-paper);
  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-plum);
}

.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-lilac);
  color: var(--bb-plum);
  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-lilac);
  color: var(--bb-plum);
  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: #fff1ef;
  color: #6b1a12;
  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-lilac);
  color: var(--bb-plum);
  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: #e8f6ee;
  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-paper);
}

.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-lilac);
  color: var(--bb-plum);
}

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

.panel {
  margin-bottom: 28px;
  padding: 30px;
  border: 1.5px solid var(--bb-line);
  border-radius: 22px;
  background: var(--bb-paper);
  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-plum);
  color: var(--bb-lilac);
}

.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-plum);
  background: transparent;
  color: var(--bb-plum);
  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-cream);
}

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

.data-table td.revised-price {
  padding: 14px;
  border-radius: 18px;
  background: #fff6e0;
  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-lilac);
  color: var(--bb-plum);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease;
}

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

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

.btn-chip--solid:hover {
  background: var(--bb-plum-soft);
}

.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);
}

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

.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-lilac);
  color: var(--bb-plum);
  font-weight: 700;
  text-decoration: none;
}

.pager a:hover {
  background: var(--bb-plum);
  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-cream);
}

.status-legend .status {
  display: block;
  color: var(--bb-plum);
  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-paper);
  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-cream);
  color: var(--bb-ink-muted);
  content: counter(flow);
  font-size: 0.8rem;
}

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

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

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

.flow-steps li.is-current::before {
  background: var(--bb-sun);
  color: var(--bb-ink);
}

.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-plum);
  color: var(--bb-lilac);
}

.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-lilac);
}

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

.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-paper);
  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-plum);
}

.choice input:checked + label {
  border-color: var(--bb-plum);
  background: var(--bb-lilac);
}

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

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

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

.confirm-note p {
  margin: 0;
}

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

.success-hero {
  padding: 40px 30px;
  border-radius: 22px;
  background: var(--bb-plum);
  color: var(--bb-lilac);
  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-sun);
  color: var(--bb-ink);
}

.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-plum);
  border-radius: 22px;
  background: var(--bb-paper);
  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-cream);
  font-weight: 700;
  text-align: center;
}

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

.modal-header {
  border-bottom: 0;
  background: var(--bb-plum);
  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-sun);
  color: var(--bb-ink);
}

.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-sun-hover);
  box-shadow: 0 12px 25px rgba(43, 24, 70, 0.28);
  color: var(--bb-ink);
}


/* 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-cream);
  background: var(--bb-sun);
  color: var(--bb-plum);
}

/* ------------------------------------------------------------------
   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-layer svg,
  .art-blob,
  .art-badge svg,
  .category-image,
  .device-media img,
  .why-coin,
  .cta-shape {
    animation: none !important;
    transform: none !important;
  }

  .marquee-track {
    width: auto;
    flex-wrap: wrap;
    animation: none !important;
  }

  .marquee ul + ul {
    display: none;
  }

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