:root {
  --bg-primary: #03050d;
  --bg-secondary: #080d1a;
  --surface: rgba(8, 12, 27, 0.84);
  --surface-strong: rgba(10, 14, 29, 0.96);
  --border: rgba(195, 76, 255, 0.24);
  --cyan: #ff9a3d;
  --blue: #ff625d;
  --violet: #b436ff;
  --magenta: #ff2fa4;
  --success: #58f57b;
  --warning: #ff9a3d;
  --danger: #ff5d8b;
  --text-primary: #f5f7ff;
  --text-secondary: #aeb4c3;
  --text-muted: #73798b;
  --shadow-cyan: 0 0 24px rgba(255, 98, 93, 0.34);
  --shadow-violet: 0 0 28px rgba(255, 47, 164, 0.32);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --bottom-nav-h: 96px;
  --top-chrome-h: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(39, 116, 255, 0.2), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(232, 44, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(22, 199, 255, 0.16), transparent 32%),
    linear-gradient(145deg, #01040d 0%, var(--bg-primary) 42%, #02020a 100%);
  color: var(--text-primary);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.bc-mini-app-page {
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  min-height: 100vh;
  min-height: max(100vh, 100dvh);
  overflow: hidden;
  background: var(--bg-primary);
}

body.bc-mini-app-page #page,
body.bc-mini-app-page .site,
body.bc-mini-app-page .site-content,
body.bc-mini-app-page .content-area,
body.bc-mini-app-page .entry-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.bc-mini-app-page a {
  color: inherit;
}

.dashicons,
.dashicons-before::before {
  width: auto;
  height: auto;
  font-size: inherit;
  line-height: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

#bmw-mini-app {
  width: 100vw;
  height: 100vh;
  height: max(100vh, 100dvh);
  max-width: 100vw;
  min-width: 0;
  min-height: 100vh;
  min-height: max(100vh, 100dvh);
}

.bc-stage {
  position: fixed;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100vh;
  height: max(100vh, 100dvh);
  min-height: 0;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  place-items: stretch;
}

.bc-stage::before,
.bc-stage::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}

.bc-stage::before {
  left: -16rem;
  bottom: -18rem;
  background: radial-gradient(circle, rgba(22, 199, 255, 0.16), transparent 64%);
}

.bc-stage::after {
  right: -18rem;
  top: -15rem;
  background: radial-gradient(circle, rgba(232, 44, 255, 0.13), transparent 64%);
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #02050d;
}

.phone-screen {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg-primary);
}

.dynamic-island,
.phone-button {
  display: none;
}

.mini-app {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 16, 33, 0.92), rgba(3, 7, 19, 0.98)),
    var(--bg-primary);
}

.mini-app::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(22, 199, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 53, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 52% 4%, rgba(39, 116, 255, 0.18), transparent 34%),
    radial-gradient(circle at 92% 34%, rgba(232, 44, 255, 0.12), transparent 26%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35));
}

.mini-app > * {
  position: relative;
  z-index: 1;
}

.mini-app.profile-app {
  background:
    radial-gradient(circle at 88% 2%, rgba(80, 9, 82, 0.52), transparent 33%),
    radial-gradient(circle at 90% 96%, rgba(255, 70, 103, 0.16), transparent 24%),
    linear-gradient(180deg, #03050d 0%, #050813 46%, #050915 100%);
}

.mini-app.profile-app::before {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 47, 164, 0.14), transparent 30%),
    radial-gradient(circle at 84% 92%, rgba(255, 98, 93, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 42%);
  background-size: auto;
  mask-image: none;
}

.round-icon,
.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 150, 255, 0.25);
  border-radius: 50%;
  place-items: center;
  background: rgba(4, 9, 20, 0.54);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.round-icon:hover,
.round-icon:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(22, 199, 255, 0.6);
  box-shadow: var(--shadow-cyan);
  outline: 0;
  transform: translateY(-1px);
}

.screen {
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 14px calc(var(--bottom-nav-h) + 16px);
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.section-block {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.top-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 9px;
}

.wordmark {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.bc-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(22, 199, 255, 0.48);
  border-radius: 14px;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(232, 44, 255, 0.5), transparent 44%),
    linear-gradient(135deg, rgba(22, 199, 255, 0.2), rgba(139, 53, 255, 0.2)),
    rgba(4, 9, 20, 0.86);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 900;
  box-shadow: var(--shadow-cyan), inset 0 0 18px rgba(139, 53, 255, 0.2);
}

.wordmark-copy {
  min-width: 0;
}

.wordmark-copy strong {
  display: block;
  max-width: 176px;
  overflow: hidden;
  font-size: 19px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordmark-copy span {
  color: var(--text-secondary);
  font-size: 11px;
}

.city-select {
  display: none;
  align-items: center;
  min-width: 84px;
  height: 34px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(119, 150, 255, 0.25);
  border-radius: 999px;
  background: rgba(6, 12, 26, 0.78);
  color: var(--text-primary);
}

.cart-button {
  position: relative;
}

.badge {
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(232, 44, 255, 0.5);
}

.cart-button .badge,
.bottom-nav .badge {
  position: absolute;
  top: -5px;
  right: -5px;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 46px;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(9, 17, 35, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.search-box .dashicons {
  color: var(--text-muted);
  font-size: 20px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
}

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

.hero-card,
.glass-panel,
.product-card,
.category-tile,
.cart-row,
.delivery-card,
.payment-panel,
.summary-panel,
.bonus-card,
.addon-card,
.profile-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  aspect-ratio: 3 / 1;
  min-height: 118px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 74% 32%, rgba(139, 53, 255, 0.24), transparent 42%),
    radial-gradient(circle at 18% 86%, rgba(22, 199, 255, 0.22), transparent 38%),
    rgba(3, 7, 19, 0.96);
  box-shadow:
    0 0 0 1px rgba(22, 199, 255, 0.16),
    0 0 34px rgba(39, 116, 255, 0.22),
    0 20px 42px rgba(0, 0, 0, 0.32);
}

.hero-card::after {
  content: none;
}

.asset-slot {
  position: relative;
  width: 100%;
  min-height: 84px;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 18%, rgba(39, 116, 255, 0.2), transparent 36%),
    radial-gradient(circle at 74% 66%, rgba(232, 44, 255, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(7, 16, 33, 0.98), rgba(3, 7, 19, 0.98));
}

.asset-slot img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.asset-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent, rgba(22, 199, 255, 0.06), transparent),
    radial-gradient(circle at 18% 22%, rgba(22, 199, 255, 0.12), transparent 34%);
}

.asset-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 16px;
  border: 1px dashed rgba(22, 199, 255, 0.46);
  border-radius: inherit;
  color: var(--text-secondary);
  text-align: center;
}

.asset-placeholder .dashicons {
  color: var(--cyan);
  font-size: 24px;
  filter: drop-shadow(0 0 10px rgba(22, 199, 255, 0.58));
}

.asset-placeholder strong {
  color: var(--text-primary);
  font-size: 11px;
  text-transform: uppercase;
}

.asset-placeholder code {
  max-width: 100%;
  overflow: hidden;
  color: #d8def5;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-placeholder span {
  color: var(--text-muted);
  font-size: 10px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}

