:root {
  color-scheme: light;
}

body {
  min-height: 100vh;
}

.narrow-page {
  max-width: 720px;
}

pre {
  white-space: pre-wrap;
}

.platform-brand {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

.platform-brand__logo {
  display: block;
  height: 2.35rem;
  max-width: min(14rem, 58vw);
  object-fit: contain;
  width: auto;
}

.sidebar-brand-logo,
.auth-card__logo {
  display: block;
  object-fit: contain;
}

.sidebar-brand-logo {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  box-shadow: 8px 8px 16px rgba(163, 177, 198, 0.32), -8px -8px 16px rgba(255, 255, 255, 0.8);
  flex: 0 0 7.6rem;
  height: 2.75rem;
  padding: 0.35rem 0.5rem;
  width: 7.6rem;
}

.auth-card__logo {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.05rem;
  box-shadow: 8px 8px 18px rgba(57, 92, 139, 0.2), -8px -8px 18px rgba(255, 255, 255, 0.86);
  height: 3rem;
  padding: 0.35rem 0.55rem;
  width: 12rem;
}

/* Authentication views */
body:has(.auth-shell) {
  background:
    radial-gradient(circle at 14% 16%, rgba(13, 110, 253, 0.2), transparent 27rem),
    radial-gradient(circle at 88% 18%, rgba(32, 201, 151, 0.22), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(116, 96, 255, 0.12), transparent 28rem),
    linear-gradient(145deg, #eef3f9 0%, #dfe7f1 48%, #edf2f8 100%);
  color: #182235;
  overflow-x: hidden;
}

body:has(.auth-shell) .navbar,
body:has(.auth-shell) footer {
  background: rgba(235, 241, 248, 0.72) !important;
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.72) !important;
}

body:has(.auth-shell) main {
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
  padding-top: clamp(2rem, 5vw, 4rem) !important;
}

.auth-shell {
  isolation: isolate;
  min-height: calc(100vh - 12rem);
  position: relative;
}

.auth-shell::before {
  animation: authDrift 18s ease-in-out infinite alternate;
  background-image:
    linear-gradient(rgba(43, 58, 85, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 58, 85, 0.052) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  inset: -8rem -4rem;
  mask-image: radial-gradient(circle at center, #000 0, transparent 68%);
  pointer-events: none;
  position: absolute;
  z-index: -3;
}

.auth-grid {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
}

.auth-hero {
  min-height: 34rem;
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
}

.auth-hero__orb {
  border-radius: 999px;
  filter: blur(3px);
  position: absolute;
  z-index: -1;
}

.auth-hero__orb--primary {
  animation: authFloat 9s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.5), rgba(32, 201, 151, 0.42));
  height: 16rem;
  right: 8%;
  top: 2rem;
  width: 16rem;
}

.auth-hero__orb--secondary {
  animation: authFloat 11s ease-in-out infinite reverse;
  background: linear-gradient(135deg, rgba(116, 96, 255, 0.28), rgba(255, 255, 255, 0.78));
  bottom: 1rem;
  height: 12rem;
  left: 0;
  width: 12rem;
}

.auth-hero__badge,
.auth-card,
.auth-mini-dashboard {
  background: rgba(232, 239, 247, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 18px 18px 38px rgba(151, 166, 188, 0.42), -18px -18px 38px rgba(255, 255, 255, 0.9);
}

.auth-hero__badge {
  align-items: center;
  border-radius: 999px;
  color: #31506f;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.65rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.auth-hero__badge span,
.auth-signal-dot {
  animation: authPulse 1.7s ease-in-out infinite;
  background: #20c997;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.5);
  display: inline-block;
  height: 0.68rem;
  width: 0.68rem;
}

.auth-hero__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.94;
  max-width: 10ch;
}

.auth-hero__copy {
  color: #5c6b7d;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  margin: 1.25rem 0 0;
  max-width: 36rem;
}

.auth-mini-dashboard {
  animation: authFloat 8s ease-in-out infinite;
  border-radius: 1.8rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  max-width: 26rem;
  overflow: hidden;
  padding: 1.15rem;
  position: relative;
}

.auth-mini-dashboard::after {
  background: radial-gradient(circle, rgba(32, 201, 151, 0.3), transparent 68%);
  content: '';
  height: 11rem;
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 11rem;
}

.auth-mini-dashboard__header,
.auth-signal-row {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.auth-mini-dashboard__header {
  color: #68778b;
  margin-bottom: 1rem;
}

.auth-mini-dashboard__header span {
  background: #c8d3df;
  border-radius: 50%;
  height: 0.68rem;
  width: 0.68rem;
}

.auth-mini-dashboard__header strong {
  margin-left: auto;
}

.auth-balance-card,
.auth-step-list div {
  background: rgba(242, 247, 252, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 7px 7px 16px rgba(151, 166, 188, 0.25), inset -7px -7px 16px rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.auth-balance-card {
  border-radius: 1.4rem;
  padding: 1.1rem;
}

.auth-balance-card small {
  color: #68778b;
  display: block;
  font-weight: 800;
}

.auth-balance-card strong {
  color: #102033;
  display: block;
  font-size: 2.5rem;
  letter-spacing: -0.05em;
}

.auth-progress {
  background: #d7e0eb;
  border-radius: 999px;
  height: 0.55rem;
  overflow: hidden;
}

.auth-progress i {
  animation: authProgress 2.8s ease-in-out infinite;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 72%;
}

.auth-signal-row {
  color: #4f5f73;
  justify-content: space-between;
  margin-top: 1rem;
}

.auth-signal-row div {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.auth-step-list {
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.auth-step-list div {
  align-items: center;
  border-radius: 1.05rem;
  color: #4f5f73;
  display: flex;
  font-weight: 800;
  gap: 0.8rem;
  padding: 0.9rem;
}

.auth-step-list i {
  align-items: center;
  background: linear-gradient(145deg, #0d6efd, #20c997);
  border-radius: 0.8rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 2rem;
  font-style: normal;
  height: 2rem;
  justify-content: center;
}

.auth-card {
  animation: authRise 520ms ease-out both;
  border-radius: 2rem;
  overflow: hidden;
}

.auth-card__mark {
  align-items: center;
  background: linear-gradient(145deg, #0d6efd, #20c997);
  border-radius: 1.05rem;
  box-shadow: 8px 8px 18px rgba(57, 92, 139, 0.28), -8px -8px 18px rgba(255, 255, 255, 0.86);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.auth-eyebrow {
  color: #31506f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-field {
  animation: authRise 560ms ease-out both;
}

.auth-field:nth-of-type(2) {
  animation-delay: 70ms;
}

.auth-field:nth-of-type(3) {
  animation-delay: 110ms;
}

.auth-form .form-label {
  color: #40516a;
  font-weight: 800;
}

.auth-form .form-control {
  background-color: #edf3f9;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  box-shadow: inset 6px 6px 12px rgba(151, 166, 188, 0.3), inset -6px -6px 12px rgba(255, 255, 255, 0.88);
  min-height: 3.15rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.auth-form .form-control:focus {
  background-color: #f2f7fc;
  box-shadow: inset 4px 4px 8px rgba(151, 166, 188, 0.25), inset -4px -4px 8px rgba(255, 255, 255, 0.9), 0 0 0 0.2rem rgba(13, 110, 253, 0.14);
  transform: translateY(-1px);
}

.auth-form .form-control.is-invalid {
  border-color: rgba(220, 53, 69, 0.62);
  box-shadow: inset 6px 6px 12px rgba(151, 166, 188, 0.22), inset -6px -6px 12px rgba(255, 255, 255, 0.86), 0 0 0 0.16rem rgba(220, 53, 69, 0.1);
}

.auth-submit {
  align-items: center;
  background: linear-gradient(135deg, #1167f1, #19c6a7);
  border: 0;
  border-radius: 1.1rem;
  box-shadow: 11px 11px 24px rgba(57, 92, 139, 0.32), -11px -11px 24px rgba(255, 255, 255, 0.9);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: 0.55rem;
  justify-content: center;
  min-height: 3.35rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.auth-submit:hover,
.auth-submit:focus {
  color: #fff;
  box-shadow: 15px 15px 30px rgba(57, 92, 139, 0.38), -13px -13px 26px rgba(255, 255, 255, 0.94);
  transform: translateY(-2px);
}

.auth-submit span {
  transition: transform 180ms ease;
}

.auth-submit:hover span,
.auth-submit:focus span {
  transform: translateX(3px);
}

.auth-link {
  font-weight: 900;
  text-decoration: none;
}

.auth-link:hover,
.auth-link:focus {
  text-decoration: underline;
}

@keyframes authFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes authPulse {
  0% { box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.48); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(32, 201, 151, 0); }
}

@keyframes authDrift {
  from { transform: translate3d(-1.25rem, -0.8rem, 0); }
  to { transform: translate3d(1.25rem, 0.8rem, 0); }
}

@keyframes authRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes authProgress {
  0%, 100% { transform: translateX(-8%); }
  50% { transform: translateX(14%); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-shell::before,
  .auth-hero__orb,
  .auth-hero__badge span,
  .auth-signal-dot,
  .auth-mini-dashboard,
  .auth-progress i,
  .auth-card,
  .auth-field {
    animation: none;
  }

  .auth-form .form-control,
  .auth-submit,
  .auth-submit span {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .auth-hero__title {
    max-width: 12ch;
  }
}

@media (max-width: 767.98px) {
  .auth-hero {
    display: none;
  }

  .auth-card {
    border-radius: 1.5rem;
  }
}

/* Admin and merchant control panels */
body:has(.admin-control-panel),
body:has(.merchant-control-panel) {
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(32, 201, 151, 0.10), transparent 26rem),
    #e9edf3;
}

body:has(.admin-control-panel) main,
body:has(.merchant-control-panel) main {
  padding-top: 1.5rem !important;
}

body:has(.merchant-control-panel) main {
  padding-top: 0.75rem !important;
}

.neumorphic-surface,
body:has(.admin-control-panel) .card,
body:has(.merchant-control-panel) .card,
body:has(.admin-control-panel) .alert,
body:has(.merchant-control-panel) .alert,
body:has(.admin-control-panel) .list-group,
body:has(.merchant-control-panel) .list-group,
body:has(.admin-control-panel) .pagination,
body:has(.merchant-control-panel) .pagination,
body:has(.admin-control-panel) code.d-block,
body:has(.merchant-control-panel) code.d-block {
  background: #e9edf3;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 1.35rem;
  box-shadow: 12px 12px 26px rgba(163, 177, 198, 0.54), -12px -12px 26px rgba(255, 255, 255, 0.82) !important;
}

.admin-control-panel,
.merchant-control-panel {
  margin-bottom: 1.5rem;
  padding-inline: 1rem;
}

.admin-sidebar,
.merchant-sidebar {
  display: none;
}

.admin-mobile-header,
.merchant-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
}

.merchant-mobile-header {
  padding: 0.95rem 1.1rem;
}

.admin-side-nav__label {
  color: #728197;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 1.15rem 0 0.45rem;
  text-transform: uppercase;
}

.admin-side-nav__link {
  align-items: center;
  border-radius: 1rem;
  color: #3d495a;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  padding: 0.72rem 0.85rem;
  text-decoration: none;
  transition: box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-side-nav__link:hover,
.admin-side-nav__link:focus {
  color: #0d6efd;
  transform: translateX(2px);
}

.admin-side-nav__link.active {
  background: #e9edf3;
  box-shadow: inset 6px 6px 12px rgba(163, 177, 198, 0.52), inset -6px -6px 12px rgba(255, 255, 255, 0.86);
  color: #0d6efd;
  font-weight: 700;
}

.admin-side-nav__icon {
  align-items: center;
  background: linear-gradient(145deg, #f8fbff, #d7dde8);
  border-radius: 0.85rem;
  box-shadow: 5px 5px 10px rgba(163, 177, 198, 0.45), -5px -5px 10px rgba(255, 255, 255, 0.78);
  display: inline-flex;
  flex: 0 0 2.1rem;
  height: 2.1rem;
  justify-content: center;
}

.admin-sidebar__brand,
.merchant-sidebar__brand {
  align-items: center;
  border-bottom: 1px solid rgba(114, 129, 151, 0.16);
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.admin-sidebar__mark,
.merchant-sidebar__mark {
  align-items: center;
  background: linear-gradient(145deg, #0d6efd, #6ea8fe);
  border-radius: 1.05rem;
  box-shadow: 8px 8px 16px rgba(13, 110, 253, 0.22), -8px -8px 16px rgba(255, 255, 255, 0.8);
  color: #fff;
  display: inline-flex;
  flex: 0 0 3rem;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
}

body:has(.admin-control-panel) .card,
body:has(.merchant-control-panel) .card {
  overflow: hidden;
}

body:has(.admin-control-panel) .card-header,
body:has(.merchant-control-panel) .card-header,
body:has(.admin-control-panel) .table-light,
body:has(.merchant-control-panel) .table-light,
body:has(.admin-control-panel) .list-group-item,
body:has(.merchant-control-panel) .list-group-item {
  background-color: rgba(255, 255, 255, 0.42) !important;
}

body:has(.admin-control-panel) .table-responsive,
body:has(.merchant-control-panel) .table-responsive {
  border-radius: inherit;
}

body:has(.admin-control-panel) .btn:not(.btn-link),
body:has(.merchant-control-panel) .btn:not(.btn-link),
body:has(.admin-control-panel) .form-control,
body:has(.merchant-control-panel) .form-control,
body:has(.admin-control-panel) .form-select,
body:has(.merchant-control-panel) .form-select,
body:has(.admin-control-panel) .page-link,
body:has(.merchant-control-panel) .page-link {
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 0.95rem;
  box-shadow: 5px 5px 12px rgba(163, 177, 198, 0.38), -5px -5px 12px rgba(255, 255, 255, 0.76);
}

body:has(.admin-control-panel) .form-control:focus,
body:has(.merchant-control-panel) .form-control:focus,
body:has(.admin-control-panel) .form-select:focus,
body:has(.merchant-control-panel) .form-select:focus {
  box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.35), inset -4px -4px 8px rgba(255, 255, 255, 0.82), 0 0 0 0.18rem rgba(13, 110, 253, 0.18);
}

body:has(.admin-control-panel) .btn-primary,
body:has(.merchant-control-panel) .btn-primary,
body:has(.admin-control-panel) .btn-success,
body:has(.merchant-control-panel) .btn-success,
body:has(.admin-control-panel) .btn-danger,
body:has(.merchant-control-panel) .btn-danger,
body:has(.admin-control-panel) .btn-warning,
body:has(.merchant-control-panel) .btn-warning,
body:has(.admin-control-panel) .btn-info,
body:has(.merchant-control-panel) .btn-info {
  box-shadow: 7px 7px 16px rgba(163, 177, 198, 0.44), -7px -7px 16px rgba(255, 255, 255, 0.75);
}


body:has(.merchant-control-panel) {
  background:
    radial-gradient(circle at 12% 16%, rgba(74, 144, 255, 0.2), transparent 27rem),
    radial-gradient(circle at 84% 10%, rgba(102, 232, 203, 0.22), transparent 30rem),
    radial-gradient(circle at 70% 92%, rgba(13, 110, 253, 0.12), transparent 24rem),
    linear-gradient(145deg, #eef3f9 0%, #dfe7f1 48%, #edf2f8 100%);
  color: #182235;
}

body:has(.admin-control-panel) .navbar,
body:has(.merchant-control-panel) .navbar,
body:has(.admin-control-panel) footer,
body:has(.merchant-control-panel) footer {
  background: rgba(235, 241, 248, 0.72) !important;
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.72) !important;
}

body:has(.merchant-control-panel) .merchant-sidebar,
body:has(.merchant-control-panel) .merchant-mobile-header {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(225, 234, 246, 0.86)),
    #e9edf3;
  position: relative;
}

body:has(.merchant-control-panel) .merchant-sidebar::before,
body:has(.merchant-control-panel) .merchant-mobile-header::before {
  background: radial-gradient(circle, rgba(32, 201, 151, 0.28), transparent 68%);
  border-radius: 999px;
  content: '';
  height: 8rem;
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 8rem;
  z-index: 0;
}

.merchant-sidebar > *,
.merchant-mobile-header > * {
  position: relative;
  z-index: 1;
}

.merchant-sidebar__mark {
  background: linear-gradient(145deg, #20c997, #0d6efd);
  box-shadow: 8px 8px 16px rgba(32, 201, 151, 0.24), -8px -8px 16px rgba(255, 255, 255, 0.82);
}

.merchant-sidebar__signal {
  align-items: center;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 1.15rem;
  box-shadow: inset 5px 5px 11px rgba(163, 177, 198, 0.28), inset -5px -5px 11px rgba(255, 255, 255, 0.76);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.merchant-sidebar__signal-orb {
  background: #20c997;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.42), 0 0 24px rgba(32, 201, 151, 0.68);
  display: inline-flex;
  flex: 0 0 1.15rem;
  height: 1.15rem;
  width: 1.15rem;
}

.merchant-side-nav .admin-side-nav__link.active {
  color: #087f5b;
}

.merchant-side-nav .admin-side-nav__link:hover,
.merchant-side-nav .admin-side-nav__link:focus {
  color: #087f5b;
}

.merchant-side-nav .admin-side-nav__icon {
  background: linear-gradient(145deg, #f8fffd, #d6e8e8);
}

@media (min-width: 992px) {
  body:has(.merchant-control-panel) main {
    padding-top: 0.25rem !important;
  }

  body:has(.admin-control-panel) .navbar,
  body:has(.merchant-control-panel) .navbar,
  body:has(.admin-control-panel) footer,
  body:has(.merchant-control-panel) footer {
    margin-left: 19.5rem;
  }

  .admin-control-panel,
  .merchant-control-panel {
    margin-bottom: 0;
    padding: 0;
  }

  .admin-sidebar,
  body:has(.merchant-control-panel) .merchant-sidebar {
    display: block;
    height: calc(100vh - 2rem);
    left: 1rem;
    overflow-y: auto;
    padding: 1.25rem;
    position: fixed;
    top: 1rem;
    width: 17.5rem;
    z-index: 1020;
  }

  .admin-mobile-header,
  .merchant-mobile-header {
    display: none;
  }

  .admin-control-panel ~ .container,
  .merchant-control-panel ~ .container,
  .admin-control-panel ~ .container-fluid,
  .merchant-control-panel ~ .container-fluid {
    margin-left: 20.25rem;
    max-width: calc(100% - 22rem);
    padding-left: 0;
    padding-right: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .merchant-control-panel {
    margin-bottom: 0.9rem;
  }

  .admin-control-panel ~ .container,
  .merchant-control-panel ~ .container,
  .admin-control-panel ~ .container-fluid,
  .merchant-control-panel ~ .container-fluid {
    max-width: calc(100% - 2rem);
  }
}

/* Public landing portal */
body:has(.landing-portal) {
  background:
    radial-gradient(circle at 16% 18%, rgba(74, 144, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(102, 232, 203, 0.2), transparent 28rem),
    linear-gradient(145deg, #eef3f9 0%, #dfe7f1 48%, #edf2f8 100%);
  color: #182235;
  overflow-x: hidden;
}

body:has(.landing-portal) .navbar,
body:has(.landing-portal) footer {
  background: rgba(235, 241, 248, 0.72) !important;
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.72) !important;
}

body:has(.landing-portal) .platform-brand__logo {
  filter: drop-shadow(0 0.35rem 0.7rem rgba(13, 110, 253, 0.12));
}

body:has(.landing-portal) main {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.landing-portal {
  isolation: isolate;
  min-height: calc(100vh - 73px);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6rem) 0 5rem;
  position: relative;
}

.min-vh-portal {
  min-height: min(760px, calc(100vh - 9rem));
}

.portal-grid {
  animation: portalDrift 18s ease-in-out infinite alternate;
  background-image:
    linear-gradient(rgba(43, 58, 85, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 58, 85, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  inset: -20% -10%;
  mask-image: radial-gradient(circle at center, #000 0, transparent 65%);
  position: absolute;
  z-index: -3;
}

.portal-orb {
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.65;
  position: absolute;
  z-index: -2;
}

.portal-orb--primary {
  animation: portalFloat 9s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.55), rgba(94, 234, 212, 0.48));
  height: 18rem;
  right: 8%;
  top: 9rem;
  width: 18rem;
}

.portal-orb--secondary {
  animation: portalFloat 11s ease-in-out infinite reverse;
  background: linear-gradient(135deg, rgba(116, 96, 255, 0.32), rgba(255, 255, 255, 0.8));
  bottom: 7rem;
  height: 14rem;
  left: 5%;
  width: 14rem;
}

.portal-kicker,
.portal-chip,
.portal-status-dot {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 8px 8px 18px rgba(151, 166, 188, 0.36), -8px -8px 18px rgba(255, 255, 255, 0.82);
  display: inline-flex;
}

.portal-kicker {
  background: rgba(239, 245, 252, 0.78);
  color: #31506f;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.78rem 1rem;
  text-transform: uppercase;
}

.portal-kicker__pulse {
  animation: portalPulse 1.7s ease-in-out infinite;
  background: #15c8a8;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(21, 200, 168, 0.5);
  height: 0.65rem;
  width: 0.65rem;
}

.portal-title {
  letter-spacing: -0.07em;
  line-height: 0.95;
  max-width: 11ch;
}

.fw-black {
  font-weight: 900;
}

.portal-lead {
  color: #5c6b7d;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.75;
  max-width: 42rem;
}

.portal-btn {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 1.2rem;
  display: inline-flex;
  font-weight: 800;
  gap: 0.7rem;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, color 180ms ease;
}

.portal-btn:hover,
.portal-btn:focus {
  transform: translateY(-3px);
}

.portal-btn--primary {
  background: linear-gradient(135deg, #1167f1, #19c6a7);
  box-shadow: 12px 12px 28px rgba(57, 92, 139, 0.32), -12px -12px 28px rgba(255, 255, 255, 0.86);
  color: #fff;
}

.portal-btn--primary:hover,
.portal-btn--primary:focus {
  color: #fff;
  box-shadow: 16px 16px 34px rgba(57, 92, 139, 0.38), -14px -14px 30px rgba(255, 255, 255, 0.9);
}

.portal-btn--ghost {
  background: #e9eff6;
  box-shadow: 10px 10px 22px rgba(151, 166, 188, 0.44), -10px -10px 22px rgba(255, 255, 255, 0.9);
  color: #29415f;
}

.portal-btn--ghost:hover,
.portal-btn--ghost:focus {
  color: #0d6efd;
  box-shadow: inset 7px 7px 14px rgba(151, 166, 188, 0.34), inset -7px -7px 14px rgba(255, 255, 255, 0.88);
}

.portal-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 38rem;
}

.portal-metric,
.portal-device,
.portal-feature-card {
  background: rgba(232, 239, 247, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 16px 16px 34px rgba(151, 166, 188, 0.45), -16px -16px 34px rgba(255, 255, 255, 0.88);
}

.portal-metric {
  border-radius: 1.25rem;
  padding: 1rem;
}

.portal-metric__value,
.portal-metric__label {
  display: block;
}

.portal-metric__value {
  color: #102033;
  font-size: 1.35rem;
  font-weight: 900;
}

.portal-metric__label {
  color: #6d7b8f;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.portal-device {
  animation: portalFloat 8s ease-in-out infinite;
  border-radius: 2.2rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  position: relative;
}

.portal-device::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  border-radius: inherit;
  content: '';
  inset: 1px;
  pointer-events: none;
  position: absolute;
}

.portal-device__glow {
  animation: portalGlow 5s ease-in-out infinite alternate;
  background: radial-gradient(circle, rgba(33, 196, 180, 0.36), transparent 62%);
  border-radius: 50%;
  height: 17rem;
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 17rem;
}

.portal-device__toolbar,
.portal-balance-card,
.portal-flow__node,
.portal-code-card {
  position: relative;
  z-index: 1;
}

.portal-device__toolbar {
  align-items: center;
  color: #68778b;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.portal-device__toolbar span {
  background: #c8d3df;
  border-radius: 50%;
  height: 0.7rem;
  width: 0.7rem;
}

.portal-device__toolbar strong {
  margin-left: auto;
}

.portal-balance-card,
.portal-code-card,
.portal-flow__node {
  background: rgba(242, 247, 252, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 7px 7px 16px rgba(151, 166, 188, 0.25), inset -7px -7px 16px rgba(255, 255, 255, 0.9);
}

.portal-balance-card {
  align-items: center;
  border-radius: 1.6rem;
  display: flex;
  justify-content: space-between;
  padding: 1.2rem;
}

.portal-balance-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.portal-chip {
  background: rgba(225, 255, 247, 0.8);
  color: #067f6a;
  font-weight: 900;
  padding: 0.55rem 0.8rem;
}

.portal-flow {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.portal-flow__node {
  align-items: center;
  border-radius: 1.25rem;
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
}

.portal-flow__node span {
  align-items: center;
  background: linear-gradient(145deg, #eef4fb, #d7e0eb);
  border-radius: 1rem;
  box-shadow: 6px 6px 14px rgba(151, 166, 188, 0.4), -6px -6px 14px rgba(255, 255, 255, 0.88);
  color: #0d6efd;
  display: inline-flex;
  flex: 0 0 2.75rem;
  font-weight: 900;
  height: 2.75rem;
  justify-content: center;
}

.portal-flow__node small {
  color: #738195;
  display: block;
}

.portal-flow__node.is-active {
  animation: portalNode 2.4s ease-in-out infinite;
}

.portal-code-card {
  border-radius: 1.4rem;
  padding: 1rem;
}

.portal-code-card pre {
  color: #24415f;
  font-size: 0.86rem;
}

.portal-status-dot {
  background: rgba(229, 250, 244, 0.9);
  color: #11836e;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.45rem 0.7rem;
}

.portal-feature-deck {
  margin-top: clamp(1rem, 4vw, 3rem);
}

.portal-feature-card {
  border-radius: 1.6rem;
  height: 100%;
  padding: 1.4rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.portal-feature-card:hover,
.portal-feature-card:focus-within,
.portal-feature-card--raised {
  transform: translateY(-5px);
}

.portal-feature-card:hover,
.portal-feature-card:focus-within {
  box-shadow: 20px 20px 40px rgba(151, 166, 188, 0.48), -18px -18px 38px rgba(255, 255, 255, 0.92);
}

.portal-feature-card__icon {
  align-items: center;
  background: linear-gradient(145deg, #f6faff, #d7e0eb);
  border-radius: 1.1rem;
  box-shadow: 7px 7px 16px rgba(151, 166, 188, 0.4), -7px -7px 16px rgba(255, 255, 255, 0.9);
  color: #0d6efd;
  display: inline-flex;
  font-size: 1.45rem;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1.1rem;
  width: 3rem;
}

.portal-feature-card h2 {
  font-size: 1.1rem;
  font-weight: 900;
}

.portal-feature-card p {
  color: #657487;
  margin-bottom: 0;
}

@keyframes portalFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

@keyframes portalPulse {
  0% { box-shadow: 0 0 0 0 rgba(21, 200, 168, 0.45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(21, 200, 168, 0); }
}

@keyframes portalDrift {
  from { transform: translate3d(-1.5rem, -1rem, 0) rotate(0.001deg); }
  to { transform: translate3d(1.5rem, 1rem, 0) rotate(0.001deg); }
}

@keyframes portalGlow {
  from { opacity: 0.45; transform: scale(0.94); }
  to { opacity: 0.9; transform: scale(1.08); }
}

@keyframes portalNode {
  0%, 100% { box-shadow: inset 7px 7px 16px rgba(151, 166, 188, 0.25), inset -7px -7px 16px rgba(255, 255, 255, 0.9); }
  50% { box-shadow: inset 5px 5px 12px rgba(13, 110, 253, 0.16), inset -7px -7px 16px rgba(255, 255, 255, 0.92), 0 0 0 6px rgba(13, 110, 253, 0.06); }
}

@media (prefers-reduced-motion: reduce) {
  .portal-grid,
  .portal-orb,
  .portal-kicker__pulse,
  .portal-device,
  .portal-device__glow,
  .portal-flow__node.is-active {
    animation: none;
  }

  .portal-btn,
  .portal-feature-card {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .landing-portal {
    padding-top: 2.25rem;
  }

  .portal-title {
    max-width: none;
  }

  .portal-metrics {
    grid-template-columns: 1fr;
  }
}

/* Demo store */
body:has(.demo-store-shell) {
  background:
    radial-gradient(circle at 12% 12%, rgba(42, 132, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(31, 214, 175, 0.2), transparent 26rem),
    radial-gradient(circle at 60% 100%, rgba(119, 91, 255, 0.12), transparent 26rem),
    linear-gradient(145deg, #eef3f9 0%, #dfe8f2 48%, #edf2f8 100%);
  color: #172033;
  overflow-x: hidden;
}

body:has(.demo-store-shell) .navbar,
body:has(.demo-store-shell) footer {
  background: rgba(235, 241, 248, 0.76) !important;
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.74) !important;
}

body:has(.demo-store-shell) main {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.demo-store-shell {
  isolation: isolate;
  min-height: calc(100vh - 73px);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem) 0 5rem;
  position: relative;
}

.demo-store-grid {
  animation: portalDrift 20s ease-in-out infinite alternate;
  background-image:
    linear-gradient(rgba(43, 58, 85, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 58, 85, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  inset: -20% -10%;
  mask-image: radial-gradient(circle at center, #000 0, transparent 68%);
  position: absolute;
  z-index: -3;
}

.demo-store-orb {
  border-radius: 999px;
  filter: blur(5px);
  opacity: 0.68;
  position: absolute;
  z-index: -2;
}

.demo-store-orb--primary {
  animation: portalFloat 10s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.45), rgba(32, 201, 151, 0.48));
  height: 18rem;
  right: 8%;
  top: 7rem;
  width: 18rem;
}

.demo-store-orb--secondary {
  animation: portalFloat 12s ease-in-out infinite reverse;
  background: linear-gradient(135deg, rgba(116, 96, 255, 0.3), rgba(255, 255, 255, 0.82));
  bottom: 6rem;
  height: 14rem;
  left: 4%;
  width: 14rem;
}

.demo-product-card,
.demo-events-card,
.demo-checkout-card,
.demo-product-badge,
.demo-event-summary,
.demo-event-item,
.demo-log-placeholder,
.demo-client-key,
.demo-feature {
  background: rgba(232, 239, 247, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 14px 14px 32px rgba(151, 166, 188, 0.42), -14px -14px 32px rgba(255, 255, 255, 0.9);
}

.demo-product-card,
.demo-events-card {
  border-radius: 2rem;
  overflow: hidden;
}

.demo-product-hero {
  background:
    linear-gradient(135deg, rgba(19, 31, 52, 0.94), rgba(27, 47, 77, 0.9)),
    radial-gradient(circle at 75% 20%, rgba(32, 201, 151, 0.34), transparent 18rem);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  position: relative;
}

.demo-eyebrow {
  color: #62f4d7;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-eyebrow--blue {
  color: #176be9;
}

.demo-store-title {
  letter-spacing: -0.06em;
}

.demo-stock-pill,
.demo-rating,
.demo-clear-button,
.demo-lock {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: inline-flex;
}

.demo-stock-pill {
  background: rgba(24, 199, 166, 0.16);
  box-shadow: inset 4px 4px 9px rgba(0, 0, 0, 0.2), inset -4px -4px 9px rgba(255, 255, 255, 0.08);
  color: #c9fff2;
  font-size: 0.83rem;
  font-weight: 800;
  padding: 0.72rem 1rem;
}

.demo-product-visual {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  box-shadow: inset 10px 10px 24px rgba(0, 0, 0, 0.26), inset -10px -10px 24px rgba(255, 255, 255, 0.05);
  display: flex;
  min-height: 23rem;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.demo-product-glow {
  background: radial-gradient(circle, rgba(255, 212, 129, 0.58), rgba(32, 201, 151, 0.14) 38%, transparent 68%);
  filter: blur(2px);
  height: 25rem;
  position: absolute;
  width: 25rem;
}

.demo-lamp {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(1rem);
  width: min(18rem, 80%);
  z-index: 1;
}

.demo-lamp__halo {
  background: radial-gradient(circle, rgba(255, 238, 181, 0.72), transparent 62%);
  border-radius: 50%;
  height: 12rem;
  position: absolute;
  top: -5.5rem;
  width: 12rem;
}

.demo-lamp__head {
  background: linear-gradient(145deg, #f7fafc, #aebdd1);
  border-radius: 5rem 5rem 1.5rem 1.5rem;
  box-shadow: 18px 18px 35px rgba(0, 0, 0, 0.28), -12px -12px 26px rgba(255, 255, 255, 0.12);
  height: 6.25rem;
  width: 11rem;
}

.demo-lamp__stem {
  background: linear-gradient(90deg, #9aa9bc, #f7fbff 48%, #8798ad);
  border-radius: 999px;
  height: 8.5rem;
  margin-top: -0.2rem;
  width: 1.2rem;
}

.demo-lamp__base {
  background: linear-gradient(145deg, #f7fafc, #aab9cc);
  border-radius: 50%;
  box-shadow: 16px 16px 30px rgba(0, 0, 0, 0.28), -10px -10px 24px rgba(255, 255, 255, 0.12);
  height: 3.6rem;
  width: 12rem;
}

.demo-product-badge {
  align-items: center;
  bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  position: absolute;
  right: 1.25rem;
  z-index: 2;
}

.demo-product-badge__icon,
.demo-lock {
  background: linear-gradient(145deg, #19c6a7, #0d6efd);
  color: #fff;
  justify-content: center;
}

.demo-product-badge__icon {
  align-items: center;
  border-radius: 0.9rem;
  display: inline-flex;
  flex: 0 0 2.35rem;
  height: 2.35rem;
}

.demo-product-badge small,
.demo-product-badge strong {
  display: block;
}

.demo-product-badge small {
  color: #5b6a7d;
  font-size: 0.78rem;
}

.demo-product-body,
.demo-events-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.demo-rating {
  background: #e9eff6;
  box-shadow: inset 5px 5px 11px rgba(151, 166, 188, 0.3), inset -5px -5px 11px rgba(255, 255, 255, 0.86);
  color: #f7a928;
  gap: 0.45rem;
  padding: 0.58rem 0.85rem;
}

.demo-copy {
  color: #5c6b7d;
  font-size: 1.04rem;
  line-height: 1.7;
}

.demo-feature-list {
  display: grid;
  gap: 0.8rem;
}

.demo-feature {
  align-items: center;
  border-radius: 1.1rem;
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
}

.demo-feature span {
  align-items: center;
  background: rgba(32, 201, 151, 0.14);
  border-radius: 50%;
  color: #087f5b;
  display: inline-flex;
  flex: 0 0 1.55rem;
  font-weight: 900;
  height: 1.55rem;
  justify-content: center;
}

.demo-feature p {
  color: #394960;
  font-weight: 700;
  margin: 0;
}

.demo-checkout-card {
  border-radius: 1.6rem;
  padding: 1.25rem;
}

.demo-lock {
  border-radius: 1rem;
  box-shadow: 8px 8px 18px rgba(13, 110, 253, 0.22), -8px -8px 18px rgba(255, 255, 255, 0.8);
  flex: 0 0 2.8rem;
  font-size: 1.35rem;
  height: 2.8rem;
}

.demo-order-lines {
  display: grid;
  gap: 0.85rem;
}

.demo-order-lines > div,
.demo-total-row,
.demo-client-key {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.demo-order-lines span,
.demo-client-key span {
  color: #68778a;
}

.demo-order-lines strong {
  color: #23314a;
  text-align: right;
}

.demo-total-row {
  border-top: 1px solid rgba(114, 129, 151, 0.18);
  font-size: 1.45rem;
  margin: 1.2rem 0;
  padding-top: 1rem;
}

.demo-pay-button {
  align-items: center;
  background: linear-gradient(135deg, #1167f1, #19c6a7);
  border: 0;
  border-radius: 1.1rem;
  box-shadow: 10px 10px 24px rgba(57, 92, 139, 0.3), -10px -10px 24px rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 3.45rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.demo-pay-button:hover,
.demo-pay-button:focus {
  box-shadow: 14px 14px 30px rgba(57, 92, 139, 0.38), -12px -12px 26px rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.demo-client-key {
  border-radius: 0.95rem;
  box-shadow: inset 5px 5px 11px rgba(151, 166, 188, 0.3), inset -5px -5px 11px rgba(255, 255, 255, 0.84);
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
}

.demo-client-key code {
  color: #0d6efd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-events-card {
  display: flex;
  flex-direction: column;
}

.demo-events-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.demo-clear-button {
  background: #e9eff6;
  box-shadow: 7px 7px 15px rgba(151, 166, 188, 0.38), -7px -7px 15px rgba(255, 255, 255, 0.86);
  color: #4a5b72;
  font-weight: 800;
  padding: 0.62rem 0.95rem;
  transition: box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.demo-clear-button:hover,
.demo-clear-button:focus {
  color: #0d6efd;
  transform: translateY(-1px);
}

.demo-event-summary {
  align-items: center;
  border-radius: 1.15rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
}

.demo-event-summary > div {
  align-items: center;
  color: #4f5f73;
  display: flex;
  gap: 0.65rem;
  font-weight: 800;
}

.demo-status-dot {
  animation: portalPulse 1.7s ease-in-out infinite;
  background: #20c997;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.5);
  height: 0.7rem;
  width: 0.7rem;
}

.demo-event-log {
  display: grid;
  gap: 0.9rem;
}

.demo-log-placeholder {
  align-items: center;
  border-radius: 1.35rem;
  color: #5b6a7d;
  display: flex;
  flex-direction: column;
  min-height: 19rem;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.demo-log-placeholder strong {
  color: #223049;
  margin-bottom: 0.45rem;
}

.demo-log-placeholder__icon {
  align-items: center;
  background: linear-gradient(145deg, #f7fbff, #d8e1ec);
  border-radius: 1.25rem;
  box-shadow: 8px 8px 17px rgba(151, 166, 188, 0.36), -8px -8px 17px rgba(255, 255, 255, 0.86);
  color: #0d6efd;
  display: inline-flex;
  font-size: 1.8rem;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 4rem;
}

.demo-event-item {
  align-items: center;
  border-radius: 1.15rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.demo-event-item strong,
.demo-event-item span {
  display: block;
}

.demo-event-item strong {
  color: #223049;
}

.demo-event-item span {
  color: #657487;
  font-size: 0.9rem;
}

.demo-event-item time {
  background: #e9eff6;
  border-radius: 999px;
  box-shadow: inset 4px 4px 8px rgba(151, 166, 188, 0.28), inset -4px -4px 8px rgba(255, 255, 255, 0.84);
  color: #4e5f73;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 0.65rem;
}

@media (max-width: 767.98px) {
  .demo-product-visual {
    min-height: 18rem;
  }

  .demo-product-badge {
    bottom: 0.9rem;
    left: 0.9rem;
    right: 0.9rem;
  }

  .demo-events-header,
  .demo-event-item {
    align-items: stretch;
    flex-direction: column;
  }
}


.currency-logo {
  border-radius: 999px;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

.currency-logo-sm {
  height: 20px;
  width: 20px;
}

.currency-logo-fallback {
  align-items: center;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
}
