@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bb-purple: #652886;
  --bb-accent: #a400fc;
  --bb-bg: #0f0f12;
  --bb-panel: #151218;
  --bb-panel-soft: #1d1721;
  --bb-text: #f7f4fa;
  --bb-muted: #b9afc0;
  --bb-border: rgba(164, 0, 252, 0.22);
  --bb-danger: #dc3545;
}

html {
  scroll-padding-top: 88px;
}

body.ux-redesign-active,
body.ux-redesign-active button,
body.ux-redesign-active input,
body.ux-redesign-active textarea,
body.ux-redesign-active select {
  font-family: "Open Sans", sans-serif !important;
}

body.ux-redesign-active {
  color: var(--bb-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(101, 40, 134, 0.36), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(164, 0, 252, 0.18), transparent 28rem),
    var(--bb-bg) !important;
}

body.ux-redesign-active .page {
  width: min(1180px, calc(100% - 32px));
  padding-top: 34px;
}

.bitbus-site-header {
  position: sticky;
  top: 0;
  z-index: 12000;
  width: 100%;
  border-bottom: 1px solid rgba(164, 0, 252, 0.16);
  background: rgba(15, 15, 18, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.bitbus-site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1220px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.bitbus-site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.bitbus-site-brand img,
.bitbus-site-footer__brand img {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.bitbus-site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}

.bitbus-site-nav a,
.bitbus-site-phone {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.bitbus-site-nav a:hover,
.bitbus-site-nav a:focus-visible,
.bitbus-site-nav a.active {
  color: #fff;
  background: rgba(164, 0, 252, 0.16);
  outline: none;
}

.bitbus-site-phone {
  margin-left: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--bb-purple), var(--bb-accent));
  box-shadow: 0 8px 26px rgba(164, 0, 252, 0.22);
}

.bitbus-site-phone:hover,
.bitbus-site-phone:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.bitbus-site-menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  color: #fff;
  font-size: 1.35rem;
  background: rgba(164, 0, 252, 0.1);
}

body.ux-redesign-active .hero-copy,
body.ux-redesign-active .status-panel,
body.ux-redesign-active .selector,
body.ux-redesign-active .summary,
body.ux-redesign-active .offer-card,
body.ux-redesign-active .comparison,
body.ux-redesign-active .competition-section {
  border-color: var(--bb-border) !important;
  background:
    linear-gradient(150deg, rgba(101, 40, 134, 0.16), rgba(164, 0, 252, 0.04)),
    var(--bb-panel) !important;
}

body.ux-redesign-active .hero-copy::after {
  background: rgba(164, 0, 252, 0.13) !important;
}

body.ux-redesign-active .eyebrow,
body.ux-redesign-active .section-title,
body.ux-redesign-active .ux-lead-kicker {
  color: #d991ff !important;
}

body.ux-redesign-active .tile.active,
body.ux-redesign-active .choose-button,
body.ux-redesign-active .ux-table-choose,
body.ux-redesign-active .wizard-next:not(:disabled),
body.ux-redesign-active .competition-button,
body.ux-redesign-active .ux-lead-submit,
body.ux-redesign-active .ux-lead-done {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bb-purple), var(--bb-accent)) !important;
  box-shadow: 0 10px 28px rgba(164, 0, 252, 0.2);
}

body.ux-redesign-active .tile:hover,
body.ux-redesign-active .tile:focus-visible {
  border-color: rgba(164, 0, 252, 0.6) !important;
  outline: none;
}

.ux-offer-intro {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--bb-border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(101, 40, 134, 0.23), rgba(164, 0, 252, 0.07)),
    var(--bb-panel);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.2);
}