.hero-visual::before {
  content: none;
}

.hero-visual .asset-placeholder {
  left: auto;
  width: min(44%, 172px);
  min-width: 140px;
  padding: 12px 10px;
  border-color: rgba(22, 199, 255, 0.34);
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background:
    radial-gradient(circle at 52% 30%, rgba(22, 199, 255, 0.18), transparent 46%),
    rgba(3, 7, 19, 0.3);
  opacity: 0.64;
}

.hero-visual .asset-placeholder code {
  max-width: 132px;
  font-size: 9px;
}

.hero-visual .asset-placeholder span {
  max-width: 120px;
  font-size: 9px;
  line-height: 1.2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
  padding: 18px 18px 20px;
  background:
    linear-gradient(90deg, rgba(3, 7, 19, 0.98), rgba(3, 7, 19, 0.88) 47%, rgba(3, 7, 19, 0.36) 78%, rgba(3, 7, 19, 0.08)),
    linear-gradient(180deg, rgba(22, 199, 255, 0.08), rgba(3, 7, 19, 0.7));
}

.eyebrow {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(22, 199, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 199, 255, 0.18), rgba(139, 53, 255, 0.22));
  color: #eaf8ff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(22, 199, 255, 0.2);
}

.hero-overlay h1,
.view-title h1,
.product-info h1,
.cart-head h1 {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.03;
}

.hero-overlay h1 {
  max-width: 232px;
  margin-top: 0;
  font-size: 31px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-overlay h1 br {
  display: block;
}

.hero-overlay .gradient-word {
  margin-left: 0;
}

.gradient-word {
  background: linear-gradient(90deg, #fff, var(--cyan) 48%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(22, 199, 255, 0.24);
}

.hero-overlay p {
  max-width: 224px;
  margin: 0 0 4px;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.34;
}

.hero-overlay .primary-button {
  width: auto;
  min-width: 128px;
  min-height: 35px;
  padding: 0 17px;
}

.primary-button,
.secondary-button,
.pill-button,
.quantity-control button,
.promo-box button {
  min-height: 36px;
  border-radius: 13px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 50%, var(--magenta));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(22, 199, 255, 0.34), 0 0 24px rgba(232, 44, 255, 0.24);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(119, 150, 255, 0.26);
  background: rgba(7, 16, 33, 0.72);
  color: var(--text-primary);
}

.hero-dots {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(245, 247, 255, 0.38);
}

.hero-dots button.active {
  width: 20px;
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.category-tile {
  position: relative;
  min-width: 0;
  min-height: 118px;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-align: left;
}

.category-tile.active,
.category-tile:hover {
  border-color: rgba(22, 199, 255, 0.64);
  box-shadow: var(--shadow-cyan);
}

.category-tile .asset-slot {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.category-tile::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 7, 19, 0.72) 0%, rgba(3, 7, 19, 0.18) 48%, rgba(3, 7, 19, 0.66) 100%),
    linear-gradient(90deg, rgba(3, 7, 19, 0.58) 0%, rgba(3, 7, 19, 0.16) 62%, rgba(3, 7, 19, 0) 100%);
}

.category-copy {
  position: relative;
  z-index: 3;
  display: grid;
  height: 100%;
  min-width: 0;
  align-content: space-between;
  gap: 6px;
  padding: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.category-copy > span:first-child {
  display: grid;
  gap: 0;
}

.category-copy strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-copy span {
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow-circle {
  display: inline-grid;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(22, 199, 255, 0.32);
  border-radius: 50%;
  place-items: center;
  color: var(--cyan);
  background: rgba(3, 7, 19, 0.46);
}

.category-tile .asset-placeholder,
.product-rail .asset-placeholder,
.cart-thumb .asset-placeholder,
.swatch .asset-placeholder,
.addon-card .asset-placeholder {
  gap: 2px;
  padding: 8px;
}

.category-tile .asset-placeholder strong,
.category-tile .asset-placeholder code,
.category-tile .asset-placeholder span,
.product-rail .asset-placeholder strong,
.product-rail .asset-placeholder code,
.product-rail .asset-placeholder span,
.cart-thumb .asset-placeholder strong,
.cart-thumb .asset-placeholder code,
.cart-thumb .asset-placeholder span,
.swatch .asset-placeholder strong,
.swatch .asset-placeholder code,
.swatch .asset-placeholder span,
.addon-card .asset-placeholder strong,
.addon-card .asset-placeholder code,
.addon-card .asset-placeholder span {
  font-size: 0;
  line-height: 0;
}

.category-tile .asset-placeholder .dashicons,
.product-rail .asset-placeholder .dashicons,
.cart-thumb .asset-placeholder .dashicons,
.swatch .asset-placeholder .dashicons,
.addon-card .asset-placeholder .dashicons {
  font-size: 17px;
}

.chip-row,
.filter-row,
.tab-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row {
  flex-wrap: wrap;
  overflow: visible;
}

.tab-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chip-row::-webkit-scrollbar,
.filter-row::-webkit-scrollbar,
.tab-row::-webkit-scrollbar {
  display: none;
}

.pill-button,
.filter-chip,
.sort-chip {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(119, 150, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.78);
  color: var(--text-secondary);
  font-size: 13px;
}

.top-actions .round-icon {
  width: 38px;
  height: 38px;
}

.pill-button.active,
.filter-chip.active,
.sort-chip.active {
  border-color: rgba(22, 199, 255, 0.62);
  background: linear-gradient(135deg, rgba(22, 199, 255, 0.18), rgba(139, 53, 255, 0.2));
  color: var(--text-primary);
  box-shadow: var(--shadow-cyan);
}

.pill-button.hot .dashicons {
  color: var(--danger);
}

.pill-button.sale .dashicons {
  color: var(--warning);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--cyan);
  font-size: 13px;
}

.product-rail {
  display: grid;
  grid-auto-columns: calc((100% - 16px) / 3);
  grid-auto-flow: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-rail .product-card {
  grid-template-rows: 74px auto;
}

.product-rail .asset-slot {
  height: 74px;
  min-height: 74px;
  aspect-ratio: auto !important;
}

.product-rail .product-body {
  gap: 2px;
  padding: 7px 8px 8px;
}

.product-rail .stock-line,
.product-rail .product-subtitle {
  display: none;
}

.product-rail .product-name {
  min-height: 32px;
  font-size: 12px;
}

.product-rail .price-row {
  margin-top: 1px;
}

.product-rail .price {
  font-size: 15px;
}

.product-rail .small-add {
  width: 32px;
  height: 30px;
  border-radius: 10px;
}

.product-rail .discount-badge {
  top: 5px;
  left: 5px;
  min-width: 34px;
  height: 20px;
  font-size: 10px;
}

.product-rail .favorite-button {
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.product-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-align: left;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(22, 199, 255, 0.58);
  box-shadow: var(--shadow-cyan), 0 18px 34px rgba(0, 0, 0, 0.3);
  outline: 0;
}

.discount-badge,
.stock-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  min-width: 42px;
  height: 24px;
  padding: 0 7px;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  color: #fff;
  font-size: 12px;
  box-shadow: 0 0 14px rgba(232, 44, 255, 0.46);
}

.favorite-button {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(3, 7, 19, 0.56);
  color: rgba(245, 247, 255, 0.78);
}

.favorite-button.active {
  color: var(--magenta);
  text-shadow: 0 0 14px rgba(232, 44, 255, 0.7);
}

.product-card .asset-slot {
  border-radius: 0;
}

.product-body {
  display: grid;
  gap: 5px;
  padding: 11px 12px 13px;
}

.stock-line {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
}

.product-name {
  min-height: 36px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.25;
}

.product-subtitle {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.price {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 900;
}

.small-add {
  display: inline-grid;
  width: 42px;
  height: 36px;
  border-radius: 12px;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  box-shadow: 0 0 16px rgba(139, 53, 255, 0.44);
}

.small-add:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  filter: grayscale(0.7);
}

.view-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.view-title h1,
.cart-head h1 {
  font-size: 30px;
}

.catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(119, 150, 255, 0.25);
  border-radius: 999px;
  background: rgba(7, 16, 33, 0.74);
  color: var(--text-primary);
  font-size: 13px;
}

