:root {
  --store-yellow: #ffff33;
  --store-yellow-soft: #fff95c;
  --store-black: #0a0a0a;
  --store-ink: #151515;
  --store-coral: #e45d58;
  --store-coral-dark: #ca4946;
  --page-white: #ffffff;
  --page-soft: #f4f4ef;
  --page-muted: #656565;
  --page-line: rgba(10, 10, 10, 0.12);
  --wallet-blue: #22d3ee;
  --wallet-purple: #a855f7;
  --wallet-content-gutter: clamp(16px, 1.6vw, 24px);
  --wallet-page-max-width: 1480px;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: #ffff33;
  color: #0a0a0a;
}

.wallet-app-body,
.wallet-auth-body,
.wallet-terms-body {
  font-family: Montserrat, Arial, sans-serif;
  color: #151515;
  -webkit-font-smoothing: antialiased;
}

.wallet-app-body {
  background: #f4f4ef !important;
}
.wallet-app-body #grid {
  display: none;
}
.wallet-app-body .dashboard-layout {
  background: #f4f4ef;
}
.wallet-app-body .dashboard-content {
  width: calc(100% - 260px);
  margin-left: 260px;
  padding: 30px var(--wallet-content-gutter) 52px;
  background: radial-gradient(circle at 98% 4%, rgba(255, 255, 51, 0.34), transparent 19rem), radial-gradient(circle at 2% 94%, rgba(228, 93, 88, 0.11), transparent 24rem), linear-gradient(rgba(10, 10, 10, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, 0.025) 1px, transparent 1px), #f4f4ef;
  background-size: 28px 28px;
  scrollbar-color: #e45d58 transparent;
  scroll-padding-top: 24px;
}
.wallet-app-body.sidebar-collapsed .dashboard-content {
  width: calc(100% - 82px);
  margin-left: 82px;
}
.wallet-app-body .page-container {
  width: min(100%, var(--wallet-page-max-width));
  margin-inline: auto;
}
.wallet-app-body :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.7);
  outline-offset: 3px;
}

/* Shared navigation */
.wallet-app-body .sidebar {
  background: #0a0a0a;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 12px 0 34px rgba(10, 10, 10, 0.16);
}

.sidebar-logo-icon,
.sidebar-profile-avatar,
.header-profile-button span {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 3px 3px 0 #e45d58 !important;
}

.sidebar-logo-copy strong {
  color: #ffffff !important;
}

.sidebar-logo-copy small,
.sidebar-group-label {
  color: rgba(255, 255, 255, 0.48) !important;
}

.sidebar-collapse-button {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

.sidebar .nav-item {
  color: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
}
.sidebar .nav-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}
.sidebar .nav-item.active {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #ffff33 !important;
  box-shadow: 4px 4px 0 #e45d58;
}

.sidebar .nav-icon-wrap {
  color: inherit !important;
  background: transparent !important;
}

.sidebar .nav-badge {
  background: #e45d58 !important;
  color: #ffffff !important;
}

.sidebar-store-cta {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 5px 5px 0 #e45d58 !important;
}

.sidebar-profile-box {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.sidebar-profile-info strong {
  color: #ffffff !important;
}

.sidebar-profile-info small {
  color: rgba(255, 255, 255, 0.52) !important;
}

.desktop-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.12) !important;
  box-shadow: 0 5px 20px rgba(10, 10, 10, 0.05) !important;
}
.desktop-header::after {
  background: linear-gradient(90deg, #ffff33 0 46%, #e45d58 46% 70%, #0a0a0a 70%) !important;
  height: 3px !important;
}

.desktop-header-copy h2 {
  color: #0a0a0a !important;
  font-weight: 900 !important;
}

.desktop-header-copy p {
  color: #656565 !important;
}

.header-cashback-pill {
  position: relative;
  overflow: hidden;
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
}
.header-cashback-pill::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 30%;
  transform: skewX(-20deg);
  background: rgba(255, 255, 255, 0.68);
  animation: wallet-pill-gleam 6s ease-in-out infinite;
  pointer-events: none;
}

.header-cashback-copy small,
.header-cashback-copy strong {
  color: #0a0a0a !important;
}