.ux-offer-intro__kicker {
  margin: 0;
  color: #d991ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ux-offer-intro h2,
.ux-offer-intro p {
  margin: 0;
}

.ux-offer-intro h2 {
  max-width: 760px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.ux-offer-intro > p:not(.ux-offer-intro__kicker) {
  max-width: 850px;
  color: var(--bb-muted);
  line-height: 1.65;
}

.ux-offer-intro__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.ux-offer-intro__steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(164, 0, 252, 0.18);
  border-radius: 999px;
  color: #ded6e5;
  background: rgba(164, 0, 252, 0.07);
  font-size: 0.85rem;
  font-weight: 700;
}

.ux-offer-intro__steps b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  background: var(--bb-purple);
  font-size: 0.75rem;
}

.bitbus-wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(164, 0, 252, 0.18);
  border-radius: 18px;
  background: rgba(15, 15, 18, 0.76);
}

.bitbus-wizard-progress button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  color: #8e8496;
}

.bitbus-wizard-progress button {
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bitbus-wizard-progress button:disabled {
  cursor: default;
  opacity: 0.58;
}

.bitbus-wizard-progress button:not(:disabled):hover,
.bitbus-wizard-progress button:not(:disabled):focus-visible {
  color: #fff;
  background: rgba(164, 0, 252, 0.09);
  outline: none;
}

.bitbus-wizard-progress b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.78rem;
}