.catalog-summary-panel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid rgba(119, 150, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 154, 61, 0.035)),
    rgba(7, 12, 26, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.catalog-summary-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  place-items: center;
  background: rgba(255, 154, 61, 0.12);
  color: var(--cyan);
}

.catalog-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.catalog-summary-copy strong,
.catalog-summary-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-summary-copy strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 900;
}

.catalog-summary-copy em {
  color: var(--text-secondary);
  font-size: 12px;
  font-style: normal;
}

.catalog-reset-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 154, 61, 0.34);
  border-radius: 999px;
  background: rgba(255, 154, 61, 0.1);
  color: #ffd7a8;
  font-size: 12px;
  font-weight: 900;
}

.product-detail {
  gap: 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 199, 255, 0.4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-violet);
}

.detail-hero .asset-slot {
  border-radius: var(--radius-lg);
}

.detail-floating {
  position: absolute;
  z-index: 5;
}

.detail-floating.back {
  top: 14px;
  left: 14px;
}

.detail-floating.actions {
  bottom: 18px;
  left: 14px;
  display: grid;
  gap: 9px;
}

.detail-floating.count {
  right: 14px;
  bottom: 16px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(3, 7, 19, 0.72);
  color: var(--text-primary);
  font-size: 12px;
}

.detail-floating.stock {
  top: 14px;
  right: 14px;
}

.stock-pill {
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  background: rgba(3, 7, 19, 0.7);
  color: var(--text-primary);
  font-size: 12px;
}

.stock-pill::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(88, 245, 123, 0.72);
}

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

.product-info h1 {
  font-size: 28px;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--warning);
  font-size: 14px;
}

.rating span:last-child {
  margin-left: 4px;
  color: var(--text-secondary);
}

.detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.detail-price strong {
  font-size: 29px;
}

.detail-price del {
  color: var(--text-muted);
}

.variant-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-radius: var(--radius-md);
}

.variant-panel label {
  color: var(--text-primary);
  font-size: 13px;
}

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

.swatch {
  overflow: hidden;
  border: 1px solid rgba(119, 150, 255, 0.24);
  border-radius: 13px;
  background: rgba(3, 7, 19, 0.62);
}

.swatch.active {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan), 0 0 18px rgba(232, 44, 255, 0.24);
}

.option-row,
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.option-pill,
.spec-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(119, 150, 255, 0.22);
  border-radius: 12px;
  background: rgba(7, 16, 33, 0.72);
  color: var(--text-secondary);
  font-size: 13px;
}

.option-pill.active {
  border-color: rgba(232, 44, 255, 0.74);
  color: var(--text-primary);
  box-shadow: 0 0 18px rgba(232, 44, 255, 0.3);
}

.flavor-pill {
  max-width: 100%;
  min-height: 40px;
  padding-top: 7px;
  padding-bottom: 7px;
  white-space: normal;
  line-height: 1.25;
  text-align: left;
}

.spec-pill .dashicons {
  color: var(--cyan);
}

.detail-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.product-purchase-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(119, 150, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 47, 164, 0.025)),
    rgba(7, 12, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.quantity-line,
.checkout-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 40px 52px 40px;
  align-items: center;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(119, 150, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 16, 33, 0.72);
  text-align: center;
}

.quantity-control button {
  border-radius: 999px;
  background: rgba(139, 53, 255, 0.18);
  color: var(--text-primary);
}

.quantity-control strong {
  font-size: 15px;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.related-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-stage {
  display: grid;
  gap: 14px;
  padding: 4px 0;
}

.checkout-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(119, 150, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 12, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.checkout-progress::before,
.checkout-progress::after {
  position: absolute;
  top: 27px;
  right: 24px;
  left: 24px;
  height: 2px;
  border-radius: 999px;
  content: "";
}

.checkout-progress::before {
  background: rgba(119, 150, 255, 0.18);
}

.checkout-progress::after {
  width: var(--checkout-progress-fill, 0px);
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 14px rgba(255, 98, 93, 0.28);
  transition: width 220ms ease;
}

.checkout-progress span {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.checkout-progress b {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(119, 150, 255, 0.28);
  border-radius: 12px;
  place-items: center;
  background: rgba(5, 10, 24, 0.95);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 900;
}

.checkout-progress em {
  max-width: 100%;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-progress span.done b,
.checkout-progress span.active b {
  border-color: rgba(255, 154, 61, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 154, 61, 0.18), rgba(255, 47, 164, 0.16)),
    rgba(5, 10, 24, 0.95);
  color: #ffd7a8;
  box-shadow: 0 0 16px rgba(255, 47, 164, 0.16);
}

.checkout-progress span.active {
  color: var(--text-primary);
  font-weight: 800;
}

.checkout-stage + .checkout-stage {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(119, 150, 255, 0.16);
}

.checkout-step-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.checkout-step-number {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 86, 156, 0.36);
  border-radius: 12px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 154, 61, 0.16), rgba(255, 47, 164, 0.16)),
    rgba(8, 12, 27, 0.82);
  color: #ffd7a8;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(255, 47, 164, 0.12);
}

.checkout-step-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-step-copy strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-step-copy em {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 24px 82px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
}

.check-dot {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  font-size: 14px;
}

.cart-thumb {
  border-radius: 12px;
}

.cart-meta {
  min-width: 0;
}

.cart-meta strong,
.addon-meta strong {
  display: block;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-meta span,
.addon-meta span {
  display: block;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-row-actions {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: stretch;
  gap: 10px;
}

.cart-row-actions .price {
  font-size: 20px;
  justify-self: end;
  white-space: nowrap;
}

.cart-row-actions .quantity-control {
  justify-self: center;
}

.remove-button,
.clear-button {
  background: transparent;
  color: var(--text-muted);
}

.promo-box {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  gap: 11px;
  padding: 8px 8px 8px 10px;
  border: 1px solid rgba(255, 86, 156, 0.58);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 47, 164, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 154, 61, 0.14), rgba(180, 54, 255, 0.14)),
    rgba(9, 17, 35, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 47, 164, 0.08),
    0 18px 34px rgba(255, 47, 164, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promo-box > .dashicons {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ff9a3d, #ff2fa4 62%, #b436ff);
  box-shadow: 0 0 18px rgba(255, 47, 164, 0.34);
}

.promo-box input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
}

.promo-box input::placeholder {
  color: rgba(245, 247, 255, 0.58);
  font-weight: 700;
}

.promo-box button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 154, 61, 0.56);
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.24), rgba(255, 47, 164, 0.22));
  color: #ffd7a8;
  font-weight: 900;
}