.header-store-button {
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
  box-shadow: 4px 4px 0 #e45d58 !important;
}

.mobile-header {
  background: #ffff33 !important;
  border-bottom-color: #0a0a0a !important;
  backdrop-filter: none !important;
}

.mobile-header::after {
  background: #e45d58 !important;
}

.mobile-header-copy > span,
.mobile-header-copy strong {
  color: #0a0a0a !important;
}

.menu-btn,
.mobile-wallet-button {
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
}

.mobile-bottom-nav {
  background: #0a0a0a !important;
  border-top-color: rgba(255, 255, 255, 0.14) !important;
}

.mobile-bottom-nav > a {
  color: rgba(255, 255, 255, 0.58) !important;
}

.mobile-bottom-nav > a.active {
  color: #ffff33 !important;
}

.mobile-cashback-orb {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 3px 3px 0 #e45d58 !important;
}

/* Common application components */
.wallet-kicker,
.section-kicker,
.eyebrow,
.guide-section-kicker,
.history-kicker,
.profile-card-kicker,
.balance-eyebrow,
.orders-eyebrow,
.guide-eyebrow,
.profile-eyebrow {
  color: #ca4946 !important;
  font-weight: 900 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase;
}

.wallet-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #0a0a0a;
  border-radius: 8px;
  font: 800 13px/1 Montserrat, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.wallet-primary-button:hover {
  transform: translate(-2px, -2px);
}
.wallet-primary-button:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.45);
  outline-offset: 3px;
}
.wallet-primary-button {
  background: #ffff33;
  color: #0a0a0a;
  box-shadow: 5px 5px 0 #e45d58;
}

.wallet-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid #0a0a0a;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.13);
}
.wallet-notice > svg {
  flex: 0 0 auto;
}
.wallet-notice div {
  display: grid;
  gap: 3px;
}
.wallet-notice strong {
  color: #0a0a0a;
  font-size: 13px;
}
.wallet-notice span {
  color: #656565;
  font-size: 12px;
}
.wallet-notice.success {
  border-left: 5px solid #168a50;
}
.wallet-notice.error {
  border-left: 5px solid #c23b37;
}

.wallet-page-hero {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #0a0a0a;
  border-radius: 9px;
  color: #ffffff;
  background: radial-gradient(circle at 88% 15%, rgba(168, 85, 247, 0.35), transparent 28%), #0a0a0a;
  box-shadow: 8px 8px 0 #e45d58;
  overflow: hidden;
}
.wallet-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.018) 18px 19px);
  pointer-events: none;
}
.wallet-page-hero > * {
  position: relative;
  z-index: 1;
}
.wallet-page-hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  color: #ffffff;
  font-size: clamp(30px, 4.5vw, 57px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.wallet-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}
.wallet-page-hero .wallet-kicker {
  color: #ffff33 !important;
}