.bitbus-wizard-progress em {
  overflow: hidden;
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bitbus-wizard-progress button.active {
  color: #fff;
  background: rgba(164, 0, 252, 0.14);
}

.bitbus-wizard-progress button.active b {
  border-color: transparent;
  background: linear-gradient(135deg, var(--bb-purple), var(--bb-accent));
}

.bitbus-wizard-progress button.complete {
  color: #c7bacf;
}

.bitbus-wizard-progress button.complete b {
  border-color: rgba(164, 0, 252, 0.34);
  color: #fff;
  background: rgba(101, 40, 134, 0.44);
}

.wizard-panel[hidden],
.steps[hidden],
#offersSection[hidden],
#emptyState[hidden],
.ux-city-context[hidden],
.competition-section[hidden],
.ux-seo-content[hidden] {
  display: none !important;
}

body.ux-redesign-active .selector.ux-city-selector-hidden[data-wizard-step="1"]:not([hidden]) {
  display: block !important;
}

body.ux-redesign-active .steps {
  display: block;
}

body.ux-redesign-active .wizard-panel {
  width: 100%;
  margin: 0;
  padding: clamp(22px, 4vw, 32px);
}

body.ux-redesign-active .steps .selector {
  min-height: 320px;
}

body.ux-redesign-active .tile-grid {
  margin-top: 14px;
}

.wizard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-back,
.wizard-next {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.wizard-back {
  border: 1px solid rgba(164, 0, 252, 0.22);
  color: #eee8f2;
  background: rgba(164, 0, 252, 0.07);
}

.wizard-next {
  border: 1px solid rgba(164, 0, 252, 0.22);
  color: #fff;
  background: rgba(101, 40, 134, 0.5);
}

.wizard-next:disabled {
  cursor: not-allowed;
  color: #776f7d !important;
  background: #242027 !important;
  box-shadow: none !important;
  opacity: 0.75;
}

.ux-offers-wizard-back {
  margin-bottom: 14px;
}

.offer-view-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 14px;
}

.offer-view-toggle > span {
  margin-right: 4px;
  color: var(--bb-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.offer-view-toggle button {
  padding: 8px 12px;
  border: 1px solid rgba(164, 0, 252, 0.2);
  border-radius: 10px;
  color: #cfc5d5;
  background: rgba(164, 0, 252, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.offer-view-toggle button.active {
  color: #fff;
  border-color: rgba(164, 0, 252, 0.65);
  background: linear-gradient(135deg, rgba(101, 40, 134, 0.85), rgba(164, 0, 252, 0.72));
}

.offer-info-button {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border: 1px solid rgba(164, 0, 252, 0.38);
  border-radius: 50%;
  color: #e2aaff;
  background: rgba(164, 0, 252, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.offer-info-button::after {
  display: none !important;
}

.offer-info-popover {
  position: fixed;
  z-index: 22000;
  width: min(330px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid rgba(164, 0, 252, 0.42);
  border-radius: 13px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(101, 40, 134, 0.26), rgba(164, 0, 252, 0.08)),
    #211625;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(164, 0, 252, 0.08);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.offer-info-popover.visible {
  opacity: 1;
  transform: translateY(0);
}

.offer-info-popover[data-pinned="true"] {
  pointer-events: auto;
}

.offer-info-button:focus-visible {
  outline: 2px solid var(--bb-accent);
  outline-offset: 2px;
}

body.ux-redesign-active .offer-heading {
  align-items: center;
}

.offer-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(164, 0, 252, 0.34);
  border-radius: 16px;
  background: #17131a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  -webkit-overflow-scrolling: touch;
}

.offer-table table {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.offer-table th,
.offer-table td {
  padding: 15px 14px;
  border-top: 1px solid rgba(164, 0, 252, 0.10);
  border-bottom: 1px solid rgba(164, 0, 252, 0.10);
  color: #e8e0ec;
  background: #1b161e;
  text-align: left;
  vertical-align: middle;
}

.offer-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #d7c9dd;
  background: #211825;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-table tbody tr:last-child th,
.offer-table tbody tr:last-child td {
  border-bottom: 1px solid rgba(164, 0, 252, 0.10);
}

.offer-table tbody tr {
  box-shadow:
    inset 4px 0 0 rgba(164, 0, 252, 0.22),
    0 5px 14px rgba(0, 0, 0, 0.12);
}

.offer-table tbody tr:nth-child(even) th,
.offer-table tbody tr:nth-child(even) td {
  background: #201822;
}

.offer-table tbody tr:hover th,
.offer-table tbody tr:hover td {
  border-color: rgba(164, 0, 252, 0.30);
  background: #281c2d;
}

.offer-table tbody tr > :first-child {
  border-left: 1px solid rgba(164, 0, 252, 0.16);
  border-radius: 12px 0 0 12px;
}

.offer-table tbody tr > :last-child {
  border-right: 1px solid rgba(164, 0, 252, 0.16);
  border-radius: 0 12px 12px 0;
}

.offer-table__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 170px;
  color: #fff;
  font-weight: 800;
}

.offer-table th small {
  display: block;
  margin-top: 5px;
  color: #9f91a8;
  font-size: 0.72rem;
  font-weight: 600;
}

.offer-table__label {
  display: block;
  margin-bottom: 4px;
  color: #93899a;
  font-size: 0.7rem;
  font-weight: 700;
}

.offer-table__actions {
  display: grid;
  gap: 7px;
  min-width: 150px;
}

.offer-table__actions > button,
.ux-table-choose {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.offer-table .ux-table-offer-proxy {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.offer-table .ux-table-offer-proxy h3,
.offer-table .ux-table-offer-proxy .offer-code {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.ux-danger-minus {
  color: var(--bb-danger) !important;
  font-size: 1.15em;
  font-weight: 800;
}

.ux-lead-step {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(164, 0, 252, 0.22);
  border-radius: 12px;
  background: rgba(164, 0, 252, 0.07);
}

.ux-lead-step span {
  color: #bcaec5;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ux-lead-step strong {
  color: #fff;
  font-size: 0.94rem;
}

.ux-lead-back {
  width: 100%;
  margin: 0 0 12px;
  text-align: center;
}

body.ux-redesign-active .ux-lead-card {
  border-color: rgba(164, 0, 252, 0.32);
  background:
    linear-gradient(150deg, rgba(101, 40, 134, 0.14), rgba(164, 0, 252, 0.04)),
    #161218;
}

.bitbus-site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(164, 0, 252, 0.18);
  background:
    linear-gradient(135deg, rgba(101, 40, 134, 0.18), rgba(164, 0, 252, 0.04)),
    #0b0b0d;
}

.bitbus-site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.bitbus-site-footer__brand p {
  max-width: 470px;
  margin: 18px 0 0;
  color: #a99eaf;
  line-height: 1.65;
}

.bitbus-site-footer__links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.bitbus-site-footer__links strong {
  margin-bottom: 5px;
  color: #fff;
}

.bitbus-site-footer__links a {
  color: #bcb0c3;
  text-decoration: none;
}

.bitbus-site-footer__links a:hover,
.bitbus-site-footer__links a:focus-visible {
  color: #df9dff;
  outline: none;
}

.bitbus-site-footer__bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #796e80;
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .bitbus-site-header__inner {
    min-height: 68px;
  }

  .bitbus-site-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .bitbus-site-phone {
    display: none;
  }

  .bitbus-site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--bb-border);
    border-radius: 16px;
    background: rgba(17, 14, 20, 0.98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  }

  .bitbus-site-header.menu-open .bitbus-site-nav {
    display: flex;
  }

  .bitbus-site-nav a {
    border-radius: 10px;
  }

  .bitbus-site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .bitbus-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body.ux-redesign-active .page {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .bitbus-site-header__inner {
    width: min(100% - 20px, 1220px);
  }

  .bitbus-site-brand img {
    height: 40px;
  }

  .ux-offer-intro {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .ux-offer-intro__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bitbus-wizard-progress {
    grid-template-columns: repeat(4, minmax(54px, 1fr));
    overflow-x: auto;
    padding: 7px;
  }

  .bitbus-wizard-progress button {
    display: flex;
    justify-content: center;
    padding: 7px 5px;
  }

  .bitbus-wizard-progress em {
    display: none;
  }

  .wizard-controls {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .wizard-controls > span {
    display: none;
  }

  .wizard-back,
  .wizard-next {
    width: 100%;
  }

  .offer-view-toggle {
    justify-content: stretch;
  }

  .offer-view-toggle > span {
    display: none;
  }

  .offer-view-toggle button {
    flex: 1 1 50%;
    text-align: center;
  }

  .offer-info-button::after {
    right: -24px;
    width: min(270px, 78vw);
  }

  .bitbus-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .bitbus-site-footer__brand {
    grid-column: auto;
  }
}


/* Mobile modal safety: keep offer details inside the visual viewport and above the sticky site header. */
body.ux-redesign-active .offer-modal {
  z-index: 20000;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-right: max(12px, env(safe-area-inset-right));
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  padding-left: max(12px, env(safe-area-inset-left));
}

body.ux-redesign-active .offer-modal-card {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.ux-redesign-active .offer-modal-top {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 0 12px;
  background: linear-gradient(180deg, #17111b 78%, rgba(23, 17, 27, 0));
}

@media (max-width: 620px) {
  body.ux-redesign-active .offer-modal {
    place-items: center;
  }

  body.ux-redesign-active .offer-modal-card {
    width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  }

  body.ux-redesign-active .offer-modal-top {
    padding-top: 10px;
  }
}


/* Selected-offer comparison: desktop table plus a dedicated readable mobile layout. */
body.ux-redesign-active .comparison-mobile {
  display: none;
}

@media (max-width: 620px) {
  body.ux-redesign-active .comparison {
    padding: 16px 12px;
  }

  body.ux-redesign-active .comparison-summary {
    margin-bottom: 14px;
    padding: 14px;
  }

  body.ux-redesign-active .comparison-table-wrap {
    display: none;
  }

  body.ux-redesign-active .comparison-mobile {
    display: grid;
    gap: 12px;
  }

  body.ux-redesign-active .comparison-mobile-row {
    overflow: hidden;
    border: 1px solid rgba(164, 0, 252, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
  }

  body.ux-redesign-active .comparison-mobile-row > h3 {
    margin: 0;
    padding: 12px 14px;
    color: #d7a4f3;
    background: rgba(101, 40, 134, 0.24);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  body.ux-redesign-active .comparison-mobile-values {
    display: grid;
  }

  body.ux-redesign-active .comparison-mobile-value {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  body.ux-redesign-active .comparison-mobile-value:first-child {
    border-top: 0;
  }

  body.ux-redesign-active .comparison-mobile-value > span {
    color: #a99daf;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
  }

  body.ux-redesign-active .comparison-mobile-value > strong {
    min-width: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  body.ux-redesign-active .comparison-mobile-value.different {
    background: rgba(164, 0, 252, 0.08);
    box-shadow: inset 3px 0 0 rgba(164, 0, 252, 0.65);
  }
}


/* Comparison hierarchy: differences first, matching conditions secondary. */
body.ux-redesign-active .compare-bar-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

body.ux-redesign-active .compare-bar-mobile {
  display: none;
}

body.ux-redesign-active .comparison-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

body.ux-redesign-active .comparison-kicker {
  margin: 0 0 5px;
  color: #c9b9d1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.ux-redesign-active .comparison-differences {
  padding: 14px;
  border: 1px solid rgba(164, 0, 252, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(164, 0, 252, 0.12), rgba(101, 40, 134, 0.08)),
    rgba(18, 14, 22, 0.82);
  box-shadow: 0 14px 38px rgba(164, 0, 252, 0.08);
}

body.ux-redesign-active .comparison-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

body.ux-redesign-active .comparison-group-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

body.ux-redesign-active .comparison-group-heading span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: #edcaff;
  background: rgba(164, 0, 252, 0.14);
  font-size: 0.72rem;
  font-weight: 800;
}

body.ux-redesign-active .comparison-row-different .field-cell {
  color: #e7bbff;
  background: rgba(101, 40, 134, 0.18);
}

body.ux-redesign-active .comparison-table-wrap--differences .different {
  background: rgba(164, 0, 252, 0.12);
  box-shadow: inset 3px 0 0 rgba(164, 0, 252, 0.68);
}

body.ux-redesign-active .comparison-same {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

body.ux-redesign-active .comparison-same > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #c8bdcd;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

body.ux-redesign-active .comparison-same > summary::-webkit-details-marker {
  display: none;
}

body.ux-redesign-active .comparison-same > summary::after {
  content: "+";
  margin-left: auto;
  color: #9d8fa5;
  font-size: 1.1rem;
}

body.ux-redesign-active .comparison-same[open] > summary::after {
  content: "−";
}

body.ux-redesign-active .comparison-same > summary small {
  margin-left: auto;
  color: #7f7485;
  font-size: 0.72rem;
  font-weight: 700;
}

body.ux-redesign-active .comparison-same[open] > summary small {
  margin-left: 0;
}

body.ux-redesign-active .comparison-same__content {
  padding: 0 12px 12px;
}

body.ux-redesign-active .comparison-table-wrap--same,
body.ux-redesign-active .comparison-mobile-row--same {
  opacity: 0.82;
}

body.ux-redesign-active .comparison-no-differences {
  margin: 0;
  color: #c9becf;
  line-height: 1.55;
}

@media (max-width: 620px) {
  body.ux-redesign-active .compare-bar.visible {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(88px + env(safe-area-inset-bottom));
    z-index: 11500;
    display: block;
    width: auto;
    margin: 0;
    padding: 9px;
    border: 1px solid rgba(164, 0, 252, 0.48);
    border-radius: 18px;
    background: rgba(19, 14, 23, 0.96);
    box-shadow:
      0 16px 50px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(101, 40, 134, 0.18);
    backdrop-filter: blur(18px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.ux-redesign-active .compare-bar.visible.ux-near-comparison,
  body.ux-redesign-active .compare-bar.visible.ux-outside-offers {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
  }

  body.ux-redesign-active .compare-bar-desktop {
    display: none;
  }

  body.ux-redesign-active .compare-bar-mobile {
    display: grid;
    grid-template-columns: auto minmax(110px, 1fr) 38px;
    align-items: center;
    gap: 8px;
  }

  body.ux-redesign-active .compare-bar-mobile__count {
    display: grid;
    gap: 0;
    min-width: 58px;
  }

  body.ux-redesign-active .compare-bar-mobile__count strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.05;
  }

  body.ux-redesign-active .compare-bar-mobile__count span,
  body.ux-redesign-active .compare-bar-mobile__hint {
    color: #a99dae;
    font-size: 0.68rem;
    font-weight: 700;
  }

  body.ux-redesign-active .compare-bar-mobile .compare-action {
    min-height: 42px;
    width: 100%;
    padding: 9px 13px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #652886, #a400fc);
    font-size: 0.82rem;
    font-weight: 800;
  }

  body.ux-redesign-active .compare-bar-mobile__clear {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    color: #cfc4d5;
    background: rgba(255, 255, 255, 0.035);
    font-size: 1.25rem;
  }

  body.ux-redesign-active .comparison-heading {
    align-items: start;
    flex-direction: column;
  }

  body.ux-redesign-active .comparison-clear-top {
    width: 100%;
  }

  body.ux-redesign-active .comparison-differences {
    padding: 10px;
  }

  body.ux-redesign-active .comparison-group-heading {
    align-items: start;
    flex-direction: column;
  }

  body.ux-redesign-active .comparison-mobile-row--different {
    border-color: rgba(164, 0, 252, 0.42);
    box-shadow: inset 3px 0 0 rgba(164, 0, 252, 0.68);
  }

  body.ux-redesign-active .comparison-mobile-row--different > h3 {
    color: #efc9ff;
    background: rgba(101, 40, 134, 0.34);
  }

  body.ux-redesign-active .comparison-mobile-row--same {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.015);
  }

  body.ux-redesign-active .comparison-same > summary {
    flex-wrap: wrap;
  }
}


/* Short model guidance belongs to the offer-selection step; long SEO content stays secondary below. */
body.ux-redesign-active .ux-model-guide {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(164, 0, 252, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(101, 40, 134, 0.16), rgba(164, 0, 252, 0.05)),
    rgba(17, 13, 20, 0.78);
}

body.ux-redesign-active .ux-model-guide__heading {
  display: grid;
  gap: 5px;
}

body.ux-redesign-active .ux-model-guide__heading > p {
  margin: 0;
  color: #d29ce9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.ux-redesign-active .ux-model-guide__heading > h2,
body.ux-redesign-active .ux-model-guide__heading > span {
  margin: 0;
}

body.ux-redesign-active .ux-model-guide__heading > h2 {
  color: #fff;
  font-size: 1.08rem;
}

body.ux-redesign-active .ux-model-guide__heading > span {
  color: #a99daf;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.ux-redesign-active .ux-model-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.ux-redesign-active .ux-model-guide__grid article {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

body.ux-redesign-active .ux-model-guide__grid strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.9rem;
}

body.ux-redesign-active .ux-model-guide__grid p {
  margin: 0;
  color: #a99dae;
  font-size: 0.79rem;
  line-height: 1.45;
}

body.ux-redesign-active .ux-seo-content {
  border-color: rgba(255, 255, 255, 0.065);
  background: rgba(255, 255, 255, 0.012);
  box-shadow: none;
}

@media (max-width: 700px) {
  body.ux-redesign-active .ux-model-guide {
    padding: 14px;
  }

  body.ux-redesign-active .ux-model-guide__grid {
    grid-template-columns: 1fr;
  }
}


/* Advanced table tools are intentionally desktop-only. Card view remains the default simple experience. */
body.ux-redesign-active .offer-table-tools {
  display: none;
}

body.ux-redesign-active .offer-table thead th > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

body.ux-redesign-active .offer-table thead th > button:hover,
body.ux-redesign-active .offer-table thead th > button:focus-visible {
  color: #f2cfff;
  outline: none;
}

body.ux-redesign-active .offer-table__special {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(164, 0, 252, 0.32);
  border-radius: 999px;
  color: #efc7ff;
  background: rgba(164, 0, 252, 0.12);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.ux-redesign-active .offer-table-empty {
  display: grid;
  gap: 5px;
  padding: 24px;
  border: 1px dashed rgba(164, 0, 252, 0.24);
  border-radius: 16px;
  color: #a99dae;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

body.ux-redesign-active .offer-table-empty strong {
  color: #fff;
}

@media (min-width: 901px) {
  body.ux-redesign-active .offer-table-tools {
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) repeat(4, minmax(135px, 0.8fr)) auto;
    gap: 10px;
    align-items: end;
    margin: 0 0 14px;
    padding: 14px;
    border: 1px solid rgba(164, 0, 252, 0.22);
    border-radius: 16px;
    background:
      linear-gradient(145deg, rgba(101, 40, 134, 0.12), rgba(164, 0, 252, 0.035)),
      rgba(16, 13, 19, 0.86);
  }

  body.ux-redesign-active .offer-table-tools label {
    display: grid;
    gap: 6px;
    min-width: 0;
  }

  body.ux-redesign-active .offer-table-tools label > span {
    color: #9f91a8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  body.ux-redesign-active .offer-table-tools input,
  body.ux-redesign-active .offer-table-tools select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(164, 0, 252, 0.18);
    border-radius: 10px;
    color: #f4edf7;
    background: #18131c;
    font-size: 0.8rem;
  }

  body.ux-redesign-active .offer-table-tools input:focus,
  body.ux-redesign-active .offer-table-tools select:focus {
    border-color: rgba(164, 0, 252, 0.62);
    outline: 2px solid rgba(164, 0, 252, 0.14);
    outline-offset: 1px;
  }

  body.ux-redesign-active .offer-table-tools__meta {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 2px 6px;
    min-width: 118px;
    padding-left: 4px;
  }

  body.ux-redesign-active .offer-table-results-count {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
  }

  body.ux-redesign-active .offer-table-tools__meta > span {
    color: #93879a;
    font-size: 0.72rem;
    font-weight: 700;
  }

  body.ux-redesign-active .offer-table-tools__meta > button {
    grid-column: 1 / -1;
    margin-top: 3px;
    padding: 0;
    border: 0;
    color: #cfa0e7;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  body.ux-redesign-active .offer-table-tools__meta > button:hover,
  body.ux-redesign-active .offer-table-tools__meta > button:focus-visible {
    color: #fff;
    outline: none;
    text-decoration: underline;
  }

  body.ux-redesign-active .offer-table {
    max-height: min(70vh, 760px);
  }

  body.ux-redesign-active .offer-table thead th {
    top: 0;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  body.ux-redesign-active .offer-table-tools {
    grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 1fr)) auto;
  }

  body.ux-redesign-active .offer-table-tools label:nth-of-type(4),
  body.ux-redesign-active .offer-table-tools label:nth-of-type(5) {
    grid-row: 2;
  }

  body.ux-redesign-active .offer-table-tools__meta {
    grid-row: 1 / span 2;
    align-self: stretch;
    align-content: center;
  }
}

@media (max-width: 900px) {
  body.ux-redesign-active .offer-table-tools {
    display: none;
  }
}


/* Table mode must not inherit the card grid layout. */
body.ux-redesign-active #offers.ux-table-mode {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(164, 0, 252, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(101, 40, 134, 0.14), rgba(164, 0, 252, 0.035)),
    #121015;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  box-sizing: border-box;
}

body.ux-redesign-active #offers.ux-table-mode > .offer-table-tools,
body.ux-redesign-active #offers.ux-table-mode > .offer-table,
body.ux-redesign-active #offers.ux-table-mode > .offer-table-empty {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.ux-redesign-active #offers.ux-table-mode > .offer-table-tools {
  width: 100%;
}

body.ux-redesign-active #offers.ux-table-mode > .offer-table {
  width: 100%;
}


/* Final visual polish: closer to the main BitBus site without changing ofertownik behavior. */
@media (min-width: 861px) {
  .bitbus-site-header__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 84px;
  }

  .bitbus-site-brand img {
    height: 50px;
  }

  .bitbus-site-nav {
    gap: 8px;
  }

  .bitbus-site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 15px;
  }

  .bitbus-site-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
  }

  body.ux-redesign-active .page {
    width: min(1180px, calc(100% - 32px));
    padding-top: 42px;
  }
}

body.ux-redesign-active #offersSection {
  margin-top: clamp(36px, 5vw, 58px);
}

body.ux-redesign-active .competition-section {
  margin-top: clamp(44px, 5.5vw, 70px);
}

body.ux-redesign-active .ux-seo-content {
  margin-top: clamp(44px, 5.5vw, 70px);
}

body.ux-redesign-active .ux-offer-intro {
  margin-bottom: 32px;
}

body.ux-redesign-active .ux-model-guide {
  margin-bottom: 26px;
}

body.ux-redesign-active .competition-note {
  margin-bottom: 24px;
}

body.ux-redesign-active .hero-copy,
body.ux-redesign-active .status-panel,
body.ux-redesign-active .selector,
body.ux-redesign-active .summary,
body.ux-redesign-active .ux-model-guide {
  border-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.11);
}

body.ux-redesign-active .hero-copy,
body.ux-redesign-active .status-panel,
body.ux-redesign-active .selector,
body.ux-redesign-active .summary {
  background:
    linear-gradient(150deg, rgba(101, 40, 134, 0.10), rgba(164, 0, 252, 0.018)),
    rgba(21, 18, 24, 0.92) !important;
}

body.ux-redesign-active .competition-section,
body.ux-redesign-active .ux-seo-content {
  border-color: rgba(255, 255, 255, 0.055) !important;
  box-shadow: none;
}

body.ux-redesign-active .offer-card {
  border-color: rgba(164, 0, 252, 0.18) !important;
}

body.ux-redesign-active .choose-button,
body.ux-redesign-active .competition-button,
body.ux-redesign-active .ux-lead-submit,
body.ux-redesign-active .ux-lead-done,
body.ux-redesign-active .ux-table-choose {
  min-height: 46px;
  border-radius: 12px;
}

body.ux-redesign-active .wizard-next:not(:disabled),
body.ux-redesign-active .compare-action {
  min-height: 46px;
  border-radius: 12px;
}

body.ux-redesign-active .offer-view-toggle button,
body.ux-redesign-active .reset-button,
body.ux-redesign-active .details-button,
body.ux-redesign-active .compare-toggle {
  border-radius: 11px;
}

@media (min-width: 901px) {
  body.ux-redesign-active #offers.ux-table-mode {
    max-width: 1180px;
  }
}

@media (max-width: 860px) {
  body.ux-redesign-active #offersSection {
    margin-top: 28px;
  }

  body.ux-redesign-active .competition-section,
  body.ux-redesign-active .ux-seo-content {
    margin-top: 34px;
  }

  body.ux-redesign-active .ux-offer-intro {
    margin-bottom: 24px;
  }
}


/* Unified BitBus scrollbars. */
html {
  scrollbar-width: thin;
  scrollbar-color: #652886 #141016;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.ux-lead-card::-webkit-scrollbar,
.offer-table::-webkit-scrollbar,
.offer-modal-card::-webkit-scrollbar,
.competition-modal-card::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.ux-lead-card::-webkit-scrollbar-track,
.offer-table::-webkit-scrollbar-track,
.offer-modal-card::-webkit-scrollbar-track,
.competition-modal-card::-webkit-scrollbar-track {
  background: #141016;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.ux-lead-card::-webkit-scrollbar-thumb,
.offer-table::-webkit-scrollbar-thumb,
.offer-modal-card::-webkit-scrollbar-thumb,
.competition-modal-card::-webkit-scrollbar-thumb {
  border: 2px solid #141016;
  border-radius: 999px;
  background: #652886;
}

.ux-lead-card,
.offer-table,
.offer-modal-card,
.competition-modal-card {
  scrollbar-width: thin;
  scrollbar-color: #652886 #141016;
}