.payment-panel .promo-box {
  grid-column: 1 / -1;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.delivery-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.delivery-card {
  position: relative;
  display: grid;
  min-height: 116px;
  gap: 6px;
  padding: 10px;
  border-radius: 13px;
  text-align: left;
}

.delivery-card.active {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.delivery-card.disabled,
.delivery-card:disabled {
  cursor: not-allowed;
  border-color: rgba(112, 125, 157, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(112, 125, 157, 0.025)),
    rgba(8, 11, 20, 0.62);
  color: var(--text-muted);
  box-shadow: none;
  opacity: 0.72;
  filter: grayscale(0.75);
}

.delivery-card .dashicons {
  color: var(--magenta);
  font-size: 24px;
}

.delivery-card.disabled .dashicons,
.delivery-card:disabled .dashicons,
.delivery-card.disabled strong,
.delivery-card:disabled strong,
.delivery-card.disabled span,
.delivery-card:disabled span,
.delivery-card.disabled em,
.delivery-card:disabled em {
  color: var(--text-muted);
}

.delivery-card strong {
  font-size: 12px;
}

.delivery-card span {
  color: var(--text-secondary);
  font-size: 10px;
}

.delivery-card em {
  align-self: end;
  color: var(--text-primary);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.checkout-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.checkout-field > span {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(119, 150, 255, 0.24);
  border-radius: 11px;
  outline: 0;
  background: rgba(3, 7, 19, 0.48);
  color: var(--text-primary);
}

.checkout-field input {
  min-height: 42px;
  padding: 0 12px;
}

.checkout-field textarea {
  resize: vertical;
  padding: 10px 12px;
  line-height: 1.35;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: rgba(22, 199, 255, 0.62);
  box-shadow: var(--shadow-cyan);
}

.checkout-field input[type="file"] {
  padding: 9px;
  font-size: 12px;
}

.receipt-field {
  position: relative;
  cursor: pointer;
}

.receipt-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.receipt-upload-button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 199, 255, 0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 16%, rgba(22, 199, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(22, 199, 255, 0.12), rgba(139, 53, 255, 0.12)),
    rgba(3, 7, 19, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(22, 199, 255, 0.16);
}

.receipt-upload-button > .dashicons {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 20px rgba(22, 199, 255, 0.36);
}

.receipt-upload-button strong,
.receipt-upload-button em {
  display: block;
}

.receipt-upload-button strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 900;
}

.receipt-field:hover .receipt-upload-button,
.receipt-field:focus-within .receipt-upload-button {
  border-color: rgba(22, 199, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(22, 199, 255, 0.1),
    0 14px 32px rgba(22, 199, 255, 0.22);
}

.receipt-field.field-error .receipt-upload-button {
  border-color: rgba(255, 93, 139, 0.86);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 93, 139, 0.24), transparent 42%),
    linear-gradient(135deg, rgba(255, 93, 139, 0.18), rgba(232, 44, 255, 0.12)),
    rgba(3, 7, 19, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(255, 93, 139, 0.12),
    0 16px 34px rgba(255, 93, 139, 0.22);
  animation: receipt-field-attention 620ms ease both;
}

.receipt-field.field-error .receipt-upload-button > .dashicons {
  background: linear-gradient(135deg, #ff5d8b, var(--magenta));
  box-shadow: 0 0 22px rgba(255, 93, 139, 0.42);
}

.field-error-text {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: #ff9bb8;
  font-size: 12px;
  font-weight: 800;
}

.checkout-field em {
  color: var(--text-secondary);
  font-size: 11px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.payment-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
}

.payment-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(119, 150, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(22, 199, 255, 0.025)),
    rgba(3, 7, 19, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.payment-option:hover,
.payment-option:focus-visible {
  border-color: rgba(22, 199, 255, 0.38);
  transform: translateY(-1px);
}

.payment-option > .dashicons {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  place-items: center;
  color: var(--cyan);
  background: rgba(22, 199, 255, 0.12);
}

.payment-option.active {
  animation: payment-option-pop 260ms ease both;
  border-color: rgba(22, 199, 255, 0.55);
  background:
    radial-gradient(circle at 18% 18%, rgba(22, 199, 255, 0.18), transparent 46%),
    linear-gradient(145deg, rgba(22, 199, 255, 0.11), rgba(255, 47, 164, 0.08)),
    rgba(5, 10, 24, 0.78);
  box-shadow:
    0 0 0 1px rgba(22, 199, 255, 0.16),
    0 18px 34px rgba(22, 199, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.payment-option strong {
  display: block;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-option span {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
}

.radio-dot {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(245, 247, 255, 0.35);
  border-radius: 50%;
}

.payment-option.active .radio-dot {
  animation: radio-pop 240ms ease both;
  border: 5px solid var(--cyan);
  background: #fff;
  box-shadow: 0 0 14px rgba(22, 199, 255, 0.55);
}

.payment-details-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-height: 400px;
  padding: 12px;
  border: 1px solid rgba(245, 247, 255, 0.1);
  border-radius: 14px;
  background: rgba(3, 7, 19, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.payment-details-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.payment-method-mark {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.bank-mark {
  background: linear-gradient(135deg, #e31e24, #ff625d);
  box-shadow: 0 0 20px rgba(227, 30, 36, 0.24);
}

.crypto-mark {
  background: linear-gradient(135deg, #19b37e, #16c7ff);
  box-shadow: 0 0 18px rgba(25, 179, 126, 0.3);
}

.payment-details-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.payment-details-copy strong {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
}

.payment-details-copy em {
  color: var(--text-secondary);
  font-size: 12px;
  font-style: normal;
}

.bank-route-card,
.crypto-route-card {
  display: grid;
  align-items: stretch;
  gap: 8px;
  min-height: 84px;
  padding: 8px;
  border: 1px solid rgba(245, 247, 255, 0.08);
  border-radius: 12px;
  background: rgba(245, 247, 255, 0.035);
}

.bank-route-card {
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
}

.route-node {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 12px;
}

.route-node em {
  color: rgba(245, 247, 255, 0.56);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.route-node strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kaspi-node {
  background: linear-gradient(135deg, #e31e24, #ff4f3f);
  box-shadow: 0 0 20px rgba(227, 30, 36, 0.16);
}

.freedom-node {
  background: #fff;
}

.freedom-node em {
  color: rgba(13, 21, 34, 0.48);
}

.bank-brand {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.bank-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.kaspi-brand-mark {
  background: linear-gradient(135deg, #fff, #ffd7d2);
  color: #e31e24;
  box-shadow: 0 8px 18px rgba(227, 30, 36, 0.18);
}

.freedom-brand-mark {
  background: linear-gradient(135deg, #ff2234, #d90d21);
  box-shadow: 0 8px 18px rgba(217, 13, 33, 0.2);
}

.bank-brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.bank-brand-copy strong,
.bank-brand-copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bank-brand-copy strong {
  font-size: 17px;
  font-weight: 900;
}

.bank-brand-copy small {
  font-size: 11px;
  font-weight: 800;
}

.kaspi-brand-copy strong,
.kaspi-brand-copy small {
  color: #fff;
}

.kaspi-brand-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.freedom-brand-copy strong,
.freedom-brand-copy small {
  color: #121722;
}

.freedom-brand-copy small {
  color: rgba(18, 23, 34, 0.58);
}

.route-arrow {
  display: grid;
  align-self: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(22, 199, 255, 0.24);
  border-radius: 50%;
  place-items: center;
  color: var(--cyan);
  background: rgba(22, 199, 255, 0.1);
  animation: route-arrow-pulse 1700ms ease-in-out infinite;
}

.crypto-route-card {
  grid-template-columns: 58px minmax(0, 1fr);
}

.crypto-coin {
  display: grid;
  width: 58px;
  min-height: 58px;
  border-radius: 14px;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #19b37e, #16c7ff);
}

.crypto-route-copy {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.crypto-route-copy strong,
.crypto-route-copy em {
  display: block;
}

.crypto-route-copy strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 900;
}

.crypto-route-copy em {
  color: var(--text-secondary);
  font-size: 12px;
  font-style: normal;
}

.payment-requisites {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 176px;
}

.payment-requisite {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(245, 247, 255, 0.08);
  border-radius: 11px;
  background: rgba(3, 7, 19, 0.42);
}

.payment-requisite:first-child {
  grid-column: auto;
}

.payment-requisite > span:first-child {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-requisite-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.payment-requisite strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 900;
}

.payment-requisite.monospace strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

.copy-requisite {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 10px;
  place-items: center;
  color: var(--cyan);
  background: rgba(22, 199, 255, 0.12);
  transition:
    background 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.copy-requisite .dashicons {
  position: relative;
  z-index: 2;
}

.copy-pulse {
  position: absolute;
  inset: 50%;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(88, 245, 123, 0.44);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
}

.copy-requisite:hover,
.copy-requisite:focus-visible {
  color: #fff;
  background: rgba(22, 199, 255, 0.28);
  transform: translateY(-1px);
}

.copy-requisite.copied {
  animation: copy-button-pop 360ms ease both;
  color: #07130b;
  background: var(--success);
  box-shadow: 0 0 18px rgba(88, 245, 123, 0.42);
}

.copy-requisite.copied .copy-pulse {
  animation: copy-pulse-ring 620ms ease-out both;
}

.copy-requisite.failed {
  animation: copy-button-shake 320ms ease both;
  color: #fff;
  background: rgba(255, 93, 139, 0.38);
}

.payment-details-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes payment-details-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes copy-button-pop {
  0% {
    transform: scale(0.94);
  }

  52% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes copy-pulse-ring {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(7);
  }
}

@keyframes copy-button-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-2px);
  }

  70% {
    transform: translateX(2px);
  }
}

@keyframes payment-option-pop {
  0% {
    transform: scale(0.985);
  }

  70% {
    transform: scale(1.012);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes radio-pop {
  from {
    transform: scale(0.72);
  }

  to {
    transform: scale(1);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes route-arrow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(22, 199, 255, 0);
  }

  50% {
    box-shadow: 0 0 18px rgba(22, 199, 255, 0.28);
  }
}

@keyframes receipt-field-attention {
  0% {
    transform: translateX(0);
  }

  18% {
    transform: translateX(-4px);
  }

  36% {
    transform: translateX(4px);
  }

  54% {
    transform: translateX(-3px);
  }

  72% {
    transform: translateX(3px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-option,
  .payment-option.active,
  .payment-option.active .radio-dot,
  .payment-details-card,
  .route-node,
  .route-arrow,
  .receipt-field.field-error .receipt-upload-button,
  .bottom-nav::before,
  .copy-requisite {
    animation: none;
    transition: none;
  }

  .payment-option:hover,
  .payment-option:focus-visible,
  .copy-requisite:hover,
  .copy-requisite:focus-visible {
    transform: none;
  }
}

.safe-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 12px;
}

.bonus-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.bonus-card,
.summary-panel {
  padding: 12px;
  border-radius: 13px;
}

.bonus-card {
  display: grid;
  gap: 6px;
  background:
    radial-gradient(circle at 70% 24%, rgba(232, 44, 255, 0.24), transparent 42%),
    var(--surface);
}

.bonus-toggle-card {
  position: relative;
  width: 100%;
  border: 1px solid rgba(119, 150, 255, 0.24);
  color: var(--text-primary);
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bonus-toggle-card.active {
  border-color: rgba(22, 199, 255, 0.66);
  box-shadow: var(--shadow-cyan);
}

.bonus-card strong {
  font-size: 13px;
}

.bonus-card b {
  font-size: 28px;
}

.bonus-card span {
  color: var(--text-secondary);
  font-size: 12px;
}

.bonus-use-button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid rgba(255, 154, 61, 0.5);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.22), rgba(255, 47, 164, 0.2));
  color: #ffd7a8;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 47, 164, 0.16);
}

.bonus-use-button.active {
  border-color: rgba(88, 245, 123, 0.42);
  background: rgba(88, 245, 123, 0.12);
  color: var(--success);
}

.bonus-use-button:disabled {
  cursor: not-allowed;
  border-color: rgba(119, 150, 255, 0.16);
  background: rgba(119, 150, 255, 0.08);
  color: var(--text-muted);
  box-shadow: none;
}

.summary-panel {
  display: grid;
  gap: 7px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

.summary-line.success {
  color: var(--success);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 900;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.addon-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 13px;
}

.checkout-sticky {
  position: static;
  z-index: 8;
}

.checkout-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.checkout-actions .checkout-button:only-child {
  grid-column: 1 / -1;
}

.checkout-back-button {
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(119, 150, 255, 0.24);
  border-radius: 16px;
  background: rgba(8, 12, 27, 0.74);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 900;
}

.checkout-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 45%, var(--magenta));
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(22, 199, 255, 0.45), 0 0 28px rgba(232, 44, 255, 0.3);
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

html,
body {
  background:
    radial-gradient(circle at 86% 4%, rgba(80, 9, 82, 0.48), transparent 31%),
    radial-gradient(circle at 88% 92%, rgba(255, 70, 103, 0.14), transparent 24%),
    linear-gradient(180deg, #03050d 0%, #050813 46%, #050915 100%);
}

.bc-stage::before {
  background: radial-gradient(circle, rgba(255, 98, 93, 0.13), transparent 64%);
}

.bc-stage::after {
  background: radial-gradient(circle, rgba(255, 47, 164, 0.16), transparent 64%);
}

.bc-mark,
.round-icon,
.icon-button {
  border-color: rgba(255, 86, 156, 0.36);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 154, 61, 0.28), transparent 38%),
    linear-gradient(145deg, rgba(255, 45, 151, 0.15), rgba(180, 54, 255, 0.1)),
    rgba(6, 9, 20, 0.78);
  box-shadow:
    0 0 18px rgba(255, 47, 164, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.round-icon:hover,
.round-icon:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(255, 98, 93, 0.62);
  box-shadow: var(--shadow-cyan), var(--shadow-violet);
}

.bc-mark {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 204, 87, 0.85), transparent 40%),
    linear-gradient(145deg, #ff7d43 0%, #ff2d97 64%, #b436ff 100%);
}

.badge,
.discount-badge,
.small-add,
.check-dot {
  background: linear-gradient(135deg, #ff9a3d 0%, #ff625d 38%, #ff2fa4 72%, #b436ff 100%);
  box-shadow: 0 0 18px rgba(255, 47, 164, 0.42);
}

.hero-card,
.glass-panel,
.product-card,
.category-tile,
.cart-row,
.delivery-card,
.payment-panel,
.summary-panel,
.bonus-card,
.addon-card,
.contact-panel,
.profile-panel {
  border-color: rgba(195, 76, 255, 0.24);
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.035), rgba(255, 47, 164, 0.045)),
    rgba(8, 12, 27, 0.84);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-card {
  background:
    radial-gradient(circle at 83% 22%, rgba(255, 98, 93, 0.58), transparent 30%),
    radial-gradient(circle at 78% 58%, rgba(255, 47, 164, 0.28), transparent 44%),
    linear-gradient(128deg, #070b18 0%, #080a16 52%, #210a2f 100%);
  box-shadow:
    0 0 0 1px rgba(255, 97, 126, 0.18),
    0 0 28px rgba(180, 54, 255, 0.2),
    0 20px 42px rgba(0, 0, 0, 0.34);
}

.hero-card .asset-slot img {
  filter: hue-rotate(125deg) saturate(1.08) brightness(0.92);
}

.hero-card .asset-slot::before {
  background:
    linear-gradient(90deg, rgba(3, 5, 13, 0.56), rgba(255, 47, 164, 0.2), rgba(255, 98, 93, 0.12)),
    radial-gradient(circle at 82% 46%, rgba(255, 154, 61, 0.18), transparent 38%);
}

.detail-hero {
  border-color: rgba(255, 86, 156, 0.36);
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 98, 93, 0.28), transparent 34%),
    rgba(8, 12, 27, 0.88);
  box-shadow: var(--shadow-violet), 0 20px 42px rgba(0, 0, 0, 0.34);
}

.asset-slot {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 98, 93, 0.18), transparent 34%),
    radial-gradient(circle at 22% 74%, rgba(255, 47, 164, 0.12), transparent 40%),
    linear-gradient(145deg, rgba(8, 12, 27, 0.98), rgba(3, 5, 13, 0.98));
}

.asset-slot::before {
  background:
    linear-gradient(120deg, transparent, rgba(255, 98, 93, 0.06), transparent),
    radial-gradient(circle at 18% 22%, rgba(255, 47, 164, 0.12), transparent 34%);
}

.asset-placeholder {
  border-color: rgba(255, 86, 156, 0.38);
  background:
    radial-gradient(circle at 48% 32%, rgba(255, 47, 164, 0.14), transparent 42%),
    rgba(8, 12, 27, 0.32);
}

.asset-placeholder .dashicons,
.spec-pill .dashicons,
.empty-state .dashicons {
  color: var(--magenta);
  filter: drop-shadow(0 0 12px rgba(255, 47, 164, 0.48));
}

.asset-placeholder strong,
.asset-placeholder code,
.asset-placeholder span:not(.dashicons) {
  display: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 13, 0.98), rgba(3, 5, 13, 0.82) 48%, rgba(74, 14, 55, 0.28) 78%, rgba(255, 47, 164, 0.08)),
    linear-gradient(180deg, rgba(255, 98, 93, 0.08), rgba(3, 5, 13, 0.72));
}

.eyebrow,
.pill-button.active,
.filter-chip.active,
.sort-chip.active,
.option-pill.active,
.swatch.active,
.delivery-card.active,
.bonus-toggle-card.active {
  border-color: rgba(255, 86, 156, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 154, 61, 0.14), rgba(255, 47, 164, 0.18)),
    rgba(8, 12, 27, 0.78);
  color: var(--text-primary);
  box-shadow: var(--shadow-cyan), var(--shadow-violet);
}

.eyebrow {
  color: #ffffff;
}

.gradient-word {
  background: linear-gradient(90deg, #ffffff, #ff9a3d 42%, #ff2fa4 76%, #b436ff);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 24px rgba(255, 47, 164, 0.22);
}

.primary-button,
.checkout-button {
  background: linear-gradient(135deg, #ff9a3d 0%, #ff625d 36%, #ff2fa4 72%, #b436ff 100%);
  box-shadow:
    0 0 22px rgba(255, 98, 93, 0.34),
    0 0 26px rgba(255, 47, 164, 0.3);
}

.secondary-button,
.select-pill,
.pill-button,
.filter-chip,
.sort-chip,
.option-pill,
.spec-pill,
.quantity-control,
.checkout-field input,
.checkout-field textarea {
  border-color: rgba(195, 76, 255, 0.24);
  background: rgba(8, 12, 27, 0.74);
}

.search-box,
.promo-box {
  border-color: rgba(255, 86, 156, 0.58);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 47, 164, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(255, 154, 61, 0.14), rgba(180, 54, 255, 0.14)),
    rgba(8, 12, 27, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 47, 164, 0.08),
    0 18px 34px rgba(255, 47, 164, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promo-box button {
  border-color: rgba(255, 154, 61, 0.56);
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.24), rgba(255, 47, 164, 0.22));
  color: #ffd7a8;
}

.category-tile.active,
.category-tile:hover,
.product-card:hover,
.product-card:focus-visible,
.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: rgba(255, 86, 156, 0.58);
  box-shadow: var(--shadow-cyan), var(--shadow-violet), 0 18px 34px rgba(0, 0, 0, 0.3);
}

.arrow-circle {
  border-color: rgba(255, 86, 156, 0.32);
  background: rgba(3, 5, 13, 0.48);
  color: #ff8ab8;
}

.link-button,
.safe-pay {
  color: #ff8ab8;
}

.favorite-button.active {
  color: #ff5d8b;
  text-shadow: 0 0 14px rgba(255, 47, 164, 0.7);
}

.quantity-control button {
  background: rgba(255, 47, 164, 0.13);
}

.stock-pill,
.detail-floating.count {
  background: rgba(3, 5, 13, 0.7);
}

.payment-option.active .radio-dot {
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(22, 199, 255, 0.55);
}

.bonus-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 47, 164, 0.22), transparent 42%),
    linear-gradient(128deg, rgba(255, 255, 255, 0.035), rgba(255, 98, 93, 0.045)),
    rgba(8, 12, 27, 0.84);
}

.hero-dots button.active {
  background: #ff5d8b;
  box-shadow: var(--shadow-cyan);
}

.delivery-card .dashicons,
.rating {
  color: var(--warning);
}

.profile-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.profile-wallet {
  --wallet-orange: #ff9a3d;
  --wallet-coral: #ff625d;
  --wallet-pink: #ff2fa4;
  --wallet-purple: #b436ff;
  --wallet-panel: rgba(8, 12, 27, 0.84);
  gap: 14px;
  padding: 30px 6px 12px;
}

.wallet-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 0;
}

.profile-wallet .wallet-title h1 {
  font-size: 34px;
  font-weight: 900;
}

.wallet-title-pill {
  display: inline-flex;
  width: 44px;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#090b17, #090b17) padding-box,
    linear-gradient(135deg, var(--wallet-orange), var(--wallet-pink) 58%, var(--wallet-purple)) border-box;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 47, 164, 0.28);
  white-space: nowrap;
}

.wallet-panel {
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.wallet-card {
  position: relative;
  display: grid;
  min-height: 178px;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 18px 18px 18px;
  border: 1px solid rgba(218, 53, 255, 0.48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 19%, rgba(255, 139, 58, 0.72), transparent 25%),
    radial-gradient(circle at 78% 37%, rgba(255, 51, 83, 0.62), transparent 34%),
    radial-gradient(circle at 80% 66%, rgba(255, 47, 164, 0.42), transparent 45%),
    linear-gradient(128deg, #070b18 0%, #080a16 48%, #220a30 100%);
  box-shadow:
    0 0 0 1px rgba(255, 97, 126, 0.18),
    0 0 28px rgba(180, 54, 255, 0.22),
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wallet-card::before {
  position: absolute;
  top: -22%;
  right: -18%;
  width: 62%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 196, 87, 0.38), rgba(255, 59, 109, 0.44) 35%, rgba(255, 47, 164, 0.2) 58%, transparent 72%);
  pointer-events: none;
  content: "";
  filter: blur(4px);
}

.wallet-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.wallet-card-lines {
  position: absolute;
  right: -31%;
  bottom: -74%;
  width: 92%;
  height: 130%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center,
      transparent 0 42%,
      rgba(255, 255, 255, 0.07) 42.2% 42.7%,
      transparent 43% 58%,
      rgba(255, 75, 177, 0.1) 58.2% 58.7%,
      transparent 59% 73%,
      rgba(255, 255, 255, 0.055) 73.2% 73.7%,
      transparent 74%);
  opacity: 0.82;
  pointer-events: none;
  transform: rotate(-24deg);
}

.wallet-card-top {
  position: relative;
  z-index: 2;
  display: block;
  min-width: 0;
  padding-right: 72px;
}

.wallet-eyebrow {
  position: relative;
  z-index: 2;
  color: #ff4da0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-chip {
  display: inline-flex;
  justify-self: start;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 80, 172, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(255, 47, 164, 0.08);
  white-space: nowrap;
}

.wallet-amount {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.wallet-balance {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 54px;
  font-weight: 900;
  line-height: 0.92;
}

.wallet-label {
  position: relative;
  z-index: 2;
  color: #a9afc1;
  font-size: 14px;
}

.wallet-mark {
  position: absolute;
  top: 20px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 174, 67, 0.36);
  border-radius: 18px;
  place-items: center;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 204, 87, 0.9), transparent 38%),
    linear-gradient(145deg, #ff7d43 0%, #ff2d97 62%, #b436ff 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  box-shadow:
    0 0 0 8px rgba(255, 47, 164, 0.08),
    0 0 24px rgba(255, 70, 143, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.wallet-progress {
  display: grid;
  gap: 13px;
  min-height: 72px;
  padding: 15px 16px;
  border: 1px solid rgba(195, 76, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 47, 164, 0.07)),
    var(--wallet-panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.wallet-progress-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  color: #b3b8c7;
  font-size: 12px;
}

.wallet-progress-copy span {
  white-space: nowrap;
}

.wallet-progress-copy strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.wallet-progress-bar {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(96, 44, 104, 0.54);
}

.wallet-progress-bar i {
  display: block;
  width: 84.5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wallet-orange) 0%, #ff456c 34%, var(--wallet-pink) 70%, var(--wallet-purple) 100%);
  box-shadow: 0 0 18px rgba(255, 47, 164, 0.5);
}

.wallet-rate {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 80, 126, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 77, 160, 0.13), transparent 44%),
    rgba(8, 13, 26, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.25);
}

.wallet-rate-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 17px;
  place-items: center;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 207, 89, 0.85), transparent 38%),
    linear-gradient(145deg, #ff7b43, #ff2d97 66%, #b436ff);
  color: #ffffff;
  font-size: 23px;
  box-shadow: 0 0 18px rgba(255, 47, 164, 0.36);
}

