@import url('/assets/css/customer-fonts.css');
@import url('/assets/css/payment-invoice.css');

:root {
  --bg: #f5f3fb;
  --surface: #ffffff;
  --surface-raised: #f8f6fc;
  --surface-hover: #ede8f7;
  --text: #121017;
  --text-muted: #6f677d;
  --text-dim: #9a92a6;
  --border: #eae4f2;
  --border-light: #dad3e6;
  --border-focus: #6c47ff;
  --accent: #6c47ff;
  --accent-dark: #5533e8;
  --accent-soft: #f0ebff;
  --orange: #ff6b00;
  --orange-dark: #e55a00;
  --orange-soft: #fff2e8;
  --status-success: #15724e;
  --status-success-bg: #e6f5ed;
  --status-warning: #956017;
  --status-warning-bg: #fff4d9;
  --status-danger: #b42f42;
  --status-danger-bg: #fff0f2;
  --status-info: #5f39a7;
  --status-info-bg: #f1eaff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  direction: ltr;
  text-align: left;
  font-family: var(--font-family);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 480px;
  background: linear-gradient(180deg, #ede7fa 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, a, input {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button, input, textarea, select {
  max-width: 100%;
}

a, button, input, select, textarea {
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  margin: 0 0 8px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 16px;
}

ul {
  margin-top: 0;
}

h1 { font-size: 34px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }

[hidden] {
  display: none !important;
}

/* Keep protected pages completely out of the first paint until the session is verified. */
html.auth-gate-pending body > * { visibility: hidden !important; }
html.auth-gate-pending body > :not(.auth-session-error) { display: none !important; }
html.auth-gate-pending body > .auth-session-error {
  visibility: visible !important;
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 32px; background: var(--bg); color: var(--text); text-align: center;
}
.auth-session-error h1 { font-size: 1.5rem; }
.auth-session-error p { max-width: 420px; color: var(--text-muted); }

/* Keep the shell still while only section content changes. */
.navigation-status {
  position: fixed; z-index: 9999; bottom: 112px; left: 50%; transform: translateX(-50%);
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 8px 30px #12101718; font-size: .875rem;
}
.navigation-status button { font: inherit; color: var(--accent); background: none; border: 0; font-weight: 700; cursor: pointer; }

.ui-icon {
  width: 22px;
  height: 22px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  background: var(--text);
  color: #fff;
  z-index: 1000;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.container {
  max-width: 1180px;
  width: 100%;
  padding-inline: 24px;
  margin-inline: auto;
}

@keyframes pageEnter {
  from {
    opacity: 0.96;
  }
  to {
    opacity: 1;
  }
}

.page {
  flex: 1;
  padding: 28px 0 calc(96px + env(safe-area-inset-bottom));
}

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 650px;
  margin: 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-white { color: #fff; }
.text-danger { color: var(--status-danger); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-center { text-align: center; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.tabular-nums { font-variant-numeric: tabular-nums; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.p-3 { padding: 12px; }
.pt-4 { padding-top: 16px; }
.pb-4 { padding-bottom: 16px; }
.py-2 { padding-block: 8px; }
.w-full { width: 100%; }

/* Top Header Bar */
#navbar {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: 82px;
}

.navbar {
  height: 82px;
  background: rgba(245, 243, 251, 0.98);
  border-bottom: 1px solid var(--border);
}

.nav-top-container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 82px;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -2px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(108, 71, 255, 0.28);
}

.brand-monogram span {
  color: #ffa166;
  font-size: 26px;
  margin-top: -2px;
}

.nav-brand-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.nav-brand-title small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

.nav-search-bar {
  position: relative;
  flex: 1;
  max-width: 480px;
  margin-inline: auto;
}

.nav-search-input {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(108, 71, 255, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-search-input::placeholder {
  color: var(--text-muted);
}

.nav-search-input:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.12);
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.nav-search-clear {
  position: absolute;
  right: 6px;
  top: 4px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.nav-search-clear:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.nav-wallet-link {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(108, 71, 255, 0.04);
  transition: border-color var(--transition-fast);
}

.nav-wallet-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-wallet-link .ui-icon {
  color: var(--accent);
  width: 19px;
  height: 19px;
}

.nav-wallet-link small {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-account-wrapper {
  position: relative;
}

.nav-account-btn, .icon-button {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(108, 71, 255, 0.04);
  transition: all var(--transition-fast);
}

.nav-account-btn:hover, .nav-account-btn.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: #d1c2f9;
}

/* Account Dropdown */
.nav-dropdown {
  position: absolute;
  top: 56px;
  right: 0;
  left: auto;
  width: 330px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(20, 16, 35, 0.14);
  z-index: 100;
  animation: menu-in 0.18s ease both;
}

.nav-dropdown-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 0 14px;
  min-width: 0;
}

.nav-dropdown-header > div {
  min-width: 0;
}

.nav-dropdown-header p {
  margin: 4px 0 0;
}

.dropdown-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-dropdown-user {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
  margin-top: 2px;
}

.dropdown-wallet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.dropdown-wallet small {
  font-size: 11px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  min-height: 44px;
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-item:hover, .nav-dropdown-item:focus-visible {
  background: var(--surface-raised);
  color: var(--accent);
}

.nav-dropdown-item .ui-icon {
  width: 19px;
  height: 19px;
  color: var(--text-muted);
}

.nav-dropdown-item:hover .ui-icon {
  color: var(--accent);
}

.nav-dropdown-divider {
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.dropdown-mobile-heading {
  display: none;
}

.nav-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 23, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 60;
  border: 0;
  cursor: default;
}

/* Bottom Navigation Capsule (Reference Dark Dock) */
.bottom-nav-container {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  z-index: 65;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.bottom-nav-dock {
  height: 68px;
  width: 440px;
  max-width: calc(100% - 28px);
  background: rgba(18, 18, 22, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 6px;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: auto;
  align-items: stretch;
}

.bnav-dest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8a8a96;
  gap: 3px;
  border-radius: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  min-width: 0;
  height: 100%;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid transparent;
}

.bnav-dest:active {
  transform: scale(0.96);
}

.bnav-dest:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.bnav-icon-wrap {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  transition: transform 0.16s ease;
}

.bnav-icon-wrap .ui-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  transition: color 0.2s ease, filter 0.2s ease;
}

.bnav-text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.bnav-dest.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bnav-dest.active .bnav-icon-wrap {
  transform: none;
}

.bnav-dest.active .bnav-icon-wrap .ui-icon {
  color: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.35));
}

.bnav-dest.active .bnav-text {
  font-weight: 600;
  color: #ffffff;
}

/* Hero Ad Banner (Reference Vibrant Orange Card) */
.store-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 20px;
}

.store-intro h1 {
  font-size: 32px;
  margin: 0;
}

.store-intro p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.hero-ad-section {
  margin-bottom: 32px;
}

.hero-ad-card {
  height: 310px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #ff6b00;
  box-shadow: 0 12px 36px rgba(255, 107, 0, 0.22);
}

.hero-ad-track {
  height: 100%;
  position: relative;
}

.hero-ad-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-ad-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.campaign-orange {
  background: linear-gradient(115deg, #ff8000 0%, #ff6200 45%, #f24900 100%);
  color: #fff;
}

.campaign-purple {
  background: linear-gradient(115deg, #e3d6fc 0%, #b893f0 100%);
  color: #271442;
}

.campaign-mint {
  background: linear-gradient(115deg, #bfeae2 0%, #dcf1ce 100%);
  color: #173832;
}

.hero-ad-content {
  padding: 36px 44px 42px;
  position: relative;
  z-index: 2;
}

.hero-ad-badge {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.campaign-purple .hero-ad-badge {
  background: rgba(39, 20, 66, 0.12);
  color: #271442;
}

.campaign-mint .hero-ad-badge {
  background: rgba(23, 56, 50, 0.12);
  color: #173832;
}

.hero-ad-badge .ui-icon {
  width: 15px;
  height: 15px;
}

.hero-ad-title {
  font-size: 40px;
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  max-width: 420px;
}

.campaign-purple .hero-ad-title { color: #271442; }
.campaign-mint .hero-ad-title { color: #173832; }

.hero-ad-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  max-width: 360px;
  line-height: 1.55;
}

.campaign-purple .hero-ad-desc { color: #513e6d; }
.campaign-mint .hero-ad-desc { color: #2d554c; }

.hero-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  background: #6c47ff;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  box-shadow: 0 4px 16px rgba(108, 71, 255, 0.35);
  transition: transform 0.16s ease, background 0.16s ease;
}

.hero-ad-cta:hover {
  background: #5533e8;
  transform: translateY(-2px);
}

.hero-ad-cta .ui-icon {
  width: 17px;
  height: 17px;
}

.hero-ad-indicators {
  position: absolute;
  bottom: 20px;
  left: 44px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-ad-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  position: relative;
  transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.hero-ad-dot.active {
  width: 24px;
  border-radius: 12px;
  background: #ffffff;
}

.campaign-purple .hero-ad-dot { background: rgba(39, 20, 66, 0.25); }
.campaign-purple .hero-ad-dot.active { background: #271442; }

/* 3D Floating Campaign Art */
.campaign-art {
  position: relative;
  height: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
}

.campaign-ring {
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: absolute;
  transform: rotate(-20deg);
}

.campaign-ring::after {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.campaign-app {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 2;
  background: #fff;
}

.campaign-app img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.campaign-app.primary {
  width: 148px;
  height: 148px;
  transform: rotate(-12deg);
  top: 48px;
  left: 20%;
  z-index: 3;
}

.campaign-app.secondary {
  width: 108px;
  height: 108px;
  transform: rotate(14deg);
  top: 115px;
  left: 54%;
  z-index: 2;
}

.campaign-app.third {
  width: 72px;
  height: 72px;
  transform: rotate(8deg);
  top: 30px;
  left: 58%;
  z-index: 1;
}

.campaign-app.ps { background: #052547; }
.campaign-app.ps img { filter: invert(67%) sepia(71%) saturate(929%) hue-rotate(163deg); }
.campaign-app.pr { background: #23113e; }
.campaign-app.pr img { filter: invert(67%) sepia(34%) saturate(1664%) hue-rotate(217deg); }
.campaign-app.ai { background: #472314; }
.campaign-app.ai img { filter: invert(60%) sepia(84%) saturate(683%) hue-rotate(341deg); }
.campaign-app.gpt { background: #207b63; }
.campaign-app.gpt img { filter: brightness(0) invert(1); }
.campaign-app.cv { background: #00b5c4; }
.campaign-app.cv img { filter: brightness(0) invert(1); }

.campaign-note {
  position: absolute;
  bottom: 24px;
  left: 18%;
  z-index: 4;
  background: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #271442;
  transform: rotate(-3deg);
}

.campaign-note .ui-icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

/* Category Filter Pills (Reference Styling) */
.category-section {
  margin-bottom: 28px;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 4px;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 48px;
  box-shadow: 0 2px 8px rgba(108, 71, 255, 0.03);
  transition: all var(--transition-fast);
}

.category-pill:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #d8c9f8;
}

.category-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(108, 71, 255, 0.32);
}

.category-pill .ui-icon {
  width: 20px;
  height: 20px;
}

/* Section Header (Top Picks) */
.store-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.store-section-title {
  font-size: 24px;
  margin-bottom: 2px;
}

.store-section-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.store-view-all-link {
  background: none;
  border: 0;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.store-view-all-link:hover {
  color: var(--accent-dark);
}

.store-view-all-link .ui-icon {
  width: 16px;
  height: 16px;
}

/* Product Cards Grid (Matching Reference Left Screen) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  scroll-margin-top: 105px;
}

.product-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(108, 71, 255, 0.09);
  border-color: #d1c1f7;
}

.product-card-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 0.16s, color 0.16s;
}

.product-card:hover .product-card-corner {
  background: #fff;
  color: #ff4766;
}

.product-card-corner .ui-icon {
  width: 16px;
  height: 16px;
}

.product-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card-category {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-card-currency {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

.product-card-add-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 71, 255, 0.28);
  transition: transform 0.16s, background 0.16s;
}

.product-card:hover .product-card-add-btn {
  background: var(--accent-dark);
  transform: scale(1.08);
}

.product-card-add-btn .ui-icon {
  width: 19px;
  height: 19px;
}

/* Product Artwork Tiles */
.program-art {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #ede6fa;
}

.art-orbit {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 20px;
  right: -40px;
  z-index: -1;
}

.art-orbit::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.app-logo-tile {
  width: 100px;
  height: 100px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 14px 28px rgba(60, 40, 90, 0.12);
  transform: rotate(-6deg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}

.app-logo-tile img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.product-card:hover .app-logo-tile {
  transform: rotate(0deg) scale(1.05);
}

.art-signature {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0.55;
}

.generic-app { color: var(--accent); }
.generic-app .ui-icon { width: 48px; height: 48px; }

.art-photoshop { background: #dce9f8; color: #1f548c; }
.art-photoshop .app-logo-tile { background: #082746; }
.art-photoshop .app-logo-tile img { filter: invert(66%) sepia(49%) saturate(1224%) hue-rotate(163deg); }

.art-premiere { background: #e3d6f5; color: #57357a; }
.art-premiere .app-logo-tile { background: #211038; }
.art-premiere .app-logo-tile img { filter: invert(67%) sepia(34%) saturate(1664%) hue-rotate(217deg); }

.art-illustrator { background: #fde8d4; color: #aa561b; }
.art-illustrator .app-logo-tile { background: #402112; }
.art-illustrator .app-logo-tile img { filter: invert(60%) sepia(84%) saturate(683%) hue-rotate(341deg); }

.art-openai { background: #d7ede6; color: #2a6e59; }
.art-openai .app-logo-tile { background: #237a63; }
.art-openai .app-logo-tile img { filter: brightness(0) invert(1); }

.art-canva { background: #d5eff4; color: #246b79; }
.art-canva .app-logo-tile { background: linear-gradient(135deg, #00bfc1, #7139d3); }
.art-canva .app-logo-tile img { filter: brightness(0) invert(1); }

.art-figma { background: #fae1da; color: #9d5a48; }
.art-figma .app-logo-tile { background: #2c2835; }
.art-figma .app-logo-tile img { filter: brightness(0) invert(1); }

.art-notion { background: #e6e5ec; color: #4c465d; }
.art-resolve { background: #d5e6f2; color: #3e6680; }
.art-generic { background: #ebe2f8; color: var(--accent); }

.supplied-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.has-supplied-image .art-orbit { display: none; }

.product-skeleton {
  height: 310px;
  border-radius: 24px;
  background: linear-gradient(100deg, #ede7f8 20%, #f7f3fd 50%, #ede7f8 80%);
  animation: skeleton 1.7s ease infinite;
  background-size: 220% 100%;
}

/* Store Steps */
.store-steps {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.store-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.store-step > span {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.store-step h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.store-step p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  background: #fff;
  border: 1px dashed #d1c1f7;
  border-radius: 26px;
}

.empty-state .empty-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.empty-state .empty-icon .ui-icon {
  width: 32px;
  height: 32px;
}

.empty-state h2 {
  font-size: 22px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 18px;
}

/* Core Buttons & Inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(108, 71, 255, 0.25);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
  background: var(--accent-dark);
}

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

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #f0ecfa;
  color: var(--accent-dark);
  border-color: #dfd4f5;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #e6ddf8;
}

.btn-danger {
  background: var(--status-danger);
  box-shadow: 0 4px 14px rgba(180, 47, 66, 0.25);
}

.btn-sm {
  min-height: 38px;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 10px;
}

.btn-lg {
  min-height: 52px;
  font-size: 16px;
  border-radius: 16px;
}

.btn-block {
  width: 100%;
}

.btn-buy-cta {
  background: linear-gradient(135deg, #7852ff 0%, #5d35f5 100%);
  box-shadow: 0 8px 24px rgba(108, 71, 255, 0.35);
  border-radius: 999px;
  min-height: 54px;
}

.btn-buy-cta:hover {
  background: linear-gradient(135deg, #6c44f7 0%, #5027e8 100%);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  height: 48px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.12);
  outline: none;
}

.form-control:disabled {
  background: #f3eff9;
  color: var(--text-muted);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(108, 71, 255, 0.03);
}

.card-raised {
  background: var(--surface-raised);
}

.flash {
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.flash.error {
  background: var(--status-danger-bg);
  color: var(--status-danger);
  border-color: #f3d4dc;
}

.flash.success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border-color: #c6e7d5;
}

.flash.info {
  background: var(--status-info-bg);
  color: var(--status-info);
  border-color: #d8c9f5;
}

.flash.warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border-color: #fae2b6;
}

/* Product Detail Page (Matching Reference Right Screen) */
.product-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-height: 44px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all var(--transition-fast);
}

.product-back-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-back-btn .ui-icon {
  width: 18px;
  height: 18px;
}

.product-share-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  transition: all var(--transition-fast);
}

.product-share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-share-btn .ui-icon {
  width: 18px;
  height: 18px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

.product-detail-main {
  min-width: 0;
}

.product-detail-header-row {
  margin-bottom: 20px;
}

.product-detail-title {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.product-detail-subtitle {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}

.product-detail-media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(108, 71, 255, 0.08);
}

.product-detail-media .program-art {
  height: 330px;
}

.product-detail-media .app-logo-tile {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  transform: rotate(-8deg);
}

.product-detail-price-pill {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  border-radius: 0 24px 0 0;
  display: flex;
  flex-direction: column;
  padding: 16px 26px 12px;
  gap: 2px;
  box-shadow: 4px -4px 16px rgba(0, 0, 0, 0.04);
}

.product-price-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
}

.product-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.product-rating-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-icons {
  color: #ff9f1c;
  font-size: 16px;
  letter-spacing: 2px;
}

.product-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}

.product-detail-desc-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.product-description-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  min-height: 44px;
  padding-bottom: 12px;
}

.product-description-toggle::-webkit-details-marker {
  display: none;
}

.product-description-toggle .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.product-detail-desc-block[open] .product-description-toggle .ui-icon {
  transform: rotate(180deg);
}

.product-detail-desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Purchase Sidebar */
.product-buy-card {
  position: sticky;
  top: 104px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 48px rgba(108, 71, 255, 0.07);
}

.purchase-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 18px;
}

.purchase-heading .ui-icon {
  color: var(--accent);
}

.product-buy-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.product-buy-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
}

.product-qty-stepper {
  display: flex;
  gap: 10px;
}

.product-qty-stepper .form-control {
  text-align: center;
  font-weight: 700;
  min-width: 0;
  flex: 1;
  -moz-appearance: textfield;
}

.product-qty-stepper .form-control::-webkit-inner-spin-button {
  appearance: none;
}

.qty-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--accent-soft);
  border-color: #d1c1f7;
}

.qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#order-total {
  font-size: 18px;
  color: var(--accent);
  font-weight: 800;
}

.product-perks-list {
  list-style: none;
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.product-perk-item .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--status-success);
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.order-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(108, 71, 255, 0.03);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.order-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.order-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
}

.order-logo .program-art { height: 56px; }
.order-logo .app-logo-tile { width: 36px; height: 36px; border-radius: 10px; transform: none; box-shadow: none; }
.order-logo .art-orbit, .order-logo .art-signature { display: none; }

.order-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.order-id-tag {
  color: var(--accent);
  font-family: var(--font-mono, monospace);
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.badge-fulfilled, .badge-paid, .badge-success { background: var(--status-success-bg); color: var(--status-success); }
.badge-pending, .badge-warning { background: var(--status-warning-bg); color: var(--status-warning); }
.badge-processing, .badge-info { background: var(--status-info-bg); color: var(--status-info); }
.badge-failed, .badge-rejected, .badge-danger { background: var(--status-danger-bg); color: var(--status-danger); }

.fulfillment-container {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.fulfillment-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.fulfillment-title .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--status-success);
}

.fulfillment-grid {
  display: grid;
  gap: 12px;
}

.fulfillment-field {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 14px;
}

.fulfillment-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.fulfillment-field-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.fulfillment-field-actions {
  display: flex;
  gap: 6px;
}

.fulfillment-field-value {
  font-size: 13px;
  font-family: var(--font-mono, monospace);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
}

.btn-toggle-vis, .btn-copy-action {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 8px;
  color: var(--accent);
  min-height: 32px;
  transition: all var(--transition-fast);
}

.btn-copy-action.copied {
  background: var(--status-success-bg);
  color: var(--status-success);
  border-color: #bce1ce;
}

/* Wallet Page */
.wallet-grid {
  display: grid;
  grid-template-columns: minmax(320px, 390px) 1fr;
  gap: 24px;
  align-items: start;
}

.wallet-balance-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.586 / 1;
  min-height: 215px;
  border-radius: 18px;
  padding: 20px 22px;
  background: radial-gradient(110% 110% at 90% 10%, rgba(108, 71, 255, 0.28) 0%, rgba(20, 16, 32, 0.98) 55%, #0c0a13 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
}

.wallet-balance-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(108, 71, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.wallet-balance-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 35%, rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 53%, transparent 65%);
  pointer-events: none;
}

.wallet-balance-card > div {
  position: relative;
  z-index: 1;
}

/* Card Top: Chip & Brand */
.wallet-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-card-chip-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-emv-chip {
  width: 36px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4af37 0%, #fae8a4 35%, #c59b27 70%, #94710d 100%);
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 2px 4px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(140, 106, 12, 0.7);
  overflow: hidden;
  flex-shrink: 0;
}

.wallet-emv-chip::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(130, 96, 10, 0.55);
  border-radius: 2px;
}

.wallet-emv-chip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(130, 96, 10, 0.6);
}

.wallet-nfc-wave {
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.75);
}

.wallet-card-brand-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wallet-card-brand-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #ffffff;
}

.wallet-card-pill-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

/* Card Mid Section: Balance & Account ID */
.wallet-card-mid-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 2px 0;
}

.wallet-card-balance-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wallet-card-balance-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.wallet-card-balance-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.wallet-card-currency-sym {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}

.wallet-balance-amount {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  margin: 0;
  color: #ffffff;
}

.wallet-balance-currency-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 107, 0, 0.22);
  color: #ff9d54;
  border: 1px solid rgba(255, 107, 0, 0.35);
  margin-left: 4px;
}

/* Account ID Strip (Embossed Card Number Look) */
.wallet-card-id-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-account-id-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.wallet-acc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wallet-acc-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.wallet-acc-copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Card Bottom: Holder & Live Status */
.wallet-card-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.wallet-cardholder-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  max-width: 72%;
}

.wallet-cardholder-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.wallet-cardholder-val {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.wallet-status-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.22);
  padding: 3px 8px;
  border-radius: 16px;
  white-space: nowrap;
}

.wallet-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 5px #34d399;
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.quick-amount-btn {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  padding: 8px 14px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.quick-amount-btn:hover, .quick-amount-btn.is-selected {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #d1c1f7;
}

.deposit-status-box {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-raised);
  margin-top: 20px;
  text-align: center;
}

.qr-code-img {
  width: 200px;
  height: 200px;
  margin: 20px auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.wallet-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.ledger-row:last-child {
  border-bottom: 0;
}

/* Account Info */
#account-info-box {
  padding: 28px;
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.account-avatar .ui-icon {
  width: 30px;
  height: 30px;
}

.account-shortcuts .card {
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.account-shortcuts .card:hover {
  background: var(--accent-soft);
  border-color: #d1c1f7;
}

/* ============================================================
   Artistic Split Authentication Layout
   ============================================================ */
.split-page-body {
  min-height: 100dvh;
  margin: 0;
  background-color: #f7f6fc;
  font-family: inherit;
  color: var(--text);
  overflow-x: hidden;
}

.split-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
}

/* --- Left: Authentication Side --- */
.split-auth-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 48px;
  position: relative;
  z-index: 2;
  background: #fbfaff;
}

.split-auth-content {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.split-auth-header {
  text-align: left;
}

.split-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(108, 71, 255, 0.07);
  border: 1px solid rgba(108, 71, 255, 0.14);
  color: #6c47ff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.split-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6c47ff;
  box-shadow: 0 0 8px rgba(108, 71, 255, 0.7);
}

.split-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.18;
  margin: 0 0 10px 0;
}

.split-subtitle {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Gradient Glow Google Button */
.split-auth-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-google-gradient-glow {
  position: relative;
  width: 100%;
  height: 58px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 18px;
  user-select: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-glow-border {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(135deg, #6c47ff 0%, #906bf5 50%, #ff6b00 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: filter 0.22s ease, opacity 0.22s ease;
  pointer-events: none;
}

.google-glow-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding: 8px 18px 8px 12px;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(108, 71, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-google-gradient-glow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108, 71, 255, 0.22), 0 4px 14px rgba(255, 107, 0, 0.14);
}

.btn-google-gradient-glow:hover:not(:disabled) .google-glow-border {
  filter: drop-shadow(0 0 8px rgba(108, 71, 255, 0.45));
}

.btn-google-gradient-glow:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(108, 71, 255, 0.12);
}

.btn-google-gradient-glow:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.google-icon-capsule {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 232, 240, 0.85);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-google-gradient-glow:hover:not(:disabled) .google-icon-capsule {
  transform: scale(1.05);
  background: #ffffff;
}

.google-glow-label {
  flex: 1;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.google-glow-arrow {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.btn-google-gradient-glow:hover:not(:disabled) .google-glow-arrow {
  color: #6c47ff;
  transform: translateX(4px);
}

.split-auth-msg {
  width: 100%;
}

.split-auth-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  padding-top: 8px;
}

.footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

/* --- Right: Artistic Showcase Side --- */
.split-art-side {
  background: linear-gradient(145deg, #18122c 0%, #22153f 60%, #1e1136 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
}

.art-ambient-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.art-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.art-orb-purple {
  width: 380px;
  height: 380px;
  background: #6c47ff;
  top: 15%;
  right: 10%;
}

.art-orb-orange {
  width: 320px;
  height: 320px;
  background: #ff6b00;
  bottom: 15%;
  left: 10%;
  opacity: 0.35;
}

.art-card-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
}

.art-glass-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 38px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.art-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11.5px;
  font-weight: 600;
  color: #e0d7ff;
  margin-bottom: 16px;
}

.art-glass-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffa166;
  box-shadow: 0 0 8px rgba(255, 161, 102, 0.8);
}

.art-glass-heading {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.art-glass-paragraph {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.art-glass-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.art-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* Mobile Responsive */
@media (max-width: 960px) {
  .split-layout {
    grid-template-columns: 1fr;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }
  .split-auth-side {
    padding: 40px 24px 32px;
    flex: 1;
    justify-content: center;
  }
  .split-title {
    font-size: 27px;
  }
  .split-subtitle {
    font-size: 14px;
  }
  .split-art-side {
    padding: 32px 24px calc(36px + env(safe-area-inset-bottom));
  }
  .art-glass-panel {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .art-glass-heading {
    font-size: 21px;
  }
}


/* Input Icon Wrap */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-wrap .input-lead-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
  display: grid;
  place-items: center;
  transition: color var(--transition-fast);
}

.input-icon-wrap .input-lead-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.input-icon-wrap .form-control {
  padding-left: 42px;
  padding-right: 42px;
  height: 48px;
  font-size: 14px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.input-icon-wrap:focus-within .input-lead-icon {
  color: var(--accent);
}

.input-icon-wrap .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(108, 71, 255, 0.12);
  background: #fff;
}

.input-trail-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: 0;
  padding: 6px;
  color: var(--text-dim);
  display: grid;
  place-items: center;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.input-trail-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.input-trail-btn .ui-icon {
  width: 18px;
  height: 18px;
}

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.btn-auth-submit {
  height: 48px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 8px 22px rgba(108, 71, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-auth-submit:hover:not(:disabled) {
  box-shadow: 0 10px 26px rgba(108, 71, 255, 0.38);
  transform: translateY(-1px);
}

.btn-auth-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-auth-submit .ui-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-auth-submit:hover:not(:disabled) .ui-icon {
  transform: translateX(2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--text-dim);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  min-height: 46px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.btn-google:hover {
  background: var(--surface-raised);
  border-color: var(--border);
}

.btn-google:disabled {
  opacity: 0.5;
}


.auth-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.auth-switch-link {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.auth-switch-link .ui-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.auth-switch-link:hover {
  color: var(--accent-dark);
}

.auth-switch-link:hover .ui-icon {
  transform: translateX(2px);
}

/* Support & FAQ */
.support-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  min-height: 60px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.is-open {
  border-color: #cfbeee;
  background: #faf8fd;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.support-intro-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.support-intro-icon .ui-icon {
  width: 26px;
  height: 26px;
}

/* Site Footer */
.site-footer {
  background: #ebe6f5;
  border-top: 1px solid var(--border);
  padding: 36px 0 120px;
  margin-top: auto;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
}

/* Keyframe Animations */
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes skeleton {
  to { background-position: -220% 0; }
}

/* Responsive Media Queries */
@media (min-width: 1500px) {
  .container { max-width: 1240px; }
  .hero-ad-card { height: 340px; }
  .program-art { height: 210px; }
}

@media (max-width: 1000px) {
  .nav-brand-title { display: none; }
  .nav-top-container { gap: 16px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-ad-title { font-size: 34px; }
  .hero-ad-content { padding: 28px 32px 38px; }
  .hero-ad-indicators { left: 32px; }
  .product-detail-layout { gap: 24px; grid-template-columns: 1.1fr 0.9fr; }
  .product-buy-card { padding: 24px; }
  .support-layout { grid-template-columns: 1.2fr 1fr; }
  .product-detail-media .program-art { height: 300px; }
}

@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .page { padding-top: 20px; }
  .nav-wallet-link { display: none; }
  .navbar, .nav-top-container { height: 72px; }
  #navbar { min-height: 72px; }
  .brand-monogram { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
  .nav-search-input { height: 42px; font-size: 13px; }
  .nav-search-icon { top: 11px; }
  .nav-account-btn { width: 42px; height: 42px; border-radius: 12px; }
  .hero-ad-card { height: 270px; border-radius: 24px; }
  .hero-ad-slide { grid-template-columns: 1.25fr 1fr; }
  .hero-ad-content { padding: 24px 24px 36px; }
  .hero-ad-title { font-size: 30px; }
  .hero-ad-desc { font-size: 13px; max-width: 240px; margin-bottom: 16px; }
  .campaign-app.primary { width: 110px; height: 110px; top: 48px; left: 10%; }
  .campaign-app.secondary { width: 82px; height: 82px; left: 48%; top: 120px; }
  .campaign-app.third { width: 60px; height: 60px; top: 25px; left: 55%; }
  .campaign-ring { width: 210px; height: 210px; }
  .campaign-note { bottom: 20px; left: 8%; padding: 6px 12px; font-size: 10px; }
  .product-grid { gap: 14px; }
  .program-art { height: 165px; }
  .app-logo-tile { width: 88px; height: 88px; border-radius: 22px; }
  .product-card-body { padding: 14px; }
  .product-card-title { font-size: 15px; }
  .product-card-price { font-size: 18px; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-buy-card { position: static; }
  .product-detail-media .program-art { height: 280px; }
  .product-detail-title { font-size: 28px; }
  .wallet-grid, .wallet-history-grid { grid-template-columns: 1fr; }
  .wallet-balance-card { max-width: 360px; margin: 0 auto; min-height: auto; }
  .support-layout { grid-template-columns: 1fr; }
  .store-steps { gap: 20px; }
  .store-step { flex-direction: column; }
  .store-intro p { display: none; }
  .footer-container { align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .page { padding-top: 18px; }
  .store-intro { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .hero-ad-section { margin-bottom: 20px; }
  .hero-ad-card { height: 220px; border-radius: 22px; }
  .hero-ad-slide { grid-template-columns: 1.4fr 1fr; }
  .hero-ad-content { padding: 20px 18px 32px; }
  .hero-ad-badge { display: none; }
  .hero-ad-title { font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
  .hero-ad-desc { font-size: 11px; margin-bottom: 12px; max-width: 190px; }
  .hero-ad-cta { min-height: 38px; font-size: 11px; padding: 6px 14px; }
  .hero-ad-indicators { left: 18px; bottom: 14px; }
  .campaign-app.primary { width: 82px; height: 82px; border-radius: 20px; top: 38px; left: 0; }
  .campaign-app.secondary { width: 62px; height: 62px; border-radius: 16px; top: 110px; left: 40%; }
  .campaign-app.third { width: 44px; height: 44px; border-radius: 12px; top: 20px; left: 50%; }
  .campaign-ring { width: 150px; height: 150px; left: 0; top: 35px; }
  .campaign-note { display: none; }

  /* 2-Column Square Product Grid on Mobile */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 18px; }
  .program-art { height: 142px; }
  .app-logo-tile { width: 78px; height: 78px; border-radius: 20px; }
  .product-card-body { padding: 12px; }
  .product-card-title { font-size: 14px; }
  .product-card-category { font-size: 10px; margin-bottom: 10px; }
  .product-card-price { font-size: 17px; }
  .product-card-add-btn { width: 32px; height: 32px; }
  .product-card-add-btn .ui-icon { width: 16px; height: 16px; }

  /* Mobile Bottom Nav Dock */
  .bottom-nav-container {
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(transparent, var(--bg) 75%);
    padding-top: 20px;
  }
  .bottom-nav-dock {
    margin-bottom: 10px;
    max-width: calc(100% - 24px);
    height: 66px;
    border-radius: 33px;
    padding: 5px;
    gap: 4px;
  }
  .bnav-dest { font-size: 10.5px; gap: 2px; border-radius: 27px; }
  .bnav-icon-wrap { width: 24px; height: 24px; }
  .bnav-icon-wrap .ui-icon { width: 20px; height: 20px; }

  /* Mobile Account Dropdown */
  .nav-dropdown {
    position: absolute;
    top: 52px;
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(18, 16, 23, 0.24);
  }
  .dropdown-mobile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
  }
  .account-menu-open { overflow: hidden; }

  /* Product details mobile adjustments */
  .product-detail-media .program-art { height: 240px; }
  .product-detail-media .app-logo-tile { width: 120px; height: 120px; border-radius: 28px; }
  .product-detail-price-pill { padding: 12px 18px 8px; border-radius: 0 20px 0 0; }
  .product-price-val { font-size: 20px; }
  .product-detail-title { font-size: 24px; }
  .product-buy-card { padding: 20px; border-radius: 22px; }
  .product-top-bar { margin-bottom: 16px; }

  .store-steps { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .store-step { flex-direction: row; }


}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .brand-monogram { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
  .nav-account-btn { width: 38px; height: 38px; border-radius: 10px; }
  .nav-search-input { font-size: 12px; padding-left: 36px; }
  .nav-search-icon { left: 11px; width: 17px; }
  .hero-ad-card { height: 210px; }
  .hero-ad-title { font-size: 22px; }
  .product-grid { gap: 9px; }
  .program-art { height: 130px; }
  .app-logo-tile { width: 68px; height: 68px; border-radius: 16px; }
  .product-card-body { padding: 10px; }
  .product-card-title { font-size: 13px; }
  .product-card-price { font-size: 15px; }
  .product-card-add-btn { width: 28px; height: 28px; }
  .product-card-currency { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