.wallet-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.wallet-stat-grid article {
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 17px;
}
.wallet-stat-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: #ffff33;
  color: #0a0a0a;
}
.wallet-stat-grid article div {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.wallet-stat-grid small {
  color: #656565;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wallet-stat-grid strong {
  overflow: hidden;
  color: #0a0a0a;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-toolbar {
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 13px;
}
.wallet-toolbar > label {
  display: flex;
  min-width: min(100%, 380px);
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 7px;
  background: #f4f4ef;
}
.wallet-toolbar input {
  width: 100%;
  min-height: 42px;
  border: 0;
  outline: 0;
  color: #0a0a0a;
  background: transparent;
  font: 600 13px Montserrat, sans-serif;
}
.wallet-toolbar label button {
  display: grid;
  border: 0;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.orders-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.orders-filters button,
.cashback-filters button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(10, 10, 10, 0.12) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #151515 !important;
  font: 800 11px Montserrat, sans-serif;
  cursor: pointer;
}

.orders-filters button.active,
.cashback-filters button.is-active {
  background: #0a0a0a !important;
  color: #ffff33 !important;
  border-color: #0a0a0a !important;
}

.orders-result-bar {
  color: #656565 !important;
}

.orders-result-bar span:first-child {
  color: #0a0a0a !important;
  font-weight: 800;
}

/* Grouped purchase history */
.purchase-order-list {
  display: grid;
  gap: 15px;
}

.purchase-order-card {
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.purchase-order-summary {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(190px, 1fr) minmax(120px, 0.45fr) minmax(120px, 0.45fr) auto auto;
  align-items: center;
  gap: 17px;
  padding: 19px;
  border: 0;
  color: #151515;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}
.purchase-order-summary:hover {
  background: #fffef0;
}
.purchase-order-summary[aria-expanded=true] {
  background: #ffff33;
  border-bottom: 1px solid #0a0a0a;
}
.purchase-order-summary[aria-expanded=true] .order-expand {
  transform: rotate(180deg);
}

.order-symbol,
.product-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #0a0a0a;
  border-radius: 7px;
  background: #0a0a0a;
  color: #ffff33;
}

.order-main,
.order-amount,
.order-cashback {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.order-main small,
.order-amount small,
.order-cashback small {
  color: #656565;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-main strong,
.order-amount strong,
.order-cashback strong {
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 900;
}

.order-main > span,
.order-cashback > span {
  overflow: hidden;
  color: #656565;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.07);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-status.completed {
  background: rgba(22, 138, 80, 0.12);
  color: #168a50;
}

.order-status.cancelled,
.order-status.refunded {
  background: rgba(194, 59, 55, 0.11);
  color: #c23b37;
}

.order-expand {
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.purchase-order-details {
  padding: 21px;
  background: #f4f4ef;
}

.order-detail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.order-detail-heading h2 {
  margin: 5px 0 0;
  color: #0a0a0a;
  font-size: 20px;
}

.order-detail-heading > span {
  color: #656565;
  font-size: 11px;
}

.order-product-list {
  display: grid;
  gap: 10px;
}

.order-product-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 7px;
  background: #ffffff;
}

.product-copy h3 {
  margin: 1px 0 7px;
  color: #0a0a0a;
  font-size: 15px;
}

.product-copy > p {
  margin: 0;
  color: #656565;
  font-size: 11px;
}

.delivery-message {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding: 11px;
  border-left: 3px solid #e45d58;
  background: #f4f4ef;
}

.delivery-message.updated {
  border-left-color: #168a50;
}

.delivery-message svg {
  flex: 0 0 auto;
  color: #ca4946;
}

.delivery-message strong {
  color: #0a0a0a;
  font-size: 11px;
}

.delivery-message p {
  margin: 3px 0 0;
  color: #656565;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-line;
}

.product-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.product-actions a,
.request-again-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #0a0a0a;
  border-radius: 8px;
  font: 800 13px/1 Montserrat, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.product-actions a:hover,
.request-again-button:hover {
  transform: translate(-2px, -2px);
}
.product-actions a:focus-visible,
.request-again-button:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.45);
  outline-offset: 3px;
}
.product-actions a,
.request-again-button {
  min-height: 37px;
  padding: 0 12px;
  font-size: 10px;
}

.product-actions a {
  background: #0a0a0a;
  color: #ffffff;
}

.request-again-button {
  background: #ffff33;
  color: #0a0a0a;
}

.request-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 7px;
  background: #fff4ce;
  color: #7a5500;
  font-size: 10px;
  font-weight: 800;
}

.wallet-empty-state,
.orders-no-results {
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(228, 93, 88, 0.88);
  max-width: 720px;
  margin: 34px auto;
  padding: clamp(30px, 7vw, 70px);
  text-align: center;
}

.wallet-empty-state > span:first-child {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 9px;
  background: #ffff33;
  color: #0a0a0a;
}

.wallet-empty-state h1,
.orders-no-results h2 {
  margin: 8px 0;
  color: #0a0a0a;
  font-size: clamp(28px, 5vw, 46px);
}

.wallet-empty-state p,
.orders-no-results p {
  margin: 0 auto 22px;
  color: #656565;
  line-height: 1.7;
}

@media (hover: hover) {
  .wallet-stat-grid article,
  .purchase-order-card,
  .quick-action,
  .coupon-option,
  .guide-step-card,
  .coupon-cap-card,
  .discount-example {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }
  .wallet-stat-grid article:hover,
  .purchase-order-card:hover,
  .quick-action:hover,
  .coupon-option:hover,
  .guide-step-card:hover,
  .coupon-cap-card:hover,
  .discount-example:hover {
    transform: translateY(-3px);
    border-color: #0a0a0a !important;
    box-shadow: 4px 4px 0 rgba(228, 93, 88, 0.72) !important;
  }
}
/* Existing dashboard surfaces recoloured into the Store system */
.welcome-section,
.guide-hero,
.balance-hero,
.profile-hero {
  border: 1px solid #0a0a0a !important;
  border-radius: 9px !important;
  box-shadow: 8px 8px 0 #e45d58 !important;
}

.welcome-section,
.guide-hero {
  background-color: #0a0a0a !important;
}

.purchase-ticker {
  background: #ffff33 !important;
  border-color: #0a0a0a !important;
  color: #0a0a0a !important;
}

.purchase-ticker * {
  color: #0a0a0a !important;
}

.summary-card,
.progress-card,
.section-card,
.how-it-works-card,
.quick-action,
.cashback-history-card,
.balance-summary-card,
.profile-main-card,
.profile-side-card,
.guide-section,
.guide-step-card,
.coupon-cap-card,
.discount-example,
.guide-faq-item {
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
  color: #151515 !important;
  box-shadow: none !important;
}

:is(.summary-card, .progress-card, .section-card, .how-it-works-card, .quick-action, .cashback-history-card, .balance-summary-card, .profile-main-card, .profile-side-card, .guide-section, .guide-step-card, .coupon-cap-card, .discount-example) :is(h1, h2, h3, strong) {
  color: #0a0a0a !important;
}

:is(.summary-card, .progress-card, .section-card, .how-it-works-card, .quick-action, .cashback-history-card, .balance-summary-card, .profile-main-card, .profile-side-card, .guide-section, .guide-step-card, .coupon-cap-card, .discount-example) :is(p, small, span) {
  border-color: rgba(10, 10, 10, 0.12);
}

.summary-card.balance-card :is(h1, h2, h3, strong) {
  color: #ffffff !important;
}

.summary-card.balance-card :is(p, .summary-label) {
  color: #cbd5e1 !important;
}

.balance-hero,
.profile-hero {
  background: #ffff33 !important;
  color: #0a0a0a !important;
}

.balance-hero :is(h1, h2, h3, p, span, strong),
.profile-hero :is(h1, h2, h3, p, span, strong) {
  color: #0a0a0a !important;
}

.profile-hero .profile-completion {
  background: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 5px 5px 0 #e45d58 !important;
  backdrop-filter: none;
}

.profile-hero .profile-completion .completion-heading > div > span,
.profile-hero .profile-completion > p {
  color: rgba(255, 255, 255, 0.64) !important;
}

.profile-hero .profile-completion .completion-heading strong {
  color: #ffffff !important;
}

.profile-hero .profile-completion .completion-icon {
  background: #ffff33 !important;
  color: #0a0a0a !important;
}

.profile-hero .profile-completion .completion-track {
  background: rgba(255, 255, 255, 0.17) !important;
}

.wallet-balance-card,
.guide-wallet-card {
  background: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 6px 6px 0 #e45d58 !important;
}

.wallet-balance-card *,
.guide-wallet-card * {
  color: #ffffff;
}

.balance-hero .wallet-balance-card :is(span, strong, small) {
  color: #ffffff !important;
}

.balance-hero .wallet-balance-card :is(header small, .wallet-balance-value span, footer span) {
  color: #cbd5e1 !important;
}

.balance-hero .wallet-balance-card footer strong {
  color: #86efac !important;
}

.coupon-option {
  border-color: #0a0a0a !important;
}

.coupon-option.unlocked {
  box-shadow: 5px 5px 0 #e45d58 !important;
}

.coupon-option.unlocked .coupon-button,
.cashback-claim-button,
.profile-save-button,
.guide-button-primary,
.balance-primary-action {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 4px 4px 0 #e45d58 !important;
}

.coupon-progress-track,
.progress-track,
.completion-track {
  background: rgba(10, 10, 10, 0.12) !important;
}

.coupon-progress-track span,
.progress-fill,
.completion-track span {
  background: linear-gradient(90deg, #e45d58, #ffff33) !important;
}

.cashback-table th,
.table-wrapper th {
  background: #0a0a0a !important;
  color: #ffff33 !important;
}

.cashback-table td,
.table-wrapper td {
  background: #ffffff;
  color: #151515 !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
}

.cashback-search,
.profile-input-wrap {
  background: #f4f4ef !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
}

.profile-input-wrap input,
.profile-input-wrap textarea {
  background: #f4f4ef !important;
  color: #0a0a0a !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
}

.profile-detail-item {
  background: #f4f4ef !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
}

.profile-detail-item:hover {
  background: #ffffff !important;
  border-color: #0a0a0a !important;
}

/* Authentication */
.wallet-auth-body {
  min-height: 100vh;
  background: radial-gradient(circle at clamp(40px, calc(50% - 555px), 470px) 20%, rgba(168, 85, 247, 0.18), transparent 30%), #0a0a0a !important;
}

.wallet-auth-body .auth-page {
  background: transparent !important;
}

.wallet-auth-body .auth-brand-icon {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  box-shadow: 4px 4px 0 #e45d58 !important;
}

.wallet-auth-body .auth-brand-text strong {
  color: #ffffff !important;
}

.wallet-auth-body .auth-brand-text small {
  color: #ffff33 !important;
}

.auth-information .auth-badge {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #ffff33 !important;
}

.auth-information h1 {
  color: #ffffff !important;
}

.auth-information h1 span {
  color: #ffff33 !important;
}

.auth-information > p {
  color: rgba(255, 255, 255, 0.66) !important;
}

.auth-feature {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.auth-feature > svg,
.auth-feature > i {
  color: #ffff33 !important;
}

.auth-feature strong {
  color: #ffffff !important;
}

.auth-feature span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.auth-card {
  background: #ffffff !important;
  border: 1px solid #0a0a0a !important;
  border-radius: 9px !important;
  box-shadow: 9px 9px 0 #e45d58 !important;
}

.auth-card-icon {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

.auth-card-heading h2,
.auth-form label {
  color: #0a0a0a !important;
}

.auth-card-heading p,
.auth-field-help,
.auth-terms {
  color: #656565 !important;
}

.auth-input-wrapper,
.auth-otp-input {
  background: #f4f4ef !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
  color: #0a0a0a !important;
}

.auth-input-wrapper input {
  color: #0a0a0a !important;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #0a0a0a;
  border-radius: 8px;
  font: 800 13px/1 Montserrat, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.auth-submit:hover {
  transform: translate(-2px, -2px);
}
.auth-submit:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.45);
  outline-offset: 3px;
}
.auth-submit {
  width: 100%;
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 5px 5px 0 #e45d58 !important;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-label-row a,
.auth-back-link,
.auth-resend-form button {
  color: #ca4946;
  font-weight: 800;
}

.auth-password-field > svg {
  margin-left: 13px;
  color: #656565;
}

.auth-password-field button {
  display: grid;
  width: 42px;
  border: 0;
  place-items: center;
  color: #0a0a0a;
  background: transparent;
  cursor: pointer;
}

.auth-first-time {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding: 13px;
  border: 1px solid #0a0a0a;
  border-radius: 7px;
  background: #ffff33;
}

.auth-first-time > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: #0a0a0a;
  color: #ffff33;
}

.auth-first-time div {
  display: grid;
  gap: 3px;
}

.auth-first-time strong {
  color: #0a0a0a;
  font-size: 11px;
}

.auth-first-time p {
  margin: 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: 9px;
}

.auth-first-time a {
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.auth-alert-success {
  background: rgba(22, 138, 80, 0.1) !important;
  border-color: rgba(22, 138, 80, 0.35) !important;
  color: #168a50 !important;
}

.auth-single-layout {
  align-items: center;
}

.auth-otp-input {
  width: 100%;
  min-height: 66px;
  padding: 0 15px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  font: 900 28px/1 Montserrat, sans-serif;
  letter-spacing: 0.42em;
  text-align: center;
}

.auth-resend-form {
  margin-top: 14px;
  text-align: center;
}

.auth-resend-form button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  text-decoration: none;
}

/* Terms */
.wallet-terms-body {
  background: #f4f4ef !important;
}

.wallet-terms-body .terms-page {
  max-width: 1040px;
}

.wallet-terms-body .terms-header,
.wallet-terms-body .terms-hero {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

.wallet-terms-body .terms-hero {
  box-shadow: 8px 8px 0 #e45d58 !important;
}

.wallet-terms-body .terms-header {
  border-bottom: 1px solid #0a0a0a !important;
}

.wallet-terms-body .terms-brand-icon {
  background: #0a0a0a !important;
  color: #ffff33 !important;
  box-shadow: 4px 4px 0 #e45d58 !important;
}

.wallet-terms-body .terms-brand-text :is(strong, small) {
  color: #0a0a0a !important;
}

.wallet-terms-body .terms-login-button {
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
  box-shadow: 4px 4px 0 #e45d58 !important;
}

.wallet-terms-body .terms-content,
.wallet-terms-body .terms-section {
  background: #ffffff !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
  color: #151515 !important;
}

.wallet-terms-body .terms-content {
  border: 1px solid rgba(10, 10, 10, 0.12) !important;
  border-radius: 8px !important;
}

.wallet-terms-body .terms-highlight {
  background: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

.wallet-terms-body .terms-highlight :is(h2, p, strong) {
  color: #ffffff !important;
}

.wallet-terms-body .terms-highlight-icon {
  background: #ffff33 !important;
  color: #0a0a0a !important;
}

.wallet-terms-body :is(h1, h2, h3, strong) {
  color: #0a0a0a !important;
}

.wallet-terms-body .terms-section h2 {
  border-left: 5px solid #ffff33;
  padding-left: 12px;
}

.wallet-terms-body .terms-primary-button {
  background: #ffff33 !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  box-shadow: 5px 5px 0 #e45d58 !important;
}

.wallet-terms-body .terms-secondary-button {
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

@keyframes wallet-pill-gleam {
  0%, 70%, 100% {
    left: -45%;
  }
  82% {
    left: 120%;
  }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .wallet-page-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .wallet-page-hero .wallet-primary-button {
    width: auto;
  }
  .wallet-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .wallet-toolbar > label {
    width: 100%;
    min-width: 100%;
  }
}
@media (max-width: 1100px) {
  .wallet-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .purchase-order-summary {
    grid-template-columns: auto minmax(180px, 1fr) minmax(110px, 0.45fr) auto auto;
  }
  .purchase-order-summary .order-cashback {
    display: none;
  }
}
@media (max-width: 900px) {
  .wallet-app-body .dashboard-content,
  .wallet-app-body.sidebar-collapsed .dashboard-content {
    width: 100%;
    margin-left: 0;
    padding: 18px 14px calc(92px + env(safe-area-inset-bottom));
  }
  .wallet-page-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 19px;
    box-shadow: 5px 5px 0 #e45d58;
  }
  .wallet-page-hero .wallet-primary-button {
    width: 100%;
  }
  .wallet-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .wallet-toolbar > label {
    min-width: 100%;
  }
  .purchase-order-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    padding: 15px;
  }
  .purchase-order-summary .order-amount,
  .purchase-order-summary .order-cashback,
  .purchase-order-summary .order-status {
    display: none;
  }
  .purchase-order-details {
    padding: 13px;
  }
  .order-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .order-product-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .product-actions {
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .product-actions > * {
    flex: 1 1 145px;
  }
  .auth-first-time {
    grid-template-columns: auto 1fr;
  }
  .auth-first-time a {
    grid-column: 2;
  }
}
@media (max-width: 580px) {
  .wallet-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .wallet-stat-grid article {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px;
  }
  .wallet-stat-grid article > span {
    width: 34px;
    height: 34px;
  }
  .wallet-stat-grid strong {
    font-size: 17px;
  }
  .orders-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .orders-filters button {
    flex: 0 0 auto;
  }
  .order-symbol {
    width: 38px;
    height: 38px;
  }
  .order-main strong {
    font-size: 13px;
  }
  .order-product-card {
    grid-template-columns: 1fr;
  }
  .product-symbol {
    width: 38px;
    height: 38px;
  }
  .auth-otp-input {
    font-size: 23px;
    letter-spacing: 0.3em;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