.wallet-rate strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.wallet-rate span {
  color: #aeb4c3;
  font-size: 11px;
  line-height: 1.35;
}

.wallet-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wallet-stats span {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 10px 8px;
  border: 1px solid rgba(195, 76, 255, 0.22);
  border-radius: 15px;
  background: rgba(8, 14, 29, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.wallet-stats b {
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-stats em {
  overflow: hidden;
  color: #9fa6b8;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-history {
  display: grid;
  gap: 12px;
  padding: 14px 12px;
  border: 1px solid rgba(195, 76, 255, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.035), rgba(255, 47, 164, 0.045)),
    rgba(8, 12, 27, 0.8);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.wallet-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wallet-history-head strong {
  color: #ffffff;
  font-size: 16px;
}

.wallet-history-head span {
  color: #9fa6b8;
  font-size: 11px;
  white-space: nowrap;
}

.wallet-history-list {
  display: grid;
  gap: 10px;
}

.wallet-transaction {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(112, 125, 157, 0.2);
  border-radius: 16px;
  background: rgba(5, 9, 20, 0.56);
}

.wallet-transaction.pending {
  border-color: rgba(255, 154, 61, 0.28);
}

.wallet-transaction-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  place-items: center;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 207, 89, 0.75), transparent 38%),
    linear-gradient(145deg, #ff7b43, #ff2d97 66%, #b436ff);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 47, 164, 0.28);
}

.wallet-transaction.debit .wallet-transaction-icon {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(145deg, #4f566a, #222839);
}

.wallet-transaction-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.wallet-transaction-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-transaction-copy span {
  overflow: hidden;
  color: #aeb4c3;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-transaction-copy em {
  color: #7f8799;
  font-size: 10px;
  font-style: normal;
}

.wallet-transaction-amount {
  display: grid;
  justify-items: end;
  color: #6dff98;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.wallet-transaction-amount.negative {
  color: #ff8ab8;
}

.wallet-transaction-amount span {
  color: #80889a;
  font-size: 9px;
  font-weight: 700;
}

.wallet-steps {
  display: grid;
  gap: 10px;
}

.wallet-steps span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 5px 12px;
  border: 1px solid rgba(112, 125, 157, 0.24);
  border-radius: 17px;
  background: rgba(8, 14, 29, 0.72);
  color: #c7ccd8;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.wallet-steps em {
  min-width: 0;
  color: #c7ccd8;
  font-style: normal;
}

.wallet-steps b {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 10px;
  place-items: center;
  background:
    linear-gradient(#0a0d18, #0a0d18) padding-box,
    linear-gradient(145deg, var(--wallet-orange), var(--wallet-pink) 64%, var(--wallet-purple)) border-box;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 47, 164, 0.18);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 18px;
  color: var(--text-secondary);
  text-align: center;
}

.empty-state .dashicons {
  color: var(--cyan);
  font-size: 34px;
  filter: drop-shadow(0 0 16px rgba(22, 199, 255, 0.56));
}

.bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  min-height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding: 8px 10px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(119, 128, 160, 0.22);
  background:
    linear-gradient(180deg, rgba(11, 17, 31, 0.9), rgba(6, 10, 22, 0.98)),
    rgba(3, 7, 19, 0.94);
  box-shadow:
    0 -18px 34px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.bottom-nav::before {
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 4;
  width: calc((100% - 20px) / 5);
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #ff9a3d, #ff2fa4 58%, #b436ff);
  box-shadow:
    0 0 14px rgba(255, 98, 93, 0.54),
    0 0 22px rgba(255, 47, 164, 0.42);
  content: "";
  pointer-events: none;
  transform: translateX(var(--nav-offset, 0%));
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bottom-nav::after {
  position: absolute;
  right: 50%;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  width: 136px;
  height: 5px;
  border-radius: 999px;
  background: rgba(216, 220, 232, 0.62);
  content: "";
  transform: translateX(50%);
}

.nav-item {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  overflow: visible;
  align-content: center;
  justify-items: center;
  gap: 3px;
  min-height: 56px;
  border-radius: 14px;
  background: transparent;
  color: #8b91a1;
  font-size: 11px;
}

.nav-item span:not(.dashicons):not(.badge) {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item .dashicons {
  color: #8b91a1;
  font-size: 25px;
  filter: drop-shadow(0 0 0 transparent);
}

.nav-item.active {
  color: #ff5d8b;
  text-shadow: 0 0 18px rgba(255, 47, 164, 0.46);
}

.nav-item.active .dashicons {
  color: #ff625d;
  filter:
    drop-shadow(0 0 8px rgba(255, 98, 93, 0.62))
    drop-shadow(0 0 16px rgba(255, 47, 164, 0.36));
}

.nav-item.active::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 72px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 98, 93, 0.8) 0%, rgba(255, 47, 164, 0.36) 42%, transparent 72%);
  filter: blur(2px);
  transform: translateX(-50%);
}

.age-gate {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 18%, rgba(39, 116, 255, 0.28), transparent 32%),
    radial-gradient(circle at 62% 78%, rgba(232, 44, 255, 0.18), transparent 35%),
    rgba(3, 7, 19, 0.96);
}

.age-panel {
  display: grid;
  width: min(348px, calc(100% - 32px));
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(22, 199, 255, 0.36);
  border-radius: 24px;
  background: rgba(9, 17, 35, 0.86);
  box-shadow: var(--shadow-cyan), var(--shadow-violet), 0 20px 50px rgba(0, 0, 0, 0.48);
  text-align: center;
  backdrop-filter: blur(20px);
}

.age-panel .bc-mark {
  justify-self: center;
}

.age-panel h2 {
  margin: 0;
  font-size: 25px;
}

.age-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.age-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.toast {
  position: absolute;
  right: 16px;
  bottom: calc(var(--bottom-nav-h) + 16px);
  z-index: 40;
  max-width: calc(100% - 32px);
  padding: 11px 14px;
  border: 1px solid rgba(88, 245, 123, 0.36);
  border-radius: 999px;
  background: rgba(5, 20, 18, 0.92);
  color: var(--success);
  font-size: 13px;
  box-shadow: 0 0 18px rgba(88, 245, 123, 0.28);
}

@media (max-width: 520px) {
  .screen {
    padding-right: 14px;
    padding-left: 14px;
  }

  .payment-panel {
    grid-template-columns: 1fr;
  }

  .payment-option {
    min-height: 66px;
  }

  .bank-route-card {
    grid-template-columns: 1fr;
  }

  .route-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .bank-brand {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .bank-brand-mark {
    width: 38px;
    height: 38px;
  }

  .promo-box {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .promo-box > .dashicons {
    width: 38px;
    height: 38px;
  }

  .promo-box button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .payment-requisites {
    grid-template-columns: 1fr;
  }

  .payment-requisite {
    min-height: 58px;
  }

  .receipt-upload-button {
    min-height: 76px;
  }
}

@media (max-width: 374px) {
  .screen {
    padding-right: 12px;
    padding-left: 12px;
  }

  .profile-wallet {
    gap: 12px;
    padding: 24px 0 10px;
  }

  .wallet-title {
    margin-bottom: 8px;
  }

  .wallet-card {
    min-height: 184px;
    padding: 18px 17px;
  }

  .wallet-balance {
    font-size: 50px;
  }

  .wallet-progress {
    min-height: 72px;
    padding: 15px 13px;
  }

  .wallet-progress-copy {
    font-size: 12px;
  }

  .wallet-progress-copy strong {
    font-size: 13px;
  }

  .wallet-rate {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    min-height: 80px;
    padding: 14px;
  }

  .wallet-rate-icon {
    width: 42px;
    height: 42px;
  }

  .wallet-rate span {
    font-size: 12px;
  }

  .wallet-steps span {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    font-size: 13px;
  }

  .hero-overlay h1 {
    font-size: 29px;
  }

  .product-grid,
  .home-product-grid,
  .related-rail {
    gap: 10px;
  }

  .price {
    font-size: 18px;
  }

  .cart-row {
    grid-template-columns: 22px 70px minmax(0, 1fr);
  }

  .cart-row-actions {
    grid-column: 2 / -1;
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    align-items: center;
  }

  .checkout-grid,
  .bonus-summary,
  .detail-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 760px) {
  .bc-stage {
    place-items: center;
    padding: 18px;
  }

  .phone-shell {
    width: min(430px, calc(100vw - 48px));
    height: min(900px, calc(100svh - 36px));
    min-height: 0;
    padding: 10px;
    border: 1px solid rgba(190, 210, 255, 0.45);
    border-radius: 58px;
    background:
      linear-gradient(135deg, rgba(190, 210, 255, 0.22), rgba(255, 255, 255, 0.04) 34%, rgba(39, 116, 255, 0.16)),
      #070a12;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.06),
      inset 0 0 0 1px rgba(255, 255, 255, 0.18),
      0 38px 80px rgba(0, 0, 0, 0.58),
      0 0 80px rgba(39, 116, 255, 0.18);
  }

  .phone-shell::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(39, 116, 255, 0.28);
    border-radius: 54px;
    pointer-events: none;
  }

  .phone-screen {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 48px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.78);
  }

  .mini-app {
    width: 100%;
    border-radius: 47px;
  }

  .screen {
    padding-top: 64px;
  }

  .dynamic-island {
    position: absolute;
    top: 21px;
    left: 50%;
    z-index: 60;
    display: block;
    width: 116px;
    height: 33px;
    border-radius: 999px;
    background: #000;
    box-shadow: inset 34px 0 28px rgba(255, 255, 255, 0.02), 0 1px 1px rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .dynamic-island::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 16px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle, #0f5cff 0 20%, #02040c 58%);
    box-shadow: 0 0 8px rgba(39, 116, 255, 0.7);
  }

  .phone-button {
    position: absolute;
    display: block;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(220, 230, 255, 0.75), rgba(39, 116, 255, 0.28));
  }

  .phone-button.left-1 {
    top: 158px;
    left: -3px;
    height: 58px;
  }

  .phone-button.left-2 {
    top: 236px;
    left: -3px;
    height: 86px;
  }

  .phone-button.right-1 {
    top: 268px;
    right: -3px;
    height: 104px;
  }
}
