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

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #0a0d12;
  --text: #0b1018;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #cfd5df;
  --black: #05070a;
  --white: #ffffff;
  --accent: #111827;
  --blue: #145cf2;
  --red: #ef3f2f;
  --green: #16a34a;
  --amber: #f59e0b;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, .06);
  --shadow-md: 0 18px 46px rgba(15, 23, 42, .10);
  --shadow-lg: 0 28px 90px rgba(15, 23, 42, .16);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

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

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 18% -10%, rgba(255,255,255,.98), transparent 32rem),
    radial-gradient(circle at 78% 8%, rgba(226,232,240,.55), transparent 30rem),
    linear-gradient(180deg, #ffffff 0, #f3f5f8 210px, #f4f6f9 100%);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img,
svg,
video {
  max-width: 100%;
  display: block;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin-inline: auto;
}

.page-shell {
  flex: 1 0 auto;
  width: min(var(--container), calc(100vw - 32px));
  margin-inline: auto;
  padding: 26px 0 58px;
}

.muted,
.section-subtitle {
  color: var(--muted);
}

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

.auth-honeypot {
  display: none !important;
}

.relative { position: relative; }
.absolute { position: absolute; }
.block { display: block; }
.flex { display: flex; }
.items-center { align-items: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.transition-all { transition-property: all; }
.duration-200 { transition-duration: .2s; }
.duration-300 { transition-duration: .3s; }

.card,
.panel,
.form-card,
.summary-box,
.table-wrap,
.account-sidebar,
.account-content,
.detail-card,
.product-card,
.checkout-card,
.confirm-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.btn,
button.btn,
a.btn,
.auth-submit,
.auth-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 24px rgba(5, 7, 10, .14);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover,
.auth-submit:hover,
.auth-secondary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(5, 7, 10, .18);
}

.btn-sm {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 13px;
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn[disabled],
button[disabled],
.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.alert {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
}

.alert.success {
  border-color: rgba(22, 163, 74, .22);
  background: #ecfdf3;
  color: #067647;
}

.alert.error {
  border-color: rgba(239, 63, 47, .20);
  background: #fff1f0;
  color: #b42318;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 4px rgba(5, 7, 10, .08);
}

label {
  font-weight: 700;
  color: var(--text);
}

.stack {
  display: grid;
  gap: 14px;
}

.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(228, 231, 236, .72);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #344054;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #fcfdff;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
}

.pill.success { background: #dcfae6; color: #067647; }
.pill.warning { background: #fef0c7; color: #b54708; }
.pill.info { background: #e0f2fe; color: #026aa2; }
.pill.danger { background: #fee4e2; color: #b42318; }

/* Header */
.bubu-top {
  --bubu-ticker-height: 35px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(228, 231, 236, .86);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate3d(0, 0, 0);
  transition: transform .22s ease;
  will-change: transform;
}

.bubu-top.is-ticker-hidden {
  transform: translate3d(0, calc(var(--bubu-ticker-height) * -1), 0);
}

.bubu-ticker-shell {
  position: relative;
  isolation: isolate;
  height: var(--bubu-ticker-height);
  background:
    radial-gradient(circle at 11% 20%, rgba(255, 255, 255, .96) 0 2px, transparent 3px),
    radial-gradient(circle at 47% 68%, rgba(56, 189, 248, .28) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 28%, rgba(34, 197, 94, .2) 0 2px, transparent 3px),
    linear-gradient(90deg, #eef8ff 0%, #dff3ff 48%, #eafaf1 100%);
  color: #0f172a;
  border-bottom: 1px solid rgba(14, 165, 233, .34);
  overflow: hidden;
  transition: opacity .16s ease;
  transform: translate3d(0, 0, 0);
  will-change: opacity;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, .94),
    inset 0 1px 0 rgba(14, 165, 233, .12);
}

.bubu-ticker-shell::before,
.bubu-ticker-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubu-ticker-shell::before {
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, .72) 46%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(14, 165, 233, .12) 0 1px, transparent 1px 64px);
  opacity: .72;
  transform: translateX(-42%);
  animation: bubuTickerAmbient 8.5s ease-in-out infinite;
}

.bubu-ticker-shell::after {
  z-index: -1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(14, 165, 233, .42) 0 1px, transparent 2px);
  background-size: 92px 100%, 137px 100%;
  background-position: 0 8px, 46px 21px;
  opacity: .48;
  transform: none;
  animation: bubuTickerSnow 12s linear infinite;
}

.bubu-top.is-ticker-hidden .bubu-ticker-shell {
  opacity: 0;
  pointer-events: none;
}

.bubu-ticker-wrap {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100vw - 32px));
  min-height: 34px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bubu-ticker-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, .22);
  background: linear-gradient(135deg, #fff 0%, #fee2e2 100%);
  color: #dc2626;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(239, 68, 68, .12);
  text-shadow: none;
  animation: bubuLivePulse 2.4s ease-in-out infinite;
}

.bubu-ticker-marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.bubu-ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  min-width: 100%;
  animation: bubuTicker 36s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.bubu-top.is-ticker-hidden .bubu-ticker-track {
  animation-play-state: paused;
}

.bubu-ticker-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .88);
  transition: color .18s ease;
}

.bubu-ticker-item > span:last-child {
  color: inherit;
}

.bubu-ticker-item:hover {
  color: #0f766e;
}

.bubu-ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, .12),
    0 0 12px rgba(14, 165, 233, .38);
  animation: bubuTickerDot 2.4s ease-in-out infinite;
}

@keyframes bubuTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes bubuTickerAmbient {
  0%, 100% { opacity: .24; transform: translateX(-44%); }
  50% { opacity: .5; transform: translateX(18%); }
}

@keyframes bubuTickerSnow {
  from { background-position: 0 8px, 46px 21px; }
  to { background-position: 92px 8px, 183px 21px; }
}

@keyframes bubuLivePulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(239, 68, 68, .12); transform: translateZ(0); }
  50% { box-shadow: 0 8px 24px rgba(239, 68, 68, .2); transform: translateY(-1px); }
}

@keyframes bubuTickerDot {
  0%, 100% { opacity: .72; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .bubu-ticker-shell::before,
  .bubu-ticker-shell::after,
  .bubu-ticker-badge,
  .bubu-ticker-dot {
    animation: none;
  }
}

.bubu-wrap {
  width: min(var(--container), calc(100vw - 32px));
  margin-inline: auto;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.mobile-menu-trigger {
  display: none;
}

.bubu-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  isolation: isolate;
}

.bubu-brand img {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

.bubu-brand-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  min-width: 0;
}

.bubu-brand-copy strong {
  color: #16a34a;
  background: linear-gradient(115deg, #065f46 0%, #16a34a 42%, #22c55e 72%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.bubu-brand-copy small {
  color: #15803d;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .03em;
}

.bubu-brand::after,
.bubu-mobile-menu__brand::after {
  content: "";
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: -34px;
  z-index: 2;
  width: 28px;
  background: linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 46%, rgba(255,255,255,0) 100%);
  filter: blur(.2px);
  opacity: 0;
  transform: translateX(-120%) skewX(-18deg);
  animation: bubuBrandShine 4.2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes bubuBrandShine {
  0%, 54% {
    opacity: 0;
    transform: translateX(-120%) skewX(-18deg);
  }

  64% {
    opacity: .9;
  }

  82%, 100% {
    opacity: 0;
    transform: translateX(260px) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubu-brand::after,
  .bubu-mobile-menu__brand::after {
    animation: none;
    opacity: 0;
  }
}

.bubu-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  min-width: 260px;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.bubu-search input {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.bubu-search button {
  border: 0;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
}

.bubu-search-icon {
  display: none;
  width: 20px;
  height: 20px;
}

.bubu-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.bubu-nav-chip,
.bubu-user-menu summary.bubu-nav-chip,
.bubu-lang summary.bubu-nav-chip {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  font-weight: 900;
}

.bubu-user-menu,
.bubu-lang,
.bubu-nav-item {
  position: relative;
}

.bubu-user-menu summary,
.bubu-lang summary {
  list-style: none;
  cursor: pointer;
}

.bubu-user-menu summary::-webkit-details-marker,
.bubu-lang summary::-webkit-details-marker {
  display: none;
}

.bubu-chip-icon,
.bubu-user-avatar {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--black);
  font-weight: 900;
  flex: 0 0 auto;
}

.bubu-chip-icon svg {
  width: 18px;
  height: 18px;
}

.bubu-user-avatar.large {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.bubu-user-meta {
  display: grid;
  gap: 2px;
  line-height: 1.05;
  min-width: 0;
}

.bubu-user-meta strong {
  font-size: 14px;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bubu-user-meta small,
.bubu-auth-trigger-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.bubu-cart-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.bubu-flag {
  width: 22px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

.bubu-user-caret {
  color: var(--muted-2);
  font-size: 10px;
}

.bubu-user-panel,
.bubu-lang-menu,
.bubu-category-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 260px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  z-index: 30;
}

.bubu-user-menu:not([open]) .bubu-user-panel,
.bubu-lang:not([open]) .bubu-lang-menu,
.bubu-category-menu:not([open]) .bubu-category-dropdown {
  display: none;
}

.bubu-user-panel {
  display: grid;
  gap: 4px;
}

.bubu-user-panel a,
.bubu-user-logout,
.bubu-lang-menu a,
.bubu-category-dropdown a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.bubu-user-panel a:hover,
.bubu-user-logout:hover,
.bubu-lang-menu a:hover,
.bubu-lang-menu a.active,
.bubu-category-dropdown a:hover {
  background: #f2f4f7;
}

.bubu-user-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line);
}

.bubu-balance-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.bubu-balance-line strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}

.bubu-topup-plus {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.bubu-shortcuts-shell {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto 12px;
}

.bubu-shortcuts {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
}

.bubu-shortcuts::-webkit-scrollbar {
  display: none;
}

.bubu-shortcut {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.bubu-shortcut:hover,
.bubu-shortcut.is-active {
  background: var(--black);
  color: var(--white);
}

.bubu-shortcut-icon,
.bubu-category-burger,
.bubu-category-chevron {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bubu-shortcut-icon svg,
.bubu-category-burger svg,
.bubu-category-chevron svg {
  width: 17px;
  height: 17px;
}

.bubu-shortcut-badge {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  text-transform: uppercase;
}

.bubu-category-shell {
  background: rgba(255,255,255,.70);
  border-top: 1px solid var(--line);
}

.bubu-category-bar {
  width: min(var(--container), calc(100vw - 32px));
  min-height: 48px;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.bubu-category-menu {
  position: relative;
}

.bubu-category-menu summary {
  min-width: 250px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.bubu-category-menu summary::-webkit-details-marker {
  display: none;
}

.bubu-category-chevron {
  margin-left: auto;
}

.bubu-category-dropdown {
  left: 0;
  right: auto;
  min-width: 290px;
  display: grid;
}

/* Mobile drawer */
.bubu-mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2147482000;
  isolation: isolate;
}

.bubu-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: rgba(5, 7, 10, .52);
  backdrop-filter: blur(10px);
}

.bubu-mobile-menu__panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(370px, calc(100vw - 22px));
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 0 28px 28px 0;
  box-shadow: 28px 0 70px rgba(15, 23, 42, .28);
}

html.bubu-mobile-menu-open,
html.bubu-mobile-menu-open body {
  overflow: hidden;
}

.bubu-mobile-menu__head,
.bubu-mobile-menu__brand,
.bubu-mobile-menu__account {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bubu-mobile-menu__brand {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}

.bubu-mobile-menu__head {
  justify-content: space-between;
}

.bubu-mobile-menu__brand img {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.bubu-mobile-menu__brand > div {
  position: relative;
  z-index: 1;
}

.bubu-mobile-menu__brand strong,
.bubu-mobile-menu__account strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 900;
}

.bubu-mobile-menu__brand strong {
  color: #16a34a;
  background: linear-gradient(115deg, #065f46 0%, #16a34a 42%, #22c55e 72%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.bubu-mobile-menu__brand span,
.bubu-mobile-menu__account small,
.bubu-mobile-menu__account span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bubu-mobile-menu__brand span {
  color: #15803d;
  font-weight: 900;
  letter-spacing: .03em;
}

.bubu-mobile-menu__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--black);
  font-size: 24px;
  font-weight: 900;
}

.bubu-mobile-menu__account {
  padding: 14px;
  border-radius: 22px;
  background: var(--black);
  color: var(--white);
}

.bubu-mobile-menu__account small,
.bubu-mobile-menu__account span {
  color: rgba(255,255,255,.72);
}

.bubu-mobile-menu__account .customer-badge {
  width: fit-content;
  max-width: 190px;
  display: inline-flex;
  color: var(--badge-text);
  opacity: 1;
}

.bubu-mobile-menu__account .customer-badge--mobile {
  min-height: 30px;
  margin-top: 8px;
  padding: 3px 10px 3px 5px;
  font-size: 12px;
}

.bubu-mobile-menu__account .customer-badge__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  color: inherit;
  opacity: 1;
}

.bubu-mobile-menu__account .customer-badge__icon img {
  opacity: 1;
  filter: none;
}

.bubu-mobile-menu__account .customer-badge__label {
  display: inline;
  color: var(--badge-text);
  opacity: 1;
  text-shadow: none;
}

.bubu-mobile-menu__avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
}

.bubu-mobile-menu__section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.bubu-mobile-menu__label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bubu-mobile-menu__links,
.bubu-mobile-menu__categories,
.bubu-mobile-menu__actions,
.bubu-mobile-menu__account-nav {
  display: grid;
  gap: 8px;
}

.bubu-mobile-menu__links a,
.bubu-mobile-menu__categories a,
.bubu-mobile-menu__actions a,
.bubu-mobile-menu__actions button,
.bubu-mobile-menu__account-nav a,
.bubu-mobile-menu__langs a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
}

.bubu-mobile-menu__actions form {
  margin: 0;
}

.bubu-mobile-menu__actions button {
  width: 100%;
}

.bubu-mobile-menu__icon svg {
  width: 18px;
  height: 18px;
}

.bubu-mobile-menu__links small,
.bubu-mobile-menu__account-nav em {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
}

.bubu-mobile-menu__account-nav a.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.bubu-mobile-menu__account-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #f2f4f7;
  color: var(--black);
}

.bubu-mobile-menu__account-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.bubu-mobile-menu__account-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.bubu-mobile-menu__account-nav a.is-active .bubu-mobile-menu__account-copy small {
  color: rgba(255,255,255,.7);
}

.bubu-mobile-menu__langs {
  display: flex;
  gap: 8px;
}

.bubu-mobile-menu__langs a {
  flex: 1;
  justify-content: center;
}

.bubu-mobile-menu__langs a.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Home */
body.page-home {
  --home-hero-rgb: 163, 165, 167;
}

.page-home .page-shell {
  padding-top: 28px;
  position: relative;
  z-index: 0;
}

.page-home .page-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -36px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  height: clamp(860px, 94vh, 1240px);
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 12%, rgba(255,255,255,.16) 12.2% 15.4%, transparent 15.7%),
    linear-gradient(135deg, transparent 0 58%, rgba(255,255,255,.11) 58.2% 61.2%, transparent 61.5%),
    linear-gradient(135deg, transparent 0 72%, rgba(255,255,255,.09) 72.2% 75%, transparent 75.3%),
    radial-gradient(circle at 15% 52%, transparent 0 180px, rgba(255,255,255,.12) 181px 183px, transparent 185px),
    radial-gradient(circle at 44% 83%, transparent 0 315px, rgba(255,255,255,.10) 316px 319px, transparent 321px),
    radial-gradient(circle at 86% 58%, transparent 0 245px, rgba(255,255,255,.08) 246px 249px, transparent 251px),
    radial-gradient(ellipse at 50% 70px, rgba(255,255,255,.68), transparent 44%),
    radial-gradient(ellipse at 8% 260px, rgba(var(--home-hero-rgb), .24), transparent 42%),
    radial-gradient(ellipse at 92% 260px, rgba(var(--home-hero-rgb), .20), transparent 44%),
    linear-gradient(180deg, rgba(var(--home-hero-rgb), .34) 0%, rgba(var(--home-hero-rgb), .24) 42%, rgba(var(--home-hero-rgb), .12) 76%, rgba(243,245,248,0) 100%);
}

.home-hero-layout {
  --home-hero-rgb: 163, 165, 167;
  width: 100%;
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 10px 0 24px;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

.home-hero-layout::before {
  content: none;
}

.hero-showcase {
  min-height: 330px;
  aspect-ratio: 16 / 5.35;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.hero-slider,
.hero-slider-track,
.hero-slide,
.hero-slide-frame {
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.hero-slide-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  filter: blur(22px) saturate(.9);
  opacity: .30;
  transform: scale(1.08);
}

.hero-slide-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: initial;
  object-position: center;
}

.home-hero-side-card {
  display: none;
}

.home-hero-side-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,10,.72), rgba(5,7,10,.86));
  pointer-events: none;
}

.home-hero-side-card::before {
  position: absolute;
  top: 50%;
  z-index: 2;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.home-hero-side-card--left::before {
  content: "\2039";
}

.home-hero-side-card--right::before {
  content: "\203A";
}

.home-hero-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) saturate(.08) contrast(.82) brightness(.72);
  opacity: .68;
}

.home-hero-side-card--left img {
  object-position: right center;
}

.home-hero-side-card--right img {
  object-position: left center;
}

.hero-slider-nav {
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 7, 10, .52);
  color: var(--white);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: background .16s ease, opacity .16s ease, transform .16s ease;
}

.hero-showcase:hover .hero-slider-nav,
.hero-showcase:focus-within .hero-slider-nav,
.hero-slider-nav:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider-nav:hover {
  background: rgba(5, 7, 10, .68);
}

.hero-slider-nav span {
  display: none;
}

.hero-slider-nav::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.hero-slider-nav.is-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.hero-slider-nav.is-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.hero-slider-nav.is-prev {
  left: 26px;
}

.hero-slider-nav.is-next {
  right: 26px;
}

.hero-slider-dots {
  z-index: 5;
  bottom: 14px;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5, 7, 10, .30);
  backdrop-filter: blur(10px);
}

.hero-slider-dot {
  width: 26px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  padding: 0;
}

.hero-slider-dot.is-active {
  width: 54px;
  background: var(--red);
}

.home-quick-section,
.home-category-panel,
.home-news-section {
  margin: 0 0 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}

body.page-home .home-quick-section {
  padding: 0 0 8px;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-section-title-row,
.section-head,
.home-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.home-section-title-row h2,
.section-head h1,
.section-head h2,
.home-category-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.055em;
}

.home-section-title-row p,
.home-category-head p,
.section-subtitle {
  margin: 7px 0 0;
}

.home-section-title-row > a,
.home-category-link,
.account-filter-reset,
.salev-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.home-static-banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-static-banner-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-static-banner-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  object-fit: initial;
  background: #eef5ff;
}

.home-static-banner-copy {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
}

.home-static-banner-copy strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.home-static-banner-copy small {
  color: var(--muted);
  font-weight: 700;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.product-thumb-wrap {
  position: relative;
  order: 0;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 23px 23px 0 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(15,23,42,.08), transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #edf1f5 100%);
}

.product-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: initial;
  object-position: center;
}

.product-card--pubg .product-thumb {
  object-fit: cover;
}

.sale-tag,
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}

.sale-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}

.product-body {
  order: 1;
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px 15px 15px;
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.product-meta span {
  min-width: 0;
}

.product-meta span:last-child {
  text-align: right;
}

.product-body h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.32;
  font-weight: 820;
  letter-spacing: -.025em;
}

.product-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.price-line strong,
.product-actions > div > strong {
  color: var(--black);
  font-size: 19px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.old-price {
  color: var(--muted-2);
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 800;
}

.price-note {
  margin-top: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.stock-out {
  color: var(--red);
  font-weight: 900;
}

.product-actions .btn {
  min-width: 76px;
  min-height: 40px;
  padding-inline: 13px;
}

.wallet-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.wallet-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wallet-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.wallet-product-top {
  order: 1;
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 13px 14px 0;
}

.wallet-product-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.wallet-pill {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.wallet-product-title-link {
  color: var(--black);
  text-decoration: none;
}

.wallet-product-title-link h3 {
  min-height: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 820;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.wallet-product-image-link {
  position: relative;
  order: 0;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 23px 23px 0 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(15,23,42,.08), transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #edf1f5 100%);
}

.wallet-product-image-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: initial;
  object-position: center;
}

.wallet-product-price {
  order: 2;
  margin-top: 8px;
  padding: 0 14px;
}

.wallet-price-text {
  color: var(--black);
}

.wallet-price-text.is-contact {
  color: var(--red);
}

.wallet-product-actions {
  order: 3;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
  align-items: end;
  gap: 8px;
  padding: 10px 14px 14px;
}

.wallet-product-actions form {
  display: block;
  min-width: 0;
}

.wallet-product-actions .btn {
  width: 100%;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 12px;
  line-height: 1.15;
  white-space: normal;
}

.salev-grid .product-card,
.wallet-product-grid .product-card,
.pd-related-grid .product-card {
  min-height: 0;
}

.page-home .home-category-grid .product-card {
  min-height: 0;
}

.page-home .home-category-grid .product-actions,
.page-home .home-category-grid .price-line,
.page-home .home-category-grid .price-note,
.page-home .home-category-grid .old-price,
.page-home .home-category-grid .discount-badge {
  display: none;
}

.page-home .home-category-grid .product-body {
  flex: 0 0 auto;
  min-height: 0;
  padding: 14px 14px 16px;
}

.page-home .home-category-grid .product-thumb-wrap {
  aspect-ratio: 4 / 5;
}

.page-home .home-category-grid .product-body h3 {
  min-height: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.home-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-news-card {
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-news-image {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #111827;
}

.home-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-image span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.home-news-card strong {
  padding: 0 4px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.home-news-card small {
  padding: 0 4px 6px;
  color: var(--muted);
  font-weight: 700;
}

/* Product list and filters */
.salev-page {
  display: grid;
  gap: 22px;
}

.salev-filter-bar,
.account-order-filter,
.account-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px;
  padding: 18px;
  align-items: end;
}

.salev-filter-field {
  display: grid;
  gap: 7px;
}

.salev-filter-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.salev-price-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.salev-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.salev-empty,
.empty-state {
  padding: 34px;
  text-align: center;
}

/* Product detail */
.page-product-detail .pd-shell,
.page-product-detail .pd-related,
.page-product-detail .pr-section,
.page-product-detail .pd-pubg-gallery-bottom {
  width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
}

.page-product-detail .pd-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin-top: 22px;
  margin-bottom: 34px;
}

.pd-media {
  display: grid;
  gap: 14px;
}

.pd-media > a,
.pd-media .product-thumb-wrap {
  display: block;
}

.pd-media .product-thumb-wrap,
.pd-main-img {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 28%, rgba(15,23,42,.08), transparent 42%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: var(--shadow-sm);
}

.pd-media .product-thumb-wrap {
  aspect-ratio: 4 / 5;
}

.pd-main-img {
  display: block;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  cursor: zoom-in;
}

.pd-media .product-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
}

.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f4f6f9;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pd-thumb:hover,
.pd-thumb.active {
  transform: translateY(-2px);
  border-color: var(--black);
  box-shadow: var(--shadow-sm);
}

.pd-pubg-note-box,
.pd-card,
.pr-card,
.pd-pubg-gallery-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.pd-pubg-note-box {
  padding: 20px;
}

.pd-pubg-note-box.is-highlighted {
  border-color: rgba(239,68,68,.25);
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.pd-pubg-note-content {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.78;
  white-space: pre-wrap;
  word-break: break-word;
}

.pd-pubg-note-box.is-highlighted .pd-pubg-note-content {
  color: #dc2626;
  font-weight: 900;
}

.pd-card {
  position: sticky;
  top: 120px;
  padding: clamp(20px, 2.4vw, 30px);
}

.pd-card-head,
.pd-badges,
.pd-btns,
.pr-header,
.pr-stats,
.pr-form-actions {
  display: flex;
  align-items: center;
}

.pd-card-head {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.pd-badges {
  flex-wrap: wrap;
  gap: 8px;
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pd-badge.blue {
  background: #eff6ff;
  color: #2563eb;
}

.pd-favorite-form {
  margin: 0;
}

.pd-favorite-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}

.pd-favorite-btn:hover,
.pd-favorite-btn.is-active {
  transform: translateY(-1px);
  border-color: var(--black);
  color: var(--black);
}

.pd-favorite-btn svg {
  width: 20px;
  height: 20px;
}

.pd-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.06em;
}

.pd-price {
  margin-top: 14px;
  color: var(--red);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.pd-price.outofstock {
  color: var(--muted);
}

.pd-price-note {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pd-variants-head {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pd-variants {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.pd-vrow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
}

.pd-vrow:not(.pd-vrow-out):hover,
.pd-vrow.pd-vrow-active {
  border-color: var(--black);
  box-shadow: var(--shadow-sm);
}

.pd-vrow.pd-vrow-out {
  opacity: .55;
  cursor: not-allowed;
}

.pd-vl,
.pd-vr {
  display: grid;
  gap: 6px;
}

.pd-vr {
  justify-items: end;
  text-align: right;
}

.pd-vname,
.pd-vprice {
  color: var(--text);
  font-weight: 950;
}

.pd-vstatus,
.pd-vchosen {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.pd-vstatus.ok,
.pd-vchosen {
  background: #dcfce7;
  color: #166534;
}

.pd-vstatus.no {
  background: #fee2e2;
  color: #991b1b;
}

.pd-trust {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.pd-trust-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 950;
}

.product-short-description,
.pd-desc {
  margin: 16px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 700;
}

.product-short-description.is-highlighted {
  color: #d90429;
  font-weight: 950;
}

.pd-pubg-highlight {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(234,179,8,.28);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf4 0%, #fff7d6 100%);
  box-shadow: 0 10px 24px rgba(234,179,8,.08);
}

.pd-pubg-highlight-title {
  margin-bottom: 10px;
  color: #a16207;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pd-pubg-highlight-content {
  color: #3f2f0d;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 800;
  white-space: pre-line;
  word-break: break-word;
}

.pd-sep {
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.pd-btns {
  gap: 10px;
}

.pd-btns .btn {
  flex: 1;
  min-height: 50px;
}

.pd-pubg-gallery-bottom {
  margin-bottom: 34px;
}

.pd-pubg-gallery-list {
  display: grid;
  gap: 16px;
}

.pd-pubg-gallery-card {
  padding: 10px;
}

.pd-pubg-gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  background: #f8fafc;
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2,6,23,.78);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.pd-lightbox.is-open {
  display: flex;
}

.pd-lightbox-dialog {
  position: relative;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
}

.pd-lightbox-img {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 92vh;
  display: block;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  cursor: default;
}

.pd-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.pr-section,
.pd-related {
  margin-bottom: 34px;
}

.pr-card {
  padding: clamp(18px, 2.4vw, 28px);
}

.pr-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pr-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.pr-stats {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pr-pill,
.pr-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pr-pill strong {
  color: var(--black);
}

.pr-link {
  color: var(--text);
}

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

.pr-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.pr-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pr-name {
  color: var(--text);
  font-weight: 950;
}

.pr-stars {
  color: #f59e0b;
  font-weight: 950;
}

.pr-date,
.pr-note,
.pr-content {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pr-content {
  color: #334155;
  font-size: 14px;
}

.pr-empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.pr-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pr-form label {
  display: grid;
  gap: 7px;
}

.pr-form select,
.pr-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
}

.pr-form textarea {
  min-height: 110px;
  resize: vertical;
}

.pr-form-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.pr-note--spaced {
  margin-top: 18px;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Commerce */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.commerce-stepper,
.cart-stepper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
}

.cart-step {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
}

.cart-step.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.cart-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.commerce-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 6%, rgba(15,23,42,.08), transparent 13rem),
    linear-gradient(145deg, #fff, #f8fafc);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.commerce-hero::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(5, 7, 10, .06);
  pointer-events: none;
}

.commerce-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.commerce-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.06em;
}

.commerce-hero p {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
}

.commerce-hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.commerce-hero-metrics span {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.commerce-hero-metrics strong {
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
}

.cart-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.cart-title small {
  color: var(--muted);
  font-size: 13px;
}

.cart-rich-form,
.cart-side-card,
.confirm-card,
.confirm-main {
  padding: 18px;
}

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

.cart-row,
.cart-row-rich {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.cart-row:last-child {
  border-bottom: 1px solid var(--line);
}

.cart-row-rich {
  display: grid;
  gap: 16px;
}

.cart-product-top {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.cart-product-bottom {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(150px, 1fr) 42px;
  align-items: end;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-thumb,
.cart-thumb-link {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  background: #f2f4f7;
  overflow: hidden;
}

.cart-thumb {
  object-fit: initial;
}

.cart-item-name {
  display: block;
  margin-bottom: 4px;
  max-width: 100%;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 820;
  overflow-wrap: normal;
  word-break: normal;
}

.cart-main-info {
  min-width: 0;
  max-width: 100%;
}

.cart-qty-control {
  display: inline-grid;
  grid-template-columns: 38px 64px 38px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.cart-qty-btn {
  border: 0;
  background: #f2f4f7;
  font-weight: 900;
}

.cart-qty-input {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  text-align: center;
}

.cart-line-price {
  color: var(--black);
  font-size: 24px;
  font-weight: 900;
}

.cart-remove-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.cart-remove-btn svg {
  width: 18px;
  height: 18px;
}

.cart-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 700;
}

.cart-mini-row strong {
  color: var(--text);
  font-weight: 900;
}

.cart-mini-row.total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.cart-mini-row.total strong {
  font-size: 22px;
}

.cart-side-src {
  position: sticky;
  top: 156px;
  display: grid;
  gap: 14px;
}

.cart-side-card {
  border-radius: 24px;
}

.cart-side-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.cart-side-card .btn {
  width: 100%;
}

.cart-side-links {
  display: grid;
  gap: 4px;
}

.cart-side-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cart-side-link:last-child {
  border-bottom: 0;
}

.cart-side-link span {
  font-weight: 900;
}

.cart-side-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  flex-shrink: 0;
}

.cart-side-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cart-side-collapse {
  display: none;
  padding-top: 12px;
}

.cart-side-collapse.is-open {
  display: block;
}

.cart-coupon-box input[type="text"] {
  width: 100%;
  margin-bottom: 12px;
}

.cart-payment-buttons {
  display: grid;
  gap: 10px;
}

.cart-pay-pill {
  position: relative;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
}

.cart-pay-pill .cart-side-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: currentColor;
}

.cart-pay-pill.is-bank {
  background: var(--black);
}

.cart-pay-pill.is-wallet {
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
}

.cart-pay-pill.is-sepay {
  background: linear-gradient(90deg, #6b39e7 0%, #8b4cf6 100%);
}

.cart-pay-pill.is-selected {
  box-shadow: 0 0 0 4px rgba(17,24,39,.12);
}

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

.cart-customer-field {
  display: grid;
  gap: 6px;
}

.cart-customer-field label {
  font-size: 13px;
  font-weight: 900;
}

.cart-source-form textarea,
.cart-source-form input[type="text"] {
  width: 100%;
}

.cart-item-desc {
  max-width: 100%;
  margin-top: 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
}

.cart-item-desc :where(p, li) {
  margin: 0 0 5px;
}

.cart-item-desc :where(ul, ol) {
  margin: 5px 0 0;
  padding-left: 18px;
}

.cart-item-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.cart-status-ok {
  color: #166534;
  font-weight: 900;
}

.cart-line-price-block {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin-left: auto;
  text-align: right;
}

.cart-line-old {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: line-through;
}

.cart-empty-card,
.cart-empty-inner {
  display: grid;
  place-items: center;
  text-align: center;
}

.cart-empty-card {
  min-height: 360px;
}

.cart-empty-head {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 950;
}

.cart-empty-sub {
  max-width: 520px;
  margin: 10px 0 18px;
  color: var(--muted);
}

.confirm-page {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr);
  gap: 22px;
  align-items: start;
}

.confirm-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.confirm-main,
.confirm-aside {
  padding: clamp(18px, 2.4vw, 28px);
}

.confirm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.confirm-head h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.confirm-head p,
.confirm-note {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.confirm-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
}

.confirm-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.confirm-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.confirm-label {
  display: block;
  margin: 0 0 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 950;
}

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

.confirm-field--spaced,
.confirm-grid--spaced {
  margin-top: 14px;
}

.confirm-field input,
.confirm-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.confirm-field textarea {
  min-height: 96px;
  resize: vertical;
}

.confirm-info-box {
  padding: 14px;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 16px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 800;
}

.confirm-products {
  display: grid;
  gap: 12px;
}

.confirm-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.confirm-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f2f4f7;
}

.confirm-item strong {
  display: block;
  color: var(--text);
  font-weight: 950;
}

.confirm-price {
  text-align: right;
}

.confirm-price strong {
  font-size: 18px;
}

.confirm-wallet-alert {
  padding: 14px;
  border-radius: 16px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
}

.confirm-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: var(--black);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: var(--shadow-sm);
}

.confirm-summary-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 950;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 800;
}

.confirm-row strong {
  color: var(--text);
  font-weight: 950;
}

.confirm-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.confirm-row.total strong {
  font-size: 22px;
}

/* Checkout success */
.success-shell {
  display: grid;
  gap: 22px;
}

.success-hero-card,
.success-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.success-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 163, 74, .12), transparent 18rem),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.success-check {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.success-check svg {
  width: 34px;
  height: 34px;
}

.success-hero-card h1 {
  max-width: 760px;
  margin: 0;
  color: var(--black);
  font-size: clamp(32px, 5vw, 58px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.07em;
}

.success-hero-card p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.success-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr);
  gap: 22px;
  align-items: start;
}

.success-panel {
  padding: clamp(18px, 2.4vw, 28px);
}

.success-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.success-panel h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.success-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 12px;
  font-weight: 950;
}

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

.success-meta-grid > div,
.success-next-list > div,
.success-transfer-code {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.success-meta-grid span,
.success-transfer-code span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.success-meta-grid strong,
.success-transfer-code strong {
  display: block;
  margin-top: 5px;
  color: var(--black);
  font-weight: 950;
  word-break: break-word;
}

.success-items {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.success-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.success-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  background: #f2f4f7;
}

.success-item strong,
.success-item b {
  color: var(--black);
  font-weight: 950;
}

.success-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.success-next-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.success-next-list > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.success-next-list strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.success-next-list span {
  color: var(--muted);
  line-height: 1.65;
  font-weight: 750;
}

/* Account */
.account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 150px;
  padding: 12px;
}

.account-profile-card {
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,.16), transparent 8rem),
    linear-gradient(145deg, #111827, #05070a);
  color: var(--white);
}

.account-profile-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 18px;
  background: var(--white);
  color: var(--black);
  font-size: 22px;
  font-weight: 820;
}

.account-profile-main strong {
  display: block;
  font-size: 18px;
  font-weight: 820;
}

.account-profile-main span {
  color: rgba(255,255,255,.70);
  font-size: 12px;
  font-weight: 700;
}

.account-profile-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.account-profile-stats div {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(5, 7, 10, .16);
}

.account-profile-stats span {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-profile-stats strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.account-profile-action {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 820;
}

.account-nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.account-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 18px;
  color: var(--text);
}

.account-link:hover,
.account-link.active {
  background: var(--black);
  color: var(--white);
}

.account-link-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #f2f4f7;
  color: var(--black);
  font-weight: 820;
}

.account-link-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.account-link-copy strong {
  font-weight: 780;
}

.account-link-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.account-link.active .account-link-copy small,
.account-link:hover .account-link-copy small {
  color: rgba(255,255,255,.70);
}

.account-link-badge {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--black);
  font-size: 12px;
  font-weight: 780;
}

.account-content {
  padding: 24px;
  overflow: hidden;
}

.account-command-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr);
  gap: 20px;
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(15,23,42,.08), transparent 10rem),
    linear-gradient(145deg, #ffffff, #f8fafc);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.account-command-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.account-command-card h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 820;
  letter-spacing: -.06em;
}

.account-command-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.account-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.account-command-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 820;
}

.account-command-btn--dark {
  background: var(--black);
  color: var(--white);
}

.account-command-metrics {
  display: grid;
  gap: 10px;
}

.account-command-metrics div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.account-command-metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.account-command-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 820;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.overview-grid > div {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.overview-grid > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.overview-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 820;
  word-break: break-word;
}

.account-order-filter,
.account-filter-bar {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto auto;
  margin-bottom: 18px;
}

.account-order-table-wrap table,
.account-history-table-wrap table {
  min-width: 900px;
}

.account-order-product-name {
  max-width: 100%;
  overflow: hidden;
  font-weight: 780;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.account-btn-icon,
.account-info-icon,
.account-note-icon,
.account-title-icon,
.account-mini-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.account-btn-icon svg,
.account-info-icon svg,
.account-note-icon svg,
.account-title-icon svg,
.account-mini-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.account-info-row {
  min-width: 0;
}

.account-security-wrap,
.favorites-list .favorite-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-security-wrap {
  display: grid;
  gap: 20px;
  padding: clamp(18px, 2.6vw, 30px);
}

.account-security-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.account-security-subtitle {
  max-width: 760px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
}

.account-security-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.account-security-divider {
  display: none;
}

.account-security-reset-card,
.account-security-tips {
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(17,24,39,.06), transparent 10rem),
    var(--surface-soft);
}

.account-security-side-title,
.account-security-tips-title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
}

.account-security-note,
.account-security-tips p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 750;
}

.account-security-btn {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.account-security-tips p:last-child {
  margin-bottom: 0;
}

.account-inline-note.account-inline-note--info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.account-inline-note.account-inline-note--info > div,
.account-inline-note.account-inline-note--info > span {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.favorites-list {
  display: grid;
  gap: 14px;
}

.favorite-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.favorite-card__thumb-wrap {
  width: 92px;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(15,23,42,.08), transparent 42%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.favorite-card__thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.favorite-card__body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.favorite-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.favorite-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
}

.favorite-card__title {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 950;
}

.favorite-card__price {
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.favorite-card__actions {
  display: flex;
  justify-content: flex-end;
}

.favorite-card__btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

/* Auth */
.auth-page {
  background: #f5f5f4;
}

.auth-page .page-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.auth-stage {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
}

.auth-stage-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.auth-stage-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.auth-stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  align-items: center;
  gap: 70px;
}

.auth-visual {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}

.auth-visual-screen {
  width: min(390px, 74%);
  aspect-ratio: 1.35;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, #111827, #374151);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.auth-visual-card {
  position: absolute;
  right: 12%;
  top: 32%;
  display: grid;
  gap: 4px;
  padding: 16px 22px;
  border: 2px solid #fb923c;
  background: var(--surface);
  color: var(--red);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.auth-visual-mascot {
  position: absolute;
  left: 20%;
  bottom: 18%;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.auth-star,
.auth-leaf {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--amber);
}

.auth-star--one { left: 18%; top: 30%; }
.auth-star--two { right: 10%; bottom: 32%; background: var(--red); }
.auth-leaf--one { right: 20%; bottom: 22%; background: var(--green); }
.auth-leaf--two { left: 30%; bottom: 12%; background: var(--green); }

.auth-panel {
  width: 100%;
  display: grid;
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.auth-panel-head p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-panel-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field > span:first-child,
.auth-captcha > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-input {
  min-height: 50px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.auth-input svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.auth-input input {
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-rule-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-captcha {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--surface-soft);
}

.auth-secondary-btn {
  width: max-content;
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}

.auth-submit {
  width: 100%;
  min-height: 52px;
}

.auth-alt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.auth-alt a {
  color: var(--black);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.auth-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 900;
}

.auth-tab.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.auth-panel-desc {
  margin: 0 0 12px;
  color: var(--muted);
}

.auth-divider-line {
  height: 1px;
  background: var(--line);
}

.auth-stage-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* Footer and modals */
.site-footer {
  margin-top: auto;
  background: var(--black);
  color: var(--white);
  padding: 34px 0;
}

.footer-grid-rich {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: .06em;
}

.footer-col a,
.footer-col p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.footer-col a:hover {
  color: var(--white);
}

.floating-socials {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.floating-socials__links {
  display: grid;
  justify-items: end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

.floating-socials.is-open .floating-socials__links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-social {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 900;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.floating-socials.is-open .floating-social {
  opacity: 1;
  transform: translateX(0);
}

.floating-socials.is-open .floating-social:nth-child(2) {
  transition-delay: .02s;
}

.floating-socials.is-open .floating-social:nth-child(3) {
  transition-delay: .04s;
}

.floating-socials.is-open .floating-social:nth-child(4) {
  transition-delay: .06s;
}

.floating-contact-toggle {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(5, 7, 10, .2);
  font-weight: 820;
  transition: transform .18s ease, box-shadow .18s ease;
}

.floating-contact-toggle:hover,
.floating-socials.is-open .floating-contact-toggle {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(5, 7, 10, .24);
}

.floating-contact-toggle .social-icon {
  background: var(--white);
  color: var(--black);
}

.social-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
}

.social-icon svg {
  width: 19px;
  height: 19px;
}

.bubu-auth-choice {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.bubu-auth-choice__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: rgba(5, 7, 10, .48);
  backdrop-filter: blur(10px);
}

.bubu-auth-choice__card {
  position: relative;
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.bubu-auth-choice__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f2f4f7;
  font-weight: 900;
}

.bubu-auth-choice__mascot img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.bubu-auth-choice__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bubu-auth-choice h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.04em;
}

.bubu-auth-choice p {
  margin: 0;
  color: var(--muted);
}

.bubu-auth-choice__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bubu-auth-choice__trust span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.bubu-auth-choice__actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bubu-auth-choice__btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
}

.bubu-auth-choice__btn--register {
  background: #a3e635;
  color: var(--black);
}

.landing-footer-inline-fix {
  margin-top: 32px;
  padding: 44px 0 36px;
  background: #fff;
}

.landing-footer-inline-fix__inner {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
}

.landing-footer-inline-fix__title {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 950;
}

.landing-footer-inline-fix__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-footer-inline-fix__chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.landing-footer-inline-fix__chip:hover {
  border-color: #111827;
  box-shadow: var(--shadow-sm);
}

.landing-footer-inline-fix__bar {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.landing-footer-inline-fix__copy {
  margin: 0;
  padding: 18px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-col--dmca {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.footer-col--dmca .dmca-badge {
  display: inline-block;
}

.footer-designer-under-dmca {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.designer-signature {
  display: inline-block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .04em;
  background: linear-gradient(90deg, #ff2d55, #ff9500, #ffd60a, #30d158, #0a84ff, #5e5ce6, #bf5af2, #ff2d55);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: designerGradient 2.8s linear infinite, designerGlow 1s ease-in-out infinite alternate;
}

@keyframes designerGradient {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

@keyframes designerGlow {
  0% {
    filter: drop-shadow(0 0 2px rgba(255,255,255,.15));
    transform: translateY(0);
  }

  100% {
    filter: drop-shadow(0 0 8px rgba(255,255,255,.45));
    transform: translateY(-1px);
  }
}

.site-announcement-inline[hidden] {
  display: none;
}

.site-announcement-inline {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: inherit;
}

.site-announcement-inline * {
  box-sizing: border-box;
}

.site-announcement-inline--modal {
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-announcement-inline__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,.68);
  backdrop-filter: blur(6px);
}

.site-announcement-inline__dialog {
  position: relative;
  width: min(680px, calc(100vw - 24px));
  max-height: min(86vh, 820px);
  overflow: visible;
  padding: 28px 24px 22px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 32px 100px rgba(2,6,23,.40), 0 10px 30px rgba(37,99,235,.16);
}

.site-announcement-inline__glow {
  position: absolute;
  left: -40px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59,130,246,.18), rgba(59,130,246,0));
  pointer-events: none;
}

.site-announcement-inline__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-announcement-inline__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 44px 16px 0;
  padding: 10px 12px;
  border: 1px solid rgba(59,130,246,.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.site-announcement-inline__brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,.12);
}

.site-announcement-inline__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.site-announcement-inline__brand-label {
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-announcement-inline__brand-name {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
}

.site-announcement-inline__title {
  margin: 0 40px 12px 0;
  color: #0f172a;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 950;
}

.site-announcement-inline__content {
  overflow: visible;
  color: #334155;
  font-size: 16px;
  line-height: 1.78;
}

.site-announcement-inline__content p {
  margin: 0 0 12px;
}

.site-announcement-inline__content p:last-child {
  margin-bottom: 0;
}

.site-announcement-inline__content ul,
.site-announcement-inline__content ol {
  margin: 0 0 14px 22px;
  padding: 0;
}

.site-announcement-inline__content li {
  margin: 0 0 8px;
}

.site-announcement-inline__content a {
  color: #2563eb;
  text-decoration: underline;
}

.site-announcement-inline__content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.site-announcement-inline__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.site-announcement-inline__btn {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(37,99,235,.22);
}

.site-announcement-inline__btn--ghost {
  background: #eef2ff;
  color: #0f172a;
  box-shadow: none;
}

.site-announcement-inline--bar {
  inset: auto 18px 18px auto;
  width: min(520px, calc(100vw - 24px));
}

.site-announcement-inline__bar {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15,23,42,.98), rgba(30,41,59,.98));
  color: #fff;
  box-shadow: 0 24px 60px rgba(2,6,23,.34);
}

.site-announcement-inline__bar .site-announcement-inline__brand {
  margin: 0 34px 14px 0;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
}

.site-announcement-inline__bar .site-announcement-inline__brand-logo {
  background: rgba(255,255,255,.96);
  box-shadow: none;
}

.site-announcement-inline__bar .site-announcement-inline__brand-label {
  color: #bfdbfe;
}

.site-announcement-inline__bar .site-announcement-inline__brand-name,
.site-announcement-inline__bar .site-announcement-inline__title {
  color: #fff;
}

.site-announcement-inline__bar .site-announcement-inline__title {
  margin: 0 34px 8px 0;
  font-size: 22px;
}

.site-announcement-inline__bar .site-announcement-inline__content {
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.68;
}

.site-announcement-inline__bar .site-announcement-inline__actions {
  margin-top: 16px;
}

.site-announcement-inline__bar .site-announcement-inline__btn--ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
}

html.site-announcement-open,
html.site-announcement-open body {
  overflow: hidden;
}

.bubu-account-chip--with-badge {
  position: relative;
}

.bubu-admin-pending-badge {
  position: absolute;
  top: -8px;
  right: 18px;
  z-index: 3;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.bubu-user-panel-muted {
  font-size: 13px;
}

.bubu-admin-menu-link {
  justify-content: space-between;
}

.bubu-admin-pending-pill {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

@media (max-width: 768px) {
  .landing-footer-inline-fix {
    padding: 28px 0 24px;
  }

  .landing-footer-inline-fix__title {
    font-size: 17px;
  }

  .landing-footer-inline-fix__links {
    gap: 10px;
  }

  .landing-footer-inline-fix__chip {
    width: 100%;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 14px;
  }

  .landing-footer-inline-fix__copy {
    font-size: 13px;
  }

  .designer-signature {
    font-size: 15px;
  }

  .footer-designer-under-dmca {
    margin-top: 8px;
  }

  .site-announcement-inline--modal {
    padding: 12px;
  }

  .site-announcement-inline__dialog {
    width: calc(100vw - 12px);
    max-height: min(88vh, 760px);
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .site-announcement-inline__title {
    margin-right: 34px;
    font-size: 25px;
  }

  .site-announcement-inline__brand {
    margin-right: 34px;
    padding: 10px;
  }

  .site-announcement-inline__brand-logo {
    width: 40px;
    height: 40px;
  }

  .site-announcement-inline__brand-name {
    font-size: 16px;
  }

  .site-announcement-inline__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-announcement-inline--bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .site-announcement-inline__bar {
    padding: 16px;
  }
}

.mobile-bottom-nav {
  display: none;
}

/* Admin */
.page-admin {
  background: #f5f7fb;
}

.admin-console-shell {
  width: min(var(--container), calc(100vw - 32px));
  margin: 24px auto 0;
  display: grid;
  gap: 16px;
}

.admin-console-hero {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(145deg, #111827, #05070a);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.admin-console-kicker,
.admin-console-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
}

.admin-console-hero h2 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.06em;
}

.admin-console-hero p {
  max-width: 820px;
  margin: 0 0 16px;
  color: rgba(255,255,255,.72);
}

.admin-console-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-console-link {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-console-link.is-active,
.admin-console-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.admin-console-link-index {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-console-link-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-console-link-copy strong {
  font-weight: 900;
}

.admin-console-link-copy small {
  color: var(--muted);
  font-size: 12px;
}

.admin-console-link.is-active small,
.admin-console-link:hover small {
  color: rgba(255,255,255,.70);
}

.admin-console-badge {
  margin-left: auto;
  align-self: flex-start;
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.page-admin .card,
.page-admin .panel,
.page-admin .form-card,
.page-admin .table-wrap {
  padding: 20px;
}

.page-admin .section-head {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 0%, rgba(15,23,42,.08), transparent 14rem),
    linear-gradient(145deg, #fff, #f8fafc);
  box-shadow: var(--shadow-sm);
}

.admin-alert-card {
  margin-bottom: 16px;
  border-color: rgba(245, 158, 11, .32);
  background: #fffbeb;
}

.admin-alert-card h3 {
  margin: 0 0 12px;
  color: #92400e;
  font-size: 20px;
  font-weight: 950;
}

.admin-alert-layout,
.admin-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.admin-alert-copy {
  min-width: 240px;
  flex: 1;
}

.admin-alert-copy .muted {
  margin-top: 6px;
}

.admin-alert-actions {
  align-items: center;
  justify-content: flex-end;
}

.admin-btn-warning {
  border-color: #d97706;
  background: #d97706;
}

.admin-btn-info {
  border-color: #2563eb;
  background: #2563eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stats-grid .card {
  min-width: 0;
  min-height: 118px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(15,23,42,.08), transparent 6rem),
    #fff;
}

.stats-grid h3 {
  margin: 0;
  color: var(--black);
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.055em;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.stats-grid h3.admin-stat-money {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: 100%;
  font-size: clamp(17px, 1vw, 20px);
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.admin-stat-money__currency {
  flex: 0 0 auto;
  font-size: .86em;
  letter-spacing: 0;
}

.admin-stat-money__amount {
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: -.045em;
}

.stats-grid p {
  margin: 12px 0 0;
  font-weight: 850;
}

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

.admin-quick-card {
  min-height: 162px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--black);
  box-shadow: var(--shadow-md);
}

.admin-quick-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--black);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.admin-quick-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.admin-quick-copy strong {
  color: var(--black);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.admin-quick-copy small {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.admin-quick-meta {
  max-width: 88px;
  overflow: hidden;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-form-row,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.admin-form-row + .admin-form-row,
.admin-block-gap {
  margin-top: 18px;
}

.admin-form-col {
  min-width: 220px;
  flex: 1 1 0;
}

.admin-form-col-sm {
  min-width: 180px;
  flex: 0 1 180px;
}

.admin-form-col-lg {
  min-width: 280px;
  flex: 2 1 0;
}

.admin-card-narrow {
  max-width: 920px;
}

.admin-card-wide {
  max-width: 1100px;
}

.admin-card-spaced,
.feature-band,
.admin-table-spaced {
  margin-top: 18px;
}

.admin-member-ranks-page .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-member-ranks-page .stats-grid h3 {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.admin-member-ranks-page .stats-grid h3.admin-stat-money {
  font-size: 28px;
  letter-spacing: 0;
}

.admin-member-ranks-page .stats-grid h3.admin-stat-money .admin-stat-money__amount {
  flex: 0 1 auto;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .admin-member-ranks-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-member-ranks-page .stats-grid {
    grid-template-columns: 1fr;
  }
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-status-card {
  margin-bottom: 16px;
}

.admin-status-card.is-success {
  border-color: rgba(22, 163, 74, .24);
  background: #ecfdf3;
  color: #067647;
}

.admin-status-card.is-error {
  border-color: rgba(239, 63, 47, .22);
  background: #fff1f0;
  color: #b42318;
}

.admin-status-positive {
  color: #16a34a;
}

.admin-status-negative {
  color: #dc2626;
}
.admin-system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-system-card {
  display: grid;
  gap: 14px;
}

.admin-system-list {
  display: grid;
  gap: 10px;
}

.admin-system-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  background: #f8fafc;
}

.admin-system-row span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #e5f8ed;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
}

.admin-system-row.is-bad span {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-system-row strong {
  color: #101318;
  font-size: 14px;
}

.admin-system-row small {
  min-width: 0;
  color: #667085;
  font-size: 12px;
  word-break: break-word;
}
.admin-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.admin-textarea {
  min-height: 132px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.admin-note-textarea {
  min-height: 300px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.75;
  resize: vertical;
}

.admin-help-line {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.admin-form-head {
  justify-content: space-between;
  align-items: center;
}

.admin-heading-reset {
  margin: 0;
}

.admin-inline-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-weight: 800;
}

.admin-soft-panel {
  padding: 16px;
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 18px;
  background: #f8fbff;
}

.admin-link-blue {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
  box-shadow: none;
}

.admin-link-green {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
  box-shadow: none;
}

.admin-btn-live {
  border-color: #2563eb;
  background: #2563eb;
}

.admin-btn-maintenance {
  border-color: #dc2626;
  background: #dc2626;
}

.btn-light,
a.btn-light,
button.btn-light,
.btn-ghost,
a.btn-ghost,
button.btn-ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.btn-danger,
a.btn-danger,
button.btn-danger {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.btn-muted,
a.btn-muted,
button.btn-muted {
  border-color: #475569;
  background: #475569;
  color: #fff;
}

.text-center {
  text-align: center;
}

.admin-amount-strong {
  font-size: 18px;
  font-weight: 950;
}

.admin-cell-wide {
  min-width: 280px;
}

.admin-cell-xl {
  min-width: 340px;
}

.admin-wallet-inline-form {
  display: grid;
  gap: 10px;
}

.admin-wallet-inline-grid {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(140px, 1fr);
  gap: 8px;
}

.admin-muted-line {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.key-box {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.key-box:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.key-code {
  display: inline-flex;
  max-width: 360px;
  overflow: hidden;
  padding: 6px 9px;
  border-radius: 10px;
  background: #f3f4f6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-form {
  display: grid;
  gap: 8px;
}

.admin-total-chip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.admin-status-stack {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.admin-text-cell {
  min-width: 280px;
  max-width: 420px;
  white-space: normal;
  line-height: 1.45;
}

.admin-pre-cell {
  min-width: 260px;
  max-width: 420px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.45;
  font-size: 13px;
}

.announcement-page {
  padding-top: 14px;
}
.admin-orders-table th {
  font-size: 11px;
  line-height: 1.25;
  vertical-align: bottom;
}

.admin-orders-table .admin-text-cell,
.admin-orders-table .admin-pre-cell {
  min-width: 0;
  max-width: none;
}

.admin-order-code-cell strong {
  display: block;
  color: var(--black);
  font-weight: 760;
}

.admin-order-code-cell span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.admin-orders-table .pill {
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.admin-orders-table .inline-form {
  min-width: 0;
}

.admin-orders-table .inline-form select {
  min-width: 0;
  padding-inline: 10px;
  font-size: 12px;
}

.admin-orders-table .inline-form .btn,
.admin-orders-table td > .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
  white-space: normal;
  line-height: 1.15;
}

@media (max-width: 980px) {
  .page-admin .admin-orders-table-wrap {
    padding: 12px;
    overflow: visible;
  }

  .admin-orders-table,
  .admin-orders-table tbody,
  .admin-orders-table tr,
  .admin-orders-table td {
    display: block;
    width: 100%;
  }

  .admin-orders-table colgroup,
  .admin-orders-table thead {
    display: none;
  }

  .admin-orders-table tbody {
    display: grid;
    gap: 12px;
  }

  .admin-orders-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: 18px;
    background: #fff;
  }

  .admin-orders-table td {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(226, 232, 240, .72);
  }

  .admin-orders-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  .admin-orders-table td:nth-child(4),
  .admin-orders-table td:nth-child(9),
  .admin-orders-table td:nth-child(10) {
    grid-column: 1 / -1;
  }

  .admin-orders-table td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .admin-orders-table tr {
    grid-template-columns: 1fr;
  }

  .admin-orders-table td {
    grid-column: 1 / -1;
  }
}
.announcement-hero,
.announcement-current-card {
  margin-bottom: 18px;
}

.announcement-current-card,
.admin-announcement-form {
  border: 1px solid #dbe7ff;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
}

.announcement-current-card {
  padding: 18px 20px;
  border-radius: 24px;
}

.announcement-current-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.announcement-current-title {
  margin: 0;
  font-size: 20px;
}

.announcement-delete-btn {
  border-color: #b91c1c;
  background: #dc2626;
  box-shadow: 0 14px 28px rgba(220, 38, 38, .18);
}

.announcement-current-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 750;
}

.announcement-current-content {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.admin-announcement-form {
  padding: 22px;
  border-radius: 28px;
}

.announcement-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(240px, .9fr) minmax(180px, .55fr);
  gap: 18px;
  align-items: end;
}

.announcement-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.announcement-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #d7deea;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  font-weight: 850;
  white-space: nowrap;
}

.announcement-toggle-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--black);
}

.announcement-editor-shell {
  overflow: hidden;
  border: 1px solid #d7deea;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

#announcementToolbar {
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #e6ebf3;
  background: #f8fbff;
}

#announcementEditor {
  min-height: 340px;
  border: 0;
  background: #fff;
}

#announcementEditorInput {
  min-height: 220px;
  padding: 18px 20px;
  border: 0;
  background: #fff;
  font: inherit;
  line-height: 1.7;
  resize: vertical;
  display: none;
}

#announcementEditor .ql-editor {
  min-height: 340px;
  font-size: 17px;
  line-height: 1.7;
}

#announcementToolbar .ql-picker.ql-size {
  width: 118px;
}

#announcementToolbar .ql-picker.ql-size .ql-picker-label::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item::before {
  content: "Co chu";
}

#announcementToolbar .ql-picker.ql-size .ql-picker-label[data-value="14px"]::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item[data-value="14px"]::before { content: "14px"; }
#announcementToolbar .ql-picker.ql-size .ql-picker-label[data-value="16px"]::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item[data-value="16px"]::before { content: "16px"; }
#announcementToolbar .ql-picker.ql-size .ql-picker-label[data-value="18px"]::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item[data-value="18px"]::before { content: "18px"; }
#announcementToolbar .ql-picker.ql-size .ql-picker-label[data-value="24px"]::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item[data-value="24px"]::before { content: "24px"; }
#announcementToolbar .ql-picker.ql-size .ql-picker-label[data-value="32px"]::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item[data-value="32px"]::before { content: "32px"; }
#announcementToolbar .ql-picker.ql-size .ql-picker-label[data-value="42px"]::before,
#announcementToolbar .ql-picker.ql-size .ql-picker-item[data-value="42px"]::before { content: "42px"; }

body.announcement-quill-missing #announcementToolbar,
body.announcement-quill-missing #announcementEditor {
  display: none;
}

body.announcement-quill-missing #announcementEditorInput {
  display: block;
}

.announcement-help {
  margin: 10px 4px 0;
  color: var(--muted);
}

.announcement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.announcement-primary-btn,
.announcement-preview-btn {
  min-width: 168px;
  min-height: 52px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 900;
}

.announcement-preview-btn {
  border-color: #0f766e;
  background: #0f766e;
}

.announcement-preview-shell {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.14), rgba(59,130,246,0) 30%),
    linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.announcement-preview-shell h3 {
  margin: 0 0 12px;
}

.admin-announcement-preview {
  padding: 12px;
  background: transparent;
}

.admin-announcement-preview-card {
  position: relative;
  max-width: 760px;
  overflow: hidden;
  padding: 28px 24px 22px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .16);
}

.admin-announcement-preview-card::after {
  content: "";
  position: absolute;
  left: -42px;
  bottom: -58px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59,130,246,.18), rgba(59,130,246,0));
  pointer-events: none;
}

.admin-announcement-preview-card h3 {
  position: relative;
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 950;
}

.admin-announcement-preview-card .content {
  position: relative;
  color: #334155;
  font-size: 16px;
  line-height: 1.78;
}

.admin-announcement-preview-card .content p:first-child {
  margin-top: 0;
}

.admin-announcement-preview-card .content p:last-child {
  margin-bottom: 0;
}

.admin-announcement-preview-badge {
  position: relative;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  display: inline-flex;
}

.pubg-admin-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.pubg-admin-card {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.pubg-field {
  display: block;
  margin-bottom: 18px;
}

.pubg-field--full {
  grid-column: 1 / -1;
}

.pubg-field label {
  display: block;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.pubg-field small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.pubg-form input[type="text"],
.pubg-form input[type="number"],
.pubg-form textarea,
.pubg-form input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
}

.pubg-form textarea {
  line-height: 1.6;
  resize: vertical;
}

.pubg-short {
  min-height: 140px;
}

.pubg-detail {
  min-height: 320px;
}

.pubg-links {
  min-height: 160px;
}

.pubg-upload-note {
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: #f8fafc;
}

.pubg-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.pubg-thumb-item {
  width: 100%;
}

.pubg-thumb {
  height: 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.pubg-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pubg-inline-checks,
.pubg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Responsive */
@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-console-nav,
  .admin-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid h3.admin-stat-money {
    font-size: clamp(24px, 3vw, 32px);
  }

  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .bubu-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    min-height: 66px;
  }

  .mobile-menu-trigger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .mobile-menu-trigger span,
  .mobile-menu-trigger::before,
  .mobile-menu-trigger::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--black);
  }

  .mobile-menu-trigger {
    flex-direction: column;
    gap: 4px;
  }

  .bubu-brand-copy strong {
    font-size: 17px;
  }

  .bubu-brand img {
    width: 40px;
    height: 40px;
  }

  .bubu-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bubu-nav {
    gap: 8px;
  }

  .bubu-auth-trigger-copy,
  .bubu-cart-label,
  .bubu-lang-chip span:not(.bubu-user-caret),
  .bubu-user-meta,
  .bubu-user-caret {
    display: none;
  }

  .bubu-nav-chip,
  .bubu-user-menu summary.bubu-nav-chip,
  .bubu-lang summary.bubu-nav-chip {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .bubu-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
  }

  .bubu-cart-chip {
    position: relative;
  }

  .bubu-shortcuts-shell,
  .bubu-category-shell {
    display: none;
  }

  .home-hero-layout {
    grid-template-columns: 1fr;
  }

  .home-hero-side-card {
    display: none;
  }

  .hero-showcase {
    min-height: 0;
    aspect-ratio: 16 / 8.2;
    border-width: 6px;
  }

  .home-static-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .checkout-grid,
  .account-layout,
  .topup-layout,
  .confirm-page {
    grid-template-columns: 1fr;
  }

  .cart-side-src,
  .account-sidebar {
    position: static;
  }

  .account-nav {
    display: none;
  }

  .account-sidebar {
    padding: 10px;
  }

  .account-command-card {
    grid-template-columns: 1fr;
  }

  .salev-filter-bar,
  .account-order-filter,
  .account-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .salev-filter-actions {
    grid-column: 1 / -1;
  }

  .auth-stage-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .auth-visual {
    display: none;
  }

  .admin-console-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --radius-lg: 24px;
  }

  body {
    font-size: 14px;
  }

  .container,
  .page-shell,
  .bubu-wrap,
  .bubu-ticker-wrap,
  .bubu-shortcuts-shell,
  .bubu-category-bar,
  .admin-console-shell {
    width: min(100% - 20px, var(--container));
  }

  .page-shell {
    padding: 14px 0 86px;
  }

  .bubu-ticker-wrap {
    min-height: 32px;
  }

  .bubu-top {
    --bubu-ticker-height: 33px;
  }

  .bubu-ticker-badge {
    min-width: 42px;
    height: 22px;
    font-size: 10px;
  }

  .bubu-ticker-item {
    font-size: 12px;
  }

  .bubu-wrap {
    min-height: 58px;
  }

  .bubu-search {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .bubu-search-label {
    display: none;
  }

  .bubu-search-icon {
    display: block;
    margin: auto;
  }

  .page-home .page-shell {
    padding-top: 12px;
  }

  .home-hero-layout {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .hero-showcase {
    border-radius: 16px;
    aspect-ratio: 16 / 8.5;
  }

  .hero-slider-nav {
    display: none;
  }

  .hero-slider-dots {
    bottom: 8px;
  }

  .hero-slider-dot {
    width: 18px;
  }

  .hero-slider-dot.is-active {
    width: 38px;
  }

  .home-quick-section,
  .home-category-panel,
  .home-news-section {
    padding: 18px;
    border-radius: 24px;
    margin-bottom: 22px;
  }

  .home-section-title-row,
  .section-head,
  .home-category-head {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .home-section-title-row h2,
  .section-head h1,
  .section-head h2,
  .home-category-head h2 {
    font-size: 24px;
  }

  .home-section-title-row p,
  .home-category-head p {
    font-size: 13px;
  }

  .stats-grid,
  .admin-links,
  .feature-band,
  .announcement-top-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid h3.admin-stat-money {
    font-size: clamp(28px, 8vw, 34px);
  }

  .admin-quick-card {
    min-height: 0;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .admin-quick-meta {
    grid-column: 2;
    width: fit-content;
    max-width: 100%;
  }

  .admin-form-row,
  .toolbar,
  .admin-actions {
    align-items: stretch;
  }

  .admin-form-col,
  .admin-form-col-sm,
  .admin-form-col-lg,
  .admin-form-row .btn,
  .toolbar .btn {
    width: 100%;
    min-width: 0;
  }

  .admin-wallet-inline-grid {
    grid-template-columns: 1fr;
  }

  .pubg-form-grid {
    grid-template-columns: 1fr;
  }

  .pubg-admin-card {
    padding: 18px;
  }

  .home-static-banners {
    gap: 10px;
  }

  .home-static-banner-card {
    border-radius: 18px;
  }

  .home-static-banner-card img {
    aspect-ratio: 16 / 10;
  }

  .home-static-banner-copy {
    padding: 10px 11px;
  }

  .home-static-banner-copy strong {
    font-size: 14px;
  }

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

  .page-home .home-category-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin: 0 -2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .page-home .home-category-grid::-webkit-scrollbar {
    display: none;
  }

  .page-home .home-category-grid > .product-card {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-thumb-wrap {
    border-radius: 17px 17px 0 0;
  }

  .product-body {
    padding: 11px;
    gap: 8px;
  }

  .product-meta {
    font-size: 10px;
    gap: 6px;
  }

  .product-body h3 {
    font-size: 13px;
  }

  .product-actions {
    display: grid;
    gap: 10px;
    padding-top: 12px;
  }

  .product-actions .btn {
    width: 100%;
    min-height: 36px;
    font-size: 12px;
  }

  .price-line strong,
  .product-actions > div > strong {
    font-size: 17px;
  }

  .salev-grid .product-card,
  .wallet-product-grid .product-card,
  .pd-related-grid .product-card {
    min-height: 0;
  }

  .commerce-hero {
    display: grid;
    padding: 22px;
    border-radius: 24px;
  }

  .commerce-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-stepper {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .cart-step {
    white-space: nowrap;
  }

  .cart-product-top {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-thumb,
  .cart-thumb-link {
    width: 72px;
    height: 72px;
  }

  .cart-product-bottom {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .cart-line-price-block {
    justify-items: start;
    margin-left: 0;
    text-align: left;
  }

  .account-content {
    padding: 16px;
  }

  .account-command-card {
    padding: 22px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .account-order-filter,
  .account-filter-bar,
  .salev-filter-bar {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .auth-stage {
    padding: 18px 14px;
  }

  .auth-stage-inner {
    align-items: start;
  }

  .auth-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .auth-stage-footer {
    flex-wrap: wrap;
  }

  .footer-grid-rich,
  .admin-console-nav {
    grid-template-columns: 1fr;
  }

  .floating-socials {
    right: 12px;
    bottom: 86px;
    z-index: 92;
  }

  .floating-contact-toggle {
    min-height: 48px;
    padding: 8px 12px;
  }

  .floating-social {
    min-height: 44px;
    padding: 7px 11px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-link {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    border-radius: 16px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
  }

  .mobile-bottom-link.is-active {
    background: var(--black);
    color: var(--white);
  }

  .mobile-bottom-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 420px) {
  .home-static-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-category-grid > .product-card {
    flex-basis: 44%;
  }

  .product-grid {
    gap: 10px;
  }

  .product-body h3 {
    font-size: 12.5px;
  }
}

/* Rebuild stabilization: pages that previously depended on the old bundled CSS. */
.hero-slider-track {
  position: relative;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.account-order-table-wrap,
.account-history-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.account-order-table-wrap table,
.account-history-table-wrap table {
  min-width: 760px;
}

.account-order-table th,
.account-order-table td,
.account-history-table th,
.account-history-table td {
  padding: 14px 12px;
  vertical-align: middle;
}

.account-order-table th:last-child,
.account-order-table td:last-child {
  min-width: 104px;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .account-order-table {
    table-layout: fixed;
  }

  .account-order-table th:nth-child(1),
  .account-order-table td:nth-child(1) {
    width: 165px;
  }

  .account-order-table th:nth-child(2),
  .account-order-table td:nth-child(2) {
    width: 160px;
  }

  .account-order-table th:nth-child(3),
  .account-order-table td:nth-child(3) {
    width: auto;
  }

  .account-order-table th:nth-child(4),
  .account-order-table td:nth-child(4) {
    width: 130px;
    white-space: nowrap;
  }

  .account-order-table th:nth-child(5),
  .account-order-table td:nth-child(5) {
    width: 122px;
    white-space: nowrap;
  }

  .account-order-table th:nth-child(6),
  .account-order-table td:nth-child(6) {
    width: 96px;
    text-align: right;
    white-space: nowrap;
  }
}

/* Landing catalog */
.landing-lite {
  width: min(var(--container), calc(100vw - 32px));
  margin: 24px auto 54px;
  display: grid;
  gap: 22px;
}

.landing-lite-head,
.landing-lite-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}

.landing-lite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.landing-lite-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  isolation: isolate;
}

.landing-lite-brand img {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.landing-lite-brand > div {
  position: relative;
  z-index: 1;
}

.landing-lite-brand strong {
  display: block;
  color: #16a34a;
  background: linear-gradient(115deg, #065f46 0%, #16a34a 42%, #22c55e 72%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.landing-lite-brand::after {
  content: "";
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: -34px;
  z-index: 2;
  width: 28px;
  background: linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 46%, rgba(255,255,255,0) 100%);
  filter: blur(.2px);
  opacity: 0;
  transform: translateX(-120%) skewX(-18deg);
  animation: bubuBrandShine 4.2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.landing-lite-badge {
  display: inline-flex;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.landing-lite-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-lite-actions > a:not(.btn) {
  color: var(--text);
  font-weight: 900;
}

.landing-lite-panel {
  padding: clamp(20px, 2vw, 28px);
}

.landing-lite-intro-card {
  background:
    radial-gradient(circle at 88% 0%, rgba(5,7,10,.08), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f7f8fa 100%);
}

.landing-lite-icon,
.landing-lite-section-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.landing-lite h1,
.landing-lite h2 {
  margin: 0;
  color: var(--black);
  font-weight: 950;
  letter-spacing: -.05em;
}

.landing-lite h1 {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .98;
}

.landing-lite-panel h2 {
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.05;
}

.landing-lite-intro-card p,
.landing-lite-subtitle,
.landing-lite-step p,
.landing-lite-route-note {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 550;
  line-height: 1.65;
}

.landing-lite-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.landing-lite-step {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.landing-lite-step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--black);
  color: #fff;
  font-weight: 950;
}

.landing-lite-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.landing-lite-step-title strong {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
}

.landing-lite-step-icon,
.landing-lite-step-icon svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.landing-lite-products-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.landing-lite-products-head--compact {
  margin-bottom: 14px;
}

.landing-lite-intro-wrap--plain {
  display: block;
}

.landing-lite-intro-card--wide {
  width: 100%;
  max-width: 1100px;
}

.landing-lite-route-note {
  margin-top: 12px;
  color: var(--red);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 900;
}

.landing-lite-heading-reset,
.wallet-empty h3 {
  margin-top: 0;
}

.landing-pubg-group {
  margin-bottom: 26px;
}

.landing-product-card-fill,
.landing-lite .product-card {
  height: auto;
}

.landing-product-body-fill {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
}

.landing-product-title {
  min-height: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.landing-product-title--compact {
  min-height: 0;
  margin-bottom: 0;
}

.landing-product-actions {
  min-height: 0;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
}

.landing-product-actions--compact {
  min-height: 0;
}

.landing-product-price-box {
  min-width: 0;
}

.landing-stock-box {
  min-height: 0;
  display: flex;
  align-items: center;
}

.landing-action-stack {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}

.landing-action-stack form {
  min-width: 0;
}

.landing-action-stack .btn {
  width: 100%;
  min-width: 0;
  white-space: normal;
  line-height: 1.15;
}

.landing-action-stack--compact {
  min-height: 0;
}

.landing-lite .home-category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.landing-lite .product-card {
  min-height: 0;
}

.landing-lite .product-body h3 {
  margin: 0;
}

.wallet-empty {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  background: #fff;
  text-align: center;
}

.landing-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.is-landing-product-hidden {
  display: none;
}

.landing-floating-cart {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 120;
  min-width: 132px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(5, 7, 10, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.landing-floating-cart:hover {
  transform: translateY(-2px);
  background: #05070a;
  box-shadow: 0 24px 58px rgba(5, 7, 10, .28);
}

.landing-floating-cart__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
}

.landing-floating-cart__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.landing-floating-cart__text {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.landing-floating-cart__badge {
  position: static;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

@media (max-width: 900px) {
  .landing-floating-cart {
    right: 12px;
    bottom: 148px;
    z-index: 115;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(5, 7, 10, .92);
    box-shadow: 0 18px 42px rgba(5, 7, 10, .22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .landing-floating-cart__icon {
    width: 100%;
    height: 100%;
    background: transparent;
  }

  .landing-floating-cart__icon svg {
    width: 21px;
    height: 21px;
  }

  .landing-floating-cart__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .landing-floating-cart__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #fff;
    font-size: 11px;
    line-height: 15px;
  }
}

@media (max-width: 420px) {
  .landing-floating-cart {
    right: 12px;
    bottom: 146px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
  }
}

/* Product listing cards: show only the main price in the action area. */
body.page-products .product-card .price-note,
body.page-products .product-card .old-price,
body.page-products .product-card .discount-badge {
  display: none !important;
}

/* Product reviews */
.prv-wrap {
  width: min(var(--container), calc(100vw - 32px));
  margin: 24px auto 42px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.prv-card,
.prv-main {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.prv-card {
  position: sticky;
  top: 22px;
  padding: 22px;
}

.prv-product {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.prv-product img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f6f8fb;
}

.prv-product h2 {
  margin: 0;
  color: var(--black);
  font-size: 16px;
  line-height: 1.35;
}

.prv-stat-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.prv-pill {
  flex: 1;
  min-width: 110px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--black);
  text-align: center;
  font-weight: 900;
}

.prv-bars {
  display: grid;
  gap: 10px;
}

.prv-bar {
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.prv-bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.prv-bar-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--black);
}

.prv-main {
  padding: clamp(20px, 2.4vw, 28px);
}

.prv-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.prv-head h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.prv-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.prv-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
}

.prv-filter.active {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.prv-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.prv-empty {
  padding: 44px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: #f8fafc;
  color: var(--muted);
  text-align: center;
}

.prv-list {
  display: grid;
  gap: 14px;
}

.prv-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
}

.prv-item-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.prv-item-name {
  color: var(--black);
  font-weight: 900;
}

.prv-item-stars {
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: .05em;
}

.prv-item-date,
.prv-note {
  color: var(--muted);
  font-size: 14px;
}

.prv-item-content {
  color: var(--text);
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.prv-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.prv-form select,
.prv-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
}

.prv-form textarea {
  min-height: 110px;
  resize: vertical;
}

.prv-note--spaced {
  margin-top: 24px;
}

/* Top-up */
body.page-topup {
  --topup-ink: #05070a;
  --topup-muted: #667085;
  --topup-line: #e7e9ee;
}

body.page-topup .page-shell {
  display: grid;
  gap: 22px;
}

body.page-topup .topup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  align-items: stretch;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid var(--topup-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(5,7,10,.08), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-md);
}

body.page-topup .topup-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.page-topup .topup-hero h1 {
  max-width: 820px;
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.055em;
}

body.page-topup .topup-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--topup-muted);
  line-height: 1.7;
}

body.page-topup .topup-balance-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  border-radius: 26px;
  background: var(--black);
  color: #fff;
  box-shadow: 0 18px 38px rgba(5,7,10,.18);
}

body.page-topup .topup-balance-card span,
body.page-topup .topup-balance-card small {
  color: rgba(255,255,255,.72);
  font-weight: 800;
}

body.page-topup .topup-balance-card strong {
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

body.page-topup .topup-paid-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid #bbf7d0;
  border-radius: 24px;
  background: #f0fdf4;
}

body.page-topup .topup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 22px;
  align-items: stretch;
}

body.page-topup .topup-info-card,
body.page-topup .topup-form-card {
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--topup-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body.page-topup .topup-card-head,
body.page-topup .topup-form-head {
  display: grid;
  gap: 10px;
}

body.page-topup .topup-card-head h2,
body.page-topup .topup-form-head h2,
body.page-topup .topup-history-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -.045em;
}

body.page-topup .topup-form-head p {
  margin: 0;
  color: var(--topup-muted);
  line-height: 1.65;
}

body.page-topup .topup-quick-panel,
body.page-topup .topup-limit-card,
body.page-topup .topup-need-card,
body.page-topup .topup-steps div {
  border: 1px solid var(--topup-line);
  border-radius: 22px;
  background: #f9fafb;
}

body.page-topup .topup-quick-panel {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
}

body.page-topup .topup-mini-title,
body.page-topup .topup-form-card label {
  color: var(--topup-ink);
  font-weight: 950;
}

body.page-topup .topup-quick-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.page-topup .topup-quick {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border: 1px solid var(--topup-line);
  border-radius: 18px;
  background: #fff;
  color: var(--topup-ink);
  font-weight: 950;
}

body.page-topup .topup-quick:hover,
body.page-topup .topup-quick.is-active {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

body.page-topup .topup-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

body.page-topup .topup-steps div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}

body.page-topup .topup-steps strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

body.page-topup .topup-amount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
}

body.page-topup .topup-amount-control input {
  min-height: 64px;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 950;
}

body.page-topup .topup-amount-control span {
  padding: 0 18px;
  color: var(--muted);
  font-weight: 950;
}

body.page-topup .topup-submit-btn,
body.page-topup .topup-back-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 17px;
}

body.page-topup .topup-history-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

body.page-topup .topup-history-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-topup .topup-history-stats > span:not(.customer-badge) {
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid var(--topup-line);
  border-radius: 18px;
  background: #fff;
  color: var(--topup-muted);
  font-size: 12px;
  font-weight: 800;
}

body.page-topup .topup-history-table table {
  min-width: 860px;
}

body.page-topup .topup-qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5,7,10,.72);
  backdrop-filter: blur(8px);
}

body.page-topup .topup-qr-modal.is-open {
  display: flex;
}

body.page-topup .topup-qr-dialog {
  width: min(920px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 28px;
  background: #fff;
  text-align: left;
  box-shadow: 0 26px 80px rgba(2, 6, 23, .28);
}

body.page-topup .topup-qr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.page-topup .topup-qr-dialog h3 {
  margin: 6px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.12;
}

body.page-topup .topup-qr-close-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--topup-line);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.page-topup .topup-qr-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

body.page-topup .topup-qr-main {
  display: grid;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--topup-line);
  border-radius: 22px;
  background: #f8fafc;
  text-align: center;
}

body.page-topup .topup-qr-state {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

body.page-topup .topup-qr-image {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  background: #f8fafc;
}

body.page-topup .topup-qr-scan {
  margin: 14px 0 0;
  color: var(--topup-muted);
  font-size: 14px;
  font-weight: 750;
}

body.page-topup .topup-qr-amount {
  margin: 12px 0 0;
  color: var(--price-red, #ff3d1f);
  font-size: 20px;
  font-weight: 850;
}

body.page-topup .topup-qr-transfer {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #fff;
  color: var(--topup-ink);
  font-weight: 800;
  word-break: break-word;
}

body.page-topup .topup-qr-steps {
  display: grid;
  gap: 10px;
}

body.page-topup .topup-qr-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--topup-line);
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
}

body.page-topup .topup-qr-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #e2e8f0;
  color: #475569;
  font-size: 14px;
  font-weight: 850;
}

body.page-topup .topup-qr-step span {
  min-width: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

body.page-topup .topup-qr-step.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

body.page-topup .topup-qr-step.is-active strong {
  background: #2563eb;
  color: #fff;
}

body.page-topup .topup-qr-step.is-done {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

body.page-topup .topup-qr-step.is-done strong {
  background: #16a34a;
  color: #fff;
}

body.page-topup .topup-qr-status {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--topup-ink);
  font-weight: 800;
  line-height: 1.45;
}

body.page-topup .topup-qr-status.is-processing {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

body.page-topup .topup-qr-status.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #16a34a;
}

body.page-topup .topup-qr-status.is-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

body.page-topup .topup-qr-delay {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

body.page-topup .topup-qr-hint {
  margin: 0;
  color: var(--topup-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* News */
body.page-news {
  --news-ink: #05070a;
  --news-muted: #667085;
  --news-line: #e7e9ee;
}

body.page-news .page-shell {
  display: grid;
  gap: 22px;
}

body.page-news .news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid var(--news-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(5,7,10,.08), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-md);
}

body.page-news .news-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.page-news .news-hero h1 {
  max-width: 760px;
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.055em;
}

body.page-news .news-hero p {
  margin: 0;
  color: var(--news-muted);
  line-height: 1.7;
}

body.page-news .news-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.page-news .news-source-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  border-radius: 26px;
  background: var(--black);
  color: #fff;
}

body.page-news .news-source-card span,
body.page-news .news-source-card small {
  color: rgba(255,255,255,.72);
  font-weight: 800;
}

body.page-news .news-source-card strong {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  font-weight: 950;
}

body.page-news .news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
  gap: 18px;
}

body.page-news .news-featured-card,
body.page-news .news-side-card,
body.page-news .news-page-card {
  color: var(--news-ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.page-news .news-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body.page-news .news-featured-media,
body.page-news .news-page-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
}

body.page-news .news-featured-media img,
body.page-news .news-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-news .news-featured-media span,
body.page-news .news-page-image span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

body.page-news .news-featured-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 34px);
}

body.page-news .news-featured-copy strong {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

body.page-news .news-featured-copy em,
body.page-news .news-page-card p {
  margin: 0;
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.65;
  font-style: normal;
}

body.page-news .news-featured-copy b {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

body.page-news .news-side-list {
  display: grid;
  gap: 14px;
}

body.page-news .news-side-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--news-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body.page-news .news-side-card img {
  width: 132px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
}

body.page-news .news-page-section {
  display: grid;
  gap: 16px;
}

body.page-news .news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.page-news .news-page-card {
  display: grid;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--news-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body.page-news .news-page-image {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

body.page-news .news-page-card strong {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 950;
}

.news-detail-shell {
  width: min(920px, calc(100vw - 32px));
  margin: 22px auto 0;
}

.news-detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.news-detail-hero,
.news-detail-content,
.news-detail-card {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.news-detail-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.055em;
}

.news-detail-hero p,
.news-detail-meta {
  color: var(--muted);
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
}

.news-detail-cover {
  margin: 18px 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #111;
}

.news-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.news-detail-content {
  color: #1f2937;
  font-size: 16px;
  line-height: 1.8;
}

.news-detail-content :where(img, video, iframe) {
  max-width: 100%;
  border-radius: 18px;
}

@media (max-width: 1024px) {
  .account-security-panel {
    grid-template-columns: 1fr;
  }

  .checkout-grid,
  .confirm-page,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .cart-side-src,
  .confirm-aside {
    position: static;
  }

  .page-product-detail .pd-shell {
    grid-template-columns: 1fr;
  }

  .pd-card {
    position: static;
  }

  .pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-lite .home-category-grid,
  .wallet-product-grid,
  body.page-news .news-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-lite-steps,
  .prv-wrap,
  body.page-topup .topup-layout,
  body.page-topup .topup-hero,
  body.page-news .news-hero,
  body.page-news .news-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-product-detail .pd-shell,
  .page-product-detail .pd-related,
  .page-product-detail .pr-section,
  .page-product-detail .pd-pubg-gallery-bottom {
    width: min(100% - 20px, var(--container));
  }

  .pd-media .product-thumb-wrap,
  .pd-main-img,
  .pd-card,
  .pr-card {
    border-radius: 24px;
  }

  .pd-title {
    font-size: 30px;
  }

  .pd-btns {
    display: grid;
  }

  .pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pr-header,
  .pr-item-head {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-hero,
  .confirm-head {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-hero-metrics,
  .confirm-grid,
  .cart-customer-grid {
    grid-template-columns: 1fr;
  }

  .confirm-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .success-meta-grid,
  .success-item {
    grid-template-columns: 1fr;
  }

  .success-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .confirm-price {
    grid-column: 2;
    text-align: left;
  }

  .cart-product-top {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .cart-thumb,
  .cart-thumb-link {
    width: 76px;
    height: 76px;
  }

  .cart-product-bottom {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cart-line-price-block {
    justify-items: start;
    margin-left: 0;
    text-align: left;
  }

  .favorite-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
  }

  .favorite-card__thumb-wrap {
    width: 76px;
  }

  .favorite-card__actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .favorite-card__title {
    font-size: 15px;
  }

  .favorite-card__price {
    font-size: 22px;
  }

  .product-grid:not(.home-category-grid) .product-card,
  .landing-lite .product-card {
    min-height: 0;
  }

  .landing-lite {
    width: min(100% - 20px, var(--container));
    margin-top: 14px;
  }

  .landing-lite-head,
  .landing-lite-products-head,
  .prv-head,
  body.page-topup .topup-history-head {
    display: grid;
  }

  .prv-wrap {
    width: min(100% - 20px, var(--container));
    margin-top: 14px;
  }

  .prv-card {
    position: static;
  }

  .prv-toggle,
  .prv-item-top {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }

  .wallet-product-grid {
    gap: 12px;
  }

  .wallet-product-card {
    min-height: 0;
    border-radius: 18px;
  }

  .wallet-product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wallet-product-actions .btn {
    width: 100%;
  }

  .landing-lite-steps,
  body.page-news .news-page-grid,
  body.page-news .news-featured-card {
    grid-template-columns: 1fr;
  }

  body.page-news .news-side-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  body.page-news .news-side-card img {
    width: 104px;
    height: 78px;
  }

  body.page-topup .topup-quick-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Visual polish pass: softer lines and calmer type weights across the rebuilt UI. */
:root {
  --line: #edf0f5;
  --line-strong: #d9e0ea;
  --text: #101828;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .045);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, .075);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, .12);
}

:where(
  .card,
  .panel,
  .form-card,
  .summary-box,
  .table-wrap,
  .account-sidebar,
  .account-content,
  .detail-card,
  .product-card,
  .wallet-product-card,
  .checkout-card,
  .confirm-card,
  .info-card,
  .cart-row,
  .cart-row-rich,
  .cart-side-card,
  .home-category-panel,
  .home-quick-section,
  .landing-lite-panel,
  .auth-panel,
  .admin-card,
  .pubg-admin-card
) {
  border-color: rgba(218, 225, 234, .82);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

:where(
  th,
  .pill,
  .btn,
  button.btn,
  a.btn,
  .auth-submit,
  .auth-secondary-btn,
  .bubu-live-badge,
  .bubu-search button,
  .bubu-nav-chip,
  .bubu-shortcut,
  .bubu-category-menu summary,
  .bubu-mobile-menu__links a,
  .bubu-mobile-menu__categories a,
  .bubu-mobile-menu__actions a,
  .bubu-mobile-menu__actions button,
  .bubu-mobile-menu__account-nav a,
  .product-meta,
  .wallet-pill,
  .sale-tag,
  .discount-badge,
  .price-note,
  .cart-step,
  .commerce-kicker,
  .cart-mini-row,
  .cart-side-link span,
  .cart-customer-field label,
  .auth-panel-head p,
  .auth-field > span:first-child,
  .auth-captcha > span,
  .account-command-kicker,
  .account-link-copy strong,
  .account-link-badge,
  .overview-grid span,
  .account-command-metrics span,
  .admin-menu-link,
  .admin-table th,
  .landing-lite-badge,
  .landing-lite-step-title strong,
  .prv-filter,
  body.page-news .news-featured-badge
) {
  font-weight: 740;
}

:where(
  .bubu-brand-copy strong,
  .home-section-title-row h2,
  .section-head h1,
  .section-head h2,
  .home-category-head h2,
  .product-body h3,
  .wallet-product-title-link h3,
  .cart-title,
  .cart-item-name,
  .cart-side-card h3,
  .commerce-hero h1,
  .pd-title,
  .account-command-card h1,
  .account-security-title,
  .auth-panel-head h1,
  .favorite-card__title,
  .landing-lite h1,
  .landing-lite h2,
  body.page-topup .topup-hero h1,
  body.page-news .news-hero h1,
  body.page-news .news-featured-copy h2,
  .news-detail-hero h1
) {
  font-weight: 820;
}

:where(
  .price-line strong,
  .product-actions > div > strong,
  .wallet-price-text,
  .cart-line-price,
  .cart-mini-row strong,
  .cart-mini-row.total strong,
  .commerce-hero-metrics strong,
  .account-profile-stats strong,
  .account-command-metrics strong,
  .overview-grid strong,
  .pd-price,
  .favorite-card__price,
  body.page-topup .topup-balance strong
) {
  font-weight: 830;
}

:where(
  th,
  td,
  .bubu-topbar,
  .bubu-category-bar,
  .bubu-dropdown-header,
  .cart-product-bottom,
  .cart-mini-row.total,
  .cart-side-link,
  .account-security-panel,
  .confirm-summary-row,
  .success-total-row,
  .admin-table th,
  .admin-table td,
  .footer-rich
) {
  border-color: rgba(218, 225, 234, .72);
}

:where(.btn, button.btn, a.btn, .auth-submit, .auth-secondary-btn) {
  box-shadow: 0 10px 22px rgba(5, 7, 10, .10);
}

:where(.btn:hover, .auth-submit:hover, .auth-secondary-btn:hover) {
  box-shadow: 0 14px 28px rgba(5, 7, 10, .14);
}

:where(.product-card:hover, .wallet-product-card:hover, .card:hover, .panel:hover) {
  border-color: rgba(203, 213, 225, .9);
}

/* Account order detail polish */
.account-order-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.account-order-detail-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: -.045em;
}

.account-order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-order-detail-actions form {
  margin: 0;
}

.account-order-detail-actions .btn {
  gap: 8px;
  min-height: 42px;
}

.account-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.account-order-detail-card {
  padding: 22px;
  border-radius: 26px;
}

.account-order-detail-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: -.025em;
}

.account-order-meta-grid,
.account-order-value-list {
  display: grid;
  gap: 10px;
}

.account-order-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-info-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(218, 225, 234, .82);
  border-radius: 18px;
  background: #fff;
}

.account-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #f5f7fb;
  color: #344054;
}

.account-info-icon svg {
  width: 18px;
  height: 18px;
}

.account-info-row > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.account-info-row > div > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 640;
}

.account-info-row > div > strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.account-info-row--strong {
  background: linear-gradient(135deg, #0b1018, #171c26);
  border-color: rgba(15, 23, 42, .9);
  color: #fff;
}

.account-info-row--strong .account-info-icon {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.account-info-row--strong > div > span {
  color: rgba(255, 255, 255, .68);
}

.account-info-row--strong > div > strong {
  color: #fff;
}

.account-order-note {
  margin-top: 12px;
}

.account-inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(218, 225, 234, .82);
  border-radius: 18px;
  background: #f8fafc;
  color: var(--muted);
}

.account-note-icon {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: #fff;
  color: #344054;
}

.account-inline-note > div,
.account-inline-note > span:not(.account-note-icon) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-inline-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 760;
}

.account-order-items-stack {
  margin-top: 18px;
}

.account-order-item-card {
  padding: 16px;
  border-radius: 24px;
}

.account-order-item-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.account-order-item-media {
  width: 96px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f4f7;
}

.account-order-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-order-item-body {
  min-width: 0;
}

.account-order-item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.account-order-item-top h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 780;
}

.account-order-item-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.account-order-item-price {
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 830;
  white-space: nowrap;
}

.account-delivered-block {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(218, 225, 234, .82);
  border-radius: 20px;
  background: #f8fafc;
}

.account-delivered-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.account-title-icon,
.account-mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #fff;
  color: #344054;
}

.account-mini-icon {
  width: 24px;
  height: 24px;
  border-radius: 9px;
}

.account-title-icon svg,
.account-mini-icon svg {
  width: 15px;
  height: 15px;
}

.account-delivered-list {
  display: grid;
  gap: 10px;
}

.account-copy-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(218, 225, 234, .82);
  border-radius: 18px;
  background: #fff;
}

.account-copy-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-copy-box-label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 720;
}

.account-copy-btn {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.account-copy-btn.is-copied {
  border-color: rgba(22, 163, 74, .25);
  background: #ecfdf3;
  color: #067647;
}

.account-key-code {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 15px;
  background: #0b1018;
  color: #fff;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: .015em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.account-copy-hints {
  display: grid;
  gap: 8px;
}

.account-copy-hints .account-inline-note {
  align-items: center;
  padding: 10px 12px;
  background: #fff;
}

.account-inline-note--warn {
  border-color: rgba(245, 158, 11, .22);
  background: #fffbeb;
  color: #92400e;
}

.account-inline-note--warn .account-note-icon {
  color: #b45309;
  background: #fff7ed;
}

.account-delivered-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed rgba(203, 213, 225, .95);
  border-radius: 18px;
  background: #f8fafc;
}

@media (max-width: 960px) {
  .account-order-detail-head,
  .account-order-item-top {
    display: grid;
  }

  .account-order-detail-grid,
  .account-order-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .account-order-detail-card {
    padding: 16px;
  }

  .account-info-row {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 10px;
  }

  .account-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .account-order-item-main {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .account-order-item-media {
    width: 76px;
  }
}

/* Ink refinement pass: make black text feel modern instead of heavy. */
:root {
  --text: #1a2433;
  --black: #080b10;
  --muted: #6b7586;
}

body {
  color: var(--text);
  font-weight: 400;
}

body :is(
  .btn,
  button.btn,
  a.btn,
  .auth-submit,
  .auth-secondary-btn,
  .bubu-search button,
  .bubu-nav-chip,
  .bubu-shortcut,
  .bubu-category-menu summary,
  .bubu-mobile-menu__links a,
  .bubu-mobile-menu__categories a,
  .bubu-mobile-menu__actions a,
  .bubu-mobile-menu__actions button,
  .bubu-mobile-menu__account-nav a,
  .pill,
  .sale-tag,
  .discount-badge,
  .cart-step,
  .account-copy-btn,
  .landing-lite-badge,
  .prv-filter
) {
  font-weight: 550;
}

body :is(
  .bubu-brand-copy strong,
  .home-section-title-row h2,
  .section-head h1,
  .section-head h2,
  .home-category-head h2,
  .commerce-hero h1,
  .pd-title,
  .account-command-card h1,
  .account-order-detail-head h1,
  .auth-panel-head h1,
  .landing-lite h1,
  .landing-lite h2,
  body.page-topup .topup-hero h1,
  body.page-news .news-hero h1,
  body.page-news .news-featured-copy strong,
  .news-detail-hero h1
) {
  color: var(--text);
  font-weight: 760;
}

body :is(
  .product-body h3,
  .wallet-product-title-link h3,
  .cart-title,
  .cart-item-name,
  .cart-side-card h3,
  .account-order-detail-card h3,
  .account-order-item-top h3,
  .favorite-card__title,
  .admin-quick-copy strong,
  .admin-console-link-copy strong,
  .landing-product-title
) {
  color: var(--text);
  font-weight: 700;
}

body :is(
  .price-line strong,
  .product-actions > div > strong,
  .wallet-price-text,
  .cart-line-price,
  .cart-mini-row strong,
  .cart-mini-row.total strong,
  .commerce-hero-metrics strong,
  .account-profile-stats strong,
  .account-command-metrics strong,
  .overview-grid strong,
  .pd-price,
  .account-order-item-price,
  .favorite-card__price,
  body.page-topup .topup-balance strong
) {
  color: var(--text);
  font-weight: 760;
}

body :is(
  .product-meta,
  .wallet-pill,
  .price-note,
  .commerce-kicker,
  .cart-mini-row,
  .cart-customer-field label,
  .auth-panel-head p,
  .auth-field > span:first-child,
  .auth-captcha > span,
  .account-command-kicker,
  .account-link-copy strong,
  .account-link-badge,
  .overview-grid span,
  .account-command-metrics span,
  .account-info-row > div > span,
  .account-copy-box-label,
  .account-delivered-title,
  .admin-menu-link,
  .admin-table th
) {
  font-weight: 600;
}

body :is(
  p,
  small,
  .muted,
  .section-subtitle,
  .cart-item-desc,
  .account-order-item-submeta,
  .account-inline-note,
  .product-short-description,
  .pd-desc
) {
  color: var(--muted);
  font-weight: 400;
}

body :is(
  .card,
  .panel,
  .form-card,
  .summary-box,
  .table-wrap,
  .account-sidebar,
  .account-content,
  .detail-card,
  .product-card,
  .wallet-product-card,
  .checkout-card,
  .confirm-card,
  .info-card,
  .cart-row,
  .cart-row-rich,
  .cart-side-card,
  .home-category-panel,
  .home-quick-section,
  .landing-lite-panel,
  .auth-panel,
  .admin-card,
  .pubg-admin-card
) {
  border-color: rgba(226, 232, 240, .72);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

body :is(th, td, .cart-product-bottom, .cart-mini-row.total, .cart-side-link, .footer-rich) {
  border-color: rgba(226, 232, 240, .7);
}

/* Logged-in password change form */
body .account-security-form {
  display: grid;
  gap: 13px;
}

body .account-security-reset-card.account-security-reset-entry {
  height: auto;
}

body .account-security-form .account-security-note {
  margin: 0 0 2px;
  font-weight: 520;
}

body .account-security-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

body .account-security-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .01em;
}

body .account-security-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(218, 225, 234, .95);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 520;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body .account-security-input:focus {
  border-color: rgba(8, 11, 16, .34);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, .06);
}

body .account-security-form .account-security-btn {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

/* Account reviews */
body .account-review-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(226, 232, 240, .78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(15, 23, 42, .05), transparent 14rem),
    rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
}

body .account-review-panel + .account-review-panel {
  margin-top: 18px;
}

body .account-review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .56fr);
  gap: 18px;
  align-items: end;
}

body .account-review-head--compact {
  grid-template-columns: 1fr;
}

body .account-review-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 11, 16, .94);
  color: #fff;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .02em;
}

body .account-review-head h2 {
  margin: 12px 0 6px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.06;
  font-weight: 720;
  letter-spacing: -.04em;
}

body .account-review-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 420;
}

body .account-review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body .account-review-summary div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
}

body .account-review-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body .account-review-summary strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  font-weight: 720;
}

body .account-review-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed rgba(203, 213, 225, .95);
  border-radius: 22px;
  background: rgba(248, 250, 252, .76);
}

body .account-review-empty strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 680;
}

body .account-review-empty span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body .account-review-list {
  display: grid;
  gap: 14px;
}

body .account-review-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
}

body .account-review-thumb {
  width: 112px;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

body .account-review-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

body .account-review-body {
  min-width: 0;
  display: grid;
  gap: 9px;
}

body .account-review-meta,
body .account-review-rating,
body .account-review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body .account-review-meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, .9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

body .account-review-body h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 680;
  letter-spacing: -.015em;
}

body .account-review-body h3 a {
  color: inherit;
}

body .account-review-rating span {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: .06em;
}

body .account-review-rating strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 680;
}

body .account-review-content {
  margin: 0;
  color: #455266;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 420;
}

body .account-review-actions {
  margin-top: 4px;
}

body .account-review-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(203, 213, 225, .92);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 620;
  line-height: 1;
  cursor: pointer;
}

body .account-review-action--dark {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

body .account-review-locked {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(203, 213, 225, .72);
  border-radius: 999px;
  background: rgba(248, 250, 252, .9);
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}

body .account-review-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

body .account-review-pending-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  color: var(--text);
}

body .account-review-pending-thumb {
  width: 78px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: #f8fafc;
}

body .account-review-pending-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body .account-review-pending-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body .account-review-pending-copy small {
  color: #2563eb;
  font-size: 12px;
  font-weight: 620;
}

body .account-review-pending-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 680;
}

body .account-review-pending-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

@media (max-width: 768px) {
  body .account-review-head,
  body .account-review-card {
    grid-template-columns: 1fr;
  }

  body .account-review-summary {
    grid-template-columns: 1fr;
  }

  body .account-review-thumb {
    width: 100%;
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }

  body .account-review-actions {
    align-items: stretch;
  }

  body .account-review-action,
  body .account-review-locked {
    width: 100%;
  }
}

/* Top-up mobile clamp: keep the wallet flow inside the viewport. */
body.page-topup {
  overflow-x: clip;
}

body.page-topup :where(
  .topup-shell,
  .topup-layout,
  .topup-hero,
  .topup-hero-copy,
  .topup-balance-card,
  .topup-info-card,
  .topup-form-card,
  .topup-card-head,
  .topup-form-head,
  .topup-quick-panel,
  .topup-quick-list,
  .topup-steps,
  .topup-limit-card,
  .topup-need-card,
  .topup-amount-control,
  .topup-action-grid,
  .topup-history-section,
  .topup-history-head,
  .topup-history-stats
) {
  min-width: 0;
  max-width: 100%;
}

body.page-topup :where(
  .topup-hero p,
  .topup-form-head p,
  .topup-limit-card p,
  .topup-steps span,
  .topup-balance-card small,
  .topup-quick span,
  .topup-history-stats > span
) {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  body.page-topup .page-shell {
    width: min(100% - 14px, var(--container));
    gap: 14px;
    overflow: clip;
  }

  body.page-topup .topup-hero,
  body.page-topup .topup-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  body.page-topup .topup-hero,
  body.page-topup .topup-info-card,
  body.page-topup .topup-form-card {
    padding: 18px;
    border-radius: 24px;
  }

  body.page-topup .topup-hero h1,
  body.page-topup .topup-card-head h2,
  body.page-topup .topup-form-head h2 {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  body.page-topup .topup-hero p,
  body.page-topup .topup-form-head p {
    font-size: 13px;
    line-height: 1.55;
  }

  body.page-topup .topup-balance-card {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  body.page-topup .topup-balance-card strong {
    font-size: clamp(24px, 7vw, 30px);
  }

  body.page-topup .topup-quick-panel {
    padding: 14px;
    border-radius: 20px;
  }

  body.page-topup .topup-quick-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.page-topup .topup-quick {
    min-height: 52px;
    border-radius: 16px;
  }

  body.page-topup .topup-steps div {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  body.page-topup .topup-steps strong {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  body.page-topup .topup-limit-card {
    padding: 14px;
    border-radius: 18px;
  }

  body.page-topup .topup-amount-control {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 16px;
  }

  body.page-topup .topup-amount-control input {
    min-width: 0;
    min-height: 56px;
    padding-inline: 14px;
    font-size: clamp(22px, 8vw, 30px);
  }

  body.page-topup .topup-amount-control span {
    padding-inline: 12px;
    font-size: 12px;
  }

  body.page-topup .topup-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-topup .topup-submit-btn,
  body.page-topup .topup-back-btn {
    min-width: 0;
    width: 100%;
    min-height: 50px;
    white-space: normal;
  }

  body.page-topup .topup-paid-banner {
    display: grid;
    padding: 16px;
    border-radius: 20px;
  }

  body.page-topup .topup-history-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-topup .topup-history-stats > span:not(.customer-badge) {
    min-width: 0;
  }

  body.page-topup .topup-qr-modal {
    padding: 12px;
  }

  body.page-topup .topup-qr-dialog {
    padding: 18px;
    border-radius: 22px;
  }

  body.page-topup .topup-qr-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  body.page-topup .topup-qr-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.page-topup .topup-qr-main {
    padding: 14px;
    border-radius: 18px;
  }

  body.page-topup .topup-qr-step {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 54px;
    border-radius: 16px;
  }

  body.page-topup .topup-qr-step strong {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  body.page-topup .topup-qr-close {
    width: 100%;
  }
}

/* SEAGM-inspired type pass: simpler weight, calmer text, red prices. */
:root {
  --text: #252b35;
  --black: #101318;
  --muted: #747d8c;
  --price-red: #ff3d1f;
}

body {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

body :where(a, button, input, select, textarea, p, small, span, li, th, td, label) {
  letter-spacing: 0;
}

body :is(strong, b) {
  font-weight: 600;
}

body :is(
  .bubu-brand-copy strong,
  .home-section-title-row h2,
  .section-head h1,
  .section-head h2,
  .home-category-head h2,
  .commerce-hero h1,
  .pd-title,
  .account-command-card h1,
  .account-order-detail-head h1,
  .auth-panel-head h1,
  .landing-lite h1,
  .landing-lite h2,
  body.page-topup .topup-hero h1,
  body.page-news .news-hero h1,
  body.page-news .news-featured-copy strong,
  .news-detail-hero h1
) {
  color: var(--text);
  font-weight: 550;
  letter-spacing: -.025em;
}

body :is(
  .product-body h3,
  .wallet-product-title-link h3,
  .cart-title,
  .cart-item-name,
  .cart-side-card h3,
  .account-order-detail-card h3,
  .account-order-item-top h3,
  .favorite-card__title,
  .admin-quick-copy strong,
  .admin-console-link-copy strong,
  .landing-product-title,
  .home-news-card strong
) {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -.01em;
}

body :is(
  .btn,
  button.btn,
  a.btn,
  .auth-submit,
  .auth-secondary-btn,
  .bubu-search button,
  .bubu-nav-chip,
  .bubu-shortcut,
  .bubu-category-menu summary,
  .bubu-mobile-menu__links a,
  .bubu-mobile-menu__categories a,
  .bubu-mobile-menu__actions a,
  .bubu-mobile-menu__actions button,
  .bubu-mobile-menu__account-nav a,
  .pill,
  .sale-tag,
  .discount-badge,
  .cart-step,
  .account-copy-btn,
  .landing-lite-badge,
  .prv-filter,
  .product-meta,
  .wallet-pill,
  .price-note,
  .commerce-kicker,
  .cart-customer-field label,
  .auth-field > span:first-child,
  .auth-captcha > span,
  .account-command-kicker,
  .account-link-copy strong,
  .account-link-badge,
  .overview-grid span,
  .account-command-metrics span,
  .account-info-row > div > span,
  .account-copy-box-label,
  .account-delivered-title,
  .admin-menu-link,
  .admin-table th
) {
  font-weight: 500;
}

body :is(
  .price-line strong,
  .product-actions > div > strong,
  .wallet-price-text:not(.is-contact),
  .salev-price-row strong,
  .pd-price:not(.outofstock),
  .pd-vprice,
  .cart-line-price,
  .cart-mini-row strong,
  .cart-mini-row.total strong,
  .confirm-price strong,
  .confirm-row strong,
  .confirm-row.total strong,
  .success-item b,
  .account-order-item-price,
  .favorite-card__price,
  body.page-topup .topup-paid-banner b,
  body.page-topup .topup-need-card strong
) {
  color: var(--price-red);
  font-weight: 550;
  letter-spacing: 0;
}

body .old-price,
body :is(.cart-line-old, .confirm-price s) {
  color: #9aa3b2;
  font-weight: 500;
}

body .is-vnd-format-input {
  font-variant-numeric: tabular-nums;
}

/* Announcement modal fix: long notices should scroll instead of being clipped. */
body .site-announcement-inline--modal {
  align-items: center;
  justify-items: center;
  padding: clamp(14px, 3vw, 28px);
}

body .site-announcement-inline__dialog {
  width: min(640px, calc(100vw - 28px));
  max-height: min(84dvh, 760px);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 12px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 28px;
}

body .site-announcement-inline__brand {
  margin: 0;
}

body .site-announcement-inline__badge {
  margin: 4px 0 0;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

body .site-announcement-inline__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -.025em;
}

body .site-announcement-inline__content {
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 8px;
  color: #364255;
  font-size: 15px;
  line-height: 1.68;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

body .site-announcement-inline__content::-webkit-scrollbar {
  width: 7px;
}

body .site-announcement-inline__content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, .55);
}

body .site-announcement-inline__content :where(p, li, span, strong, b, em, u) {
  max-width: 100%;
  color: inherit !important;
  font-size: clamp(15px, 1.45vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

body .site-announcement-inline__content :where(h1, h2, h3) {
  color: var(--text) !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  letter-spacing: -.02em;
}

body .site-announcement-inline__content :where(img, video, iframe) {
  max-width: 100%;
  height: auto;
}

body .site-announcement-inline__actions {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 232, 240, .86);
  background: linear-gradient(180deg, rgba(255,255,255,.92), #fff 36%);
}

body .site-announcement-inline__btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 768px) {
  body .site-announcement-inline--modal {
    padding: 10px;
    align-items: center;
  }

  body .site-announcement-inline__dialog {
    width: min(100%, calc(100vw - 20px));
    max-height: min(82dvh, calc(100dvh - 64px));
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
  }

  body .site-announcement-inline__brand {
    padding: 9px;
    border-radius: 18px;
  }

  body .site-announcement-inline__brand-logo {
    width: 38px;
    height: 38px;
  }

  body .site-announcement-inline__brand-name {
    font-size: 15px;
  }

  body .site-announcement-inline__title {
    font-size: 22px;
  }

  body .site-announcement-inline__content {
    padding-right: 4px;
    font-size: 14px;
  }

  body .site-announcement-inline__content :where(p, li, span, strong, b, em, u) {
    font-size: 16px !important;
    line-height: 1.62 !important;
  }

  body .site-announcement-inline__actions {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }
}

/* Auth pages: remove the bulky illustration and keep the flow clean. */
body.auth-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .98), transparent 34rem),
    linear-gradient(180deg, #fbfbfa 0%, #f4f5f6 100%);
}

body.auth-page .floating-socials {
  display: none !important;
}

body.auth-page .auth-stage {
  width: min(1120px, calc(100vw - 32px));
  min-height: 100svh;
  margin: 0 auto;
  gap: 18px;
  padding: 24px 0 18px;
}

body.auth-page .auth-stage-brand {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
}

body.auth-page .auth-stage-brand img {
  width: 36px;
  height: 36px;
}

body.auth-page .auth-stage-inner {
  width: min(500px, 100%);
  display: grid;
  grid-template-columns: 1fr !important;
  justify-self: center;
  align-self: center;
  gap: 0;
}

body.auth-page .auth-visual {
  display: none !important;
}

body.auth-page .auth-panel {
  width: 100%;
  gap: 14px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(218, 225, 234, .9);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

body.auth-page .auth-panel--reset,
body.auth-page .auth-panel--register {
  width: min(520px, 100%);
}

body.auth-page .auth-panel-head {
  margin-bottom: 4px;
}

body.auth-page .auth-panel-head p {
  margin: 0 0 6px;
  color: #647084;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.auth-page .auth-panel-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -.025em;
}

body.auth-page .auth-field {
  gap: 7px;
}

body.auth-page .auth-field > span:first-child,
body.auth-page .auth-captcha > span {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.auth-page .auth-input {
  min-height: 54px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  padding: 0 16px;
  border: 1px solid #d9e0ea;
  border-radius: 18px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

body.auth-page .auth-input:focus-within {
  border-color: rgba(16, 19, 24, .42);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, .06);
}

body.auth-page .auth-input svg {
  width: 19px;
  height: 19px;
  color: #7a8494;
}

body.auth-page .auth-input input {
  min-height: 52px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

body.auth-page .auth-input input::placeholder {
  color: #8a94a6;
  font-weight: 500;
}

body.auth-page .auth-rule-list {
  margin: -2px 0 4px;
  padding-left: 18px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

body.auth-page .auth-submit {
  min-height: 54px;
  margin-top: 2px;
  border-radius: 999px;
  background: #090c10;
  font-size: 15px;
  font-weight: 650;
  box-shadow: 0 16px 34px rgba(5, 7, 10, .16);
}

body.auth-page .auth-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

body.auth-page .auth-login-divider::before,
body.auth-page .auth-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5eaf1;
}

body.auth-page .auth-google-wrap {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

body.auth-page .auth-google-wrap iframe {
  max-width: 100% !important;
}

body.auth-page .auth-secondary-btn {
  min-height: 42px;
  width: max-content;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

body.auth-page .auth-alt {
  color: #667085;
  font-size: 14px;
  font-weight: 400;
}

body.auth-page .auth-alt a {
  color: #101318;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.auth-page .auth-tabs {
  margin-bottom: 10px;
}

body.auth-page .auth-tab {
  min-height: 38px;
  font-weight: 600;
}

body.auth-page .auth-panel-desc {
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

body.auth-page .auth-divider-line {
  margin: 2px 0;
  background: rgba(218, 225, 234, .85);
}

body.auth-page .auth-stage-footer {
  color: #667085;
  font-size: 13px;
}

@media (max-width: 720px) {
  body.auth-page .auth-stage {
    width: min(100% - 24px, 520px);
    padding: 18px 0 22px;
  }

  body.auth-page .auth-stage-brand {
    font-size: 17px;
  }

  body.auth-page .auth-stage-brand img {
    width: 32px;
    height: 32px;
  }

  body.auth-page .auth-stage-inner {
    align-self: start;
    margin-top: 8px;
  }

  body.auth-page .auth-panel {
    padding: 22px;
    border-radius: 24px;
  }

  body.auth-page .auth-panel-head h1 {
    font-size: 28px;
  }

  body.auth-page .auth-stage-footer {
    gap: 12px;
  }
}

/* Home product sections: keep featured/bestseller cards compact. */
.page-home .home-category-stack--featured-home .product-thumb-wrap,
.page-home .home-category-stack--bestsellers .product-thumb-wrap {
  aspect-ratio: 1 / 1.08;
}

.page-home .home-category-stack--featured-home .product-body,
.page-home .home-category-stack--bestsellers .product-body {
  padding-top: 12px;
}

@media (max-width: 720px) {
  .page-home .home-category-stack--featured-home .product-thumb-wrap,
  .page-home .home-category-stack--bestsellers .product-thumb-wrap {
    aspect-ratio: 1 / 1.02;
  }
}

/* Compact landing product-card frame. */
.landing-pubg-group .home-category-grid {
  grid-template-columns: repeat(auto-fill, minmax(246px, 260px));
  justify-content: start;
  gap: 22px;
}

.landing-pubg-group .product-card--pubg {
  max-width: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.landing-pubg-group .product-card--pubg .product-thumb-wrap--pubg {
  aspect-ratio: 1.18 / 1;
  border-radius: 17px 17px 0 0;
  background: #f4f6fa;
}

.landing-pubg-group .product-card--pubg .product-thumb {
  object-fit: cover;
  object-position: center;
}

.landing-pubg-group .product-card--pubg .product-body {
  min-height: 184px;
  gap: 8px;
  padding: 13px 14px 14px;
}

.landing-pubg-group .product-card--pubg .product-meta {
  gap: 8px;
  color: #0b5cff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.landing-pubg-group .product-card--pubg .product-meta span:last-child {
  text-align: right;
}

.landing-pubg-group .product-card--pubg .landing-product-title {
  min-height: 42px;
  margin: 0;
  color: #141923;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -.015em;
}

.landing-pubg-group .product-card--pubg .landing-product-title a {
  color: inherit;
  text-decoration: none;
}

.landing-pubg-group .product-card--pubg .landing-product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  grid-template-areas:
    ". detail"
    "price buy";
  align-items: end;
  gap: 8px 10px;
  margin-top: auto;
  padding-top: 8px;
}

.landing-pubg-group .product-card--pubg .landing-product-price-box {
  grid-area: price;
  align-self: end;
}

.landing-pubg-group .product-card--pubg .landing-action-stack {
  display: contents;
}

.landing-pubg-group .product-card--pubg .landing-action-stack > a.btn {
  grid-area: detail;
  min-height: 38px;
  padding: 0 12px;
  border-color: transparent;
  border-radius: 13px;
  background: #eef4ff;
  color: #2563eb;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}

.landing-pubg-group .product-card--pubg .landing-action-stack form {
  grid-area: buy;
  min-width: 0;
  margin: 0;
}

.landing-pubg-group .product-card--pubg .landing-action-stack form .btn {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 13px;
  background: #2563eb;
  color: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 720px) {
  .landing-pubg-group .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .landing-pubg-group .product-card--pubg {
    max-width: none;
    border-radius: 16px;
  }

  .landing-pubg-group .product-card--pubg .product-thumb-wrap--pubg {
    aspect-ratio: 1.08 / 1;
    border-radius: 15px 15px 0 0;
  }

  .landing-pubg-group .product-card--pubg .product-body {
    min-height: 170px;
    padding: 11px;
  }

  .landing-pubg-group .product-card--pubg .landing-product-title {
    min-height: 38px;
    font-size: 14px;
  }

  .landing-pubg-group .product-card--pubg .landing-product-actions {
    grid-template-columns: 1fr;
    grid-template-areas:
      "price"
      "detail"
      "buy";
    gap: 8px;
  }

  .landing-pubg-group .product-card--pubg .landing-action-stack > a.btn,
  .landing-pubg-group .product-card--pubg .landing-action-stack form .btn {
    min-height: 36px;
  }
}

@media (max-width: 420px) {
  .landing-pubg-group .home-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Standard catalog cards: reuse the homepage frame. */
@media (min-width: 1024px) {
  .product-grid,
  .salev-grid,
  .pd-related-grid,
  .wallet-product-grid,
  .landing-lite .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .landing-lite .landing-pubg-group .home-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(246px, 260px));
    gap: 22px;
  }
}

.product-card--standard {
  border-radius: 19px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.product-card--standard .product-thumb-wrap--standard {
  aspect-ratio: 1 / 1.08;
  border-radius: 18px 18px 0 0;
}

.product-card--standard .product-body {
  gap: 8px;
  padding: 12px 14px 14px;
}

.product-card--standard .product-meta {
  color: #0b5cff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.product-card--standard .product-body h3 {
  min-height: 36px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
}

.product-card--standard .product-actions {
  gap: 10px;
  padding-top: 8px;
}

.landing-lite .product-card--standard .landing-product-actions {
  margin-top: 8px;
}

.landing-pubg-group .product-card--pubg {
  border-radius: 18px;
}

@media (max-width: 720px) {
  .product-card--standard {
    border-radius: 16px;
  }

  .product-card--standard .product-thumb-wrap--standard {
    aspect-ratio: 1 / 1.02;
    border-radius: 15px 15px 0 0;
  }

  .product-card--standard .product-body {
    padding: 11px;
  }

  .product-card--standard .product-body h3 {
    min-height: 34px;
    font-size: 13px;
  }
}

/* Auth illustration restore: desktop login/register/reset uses the left visual again. */
body.auth-page .auth-stage {
  width: min(1180px, calc(100vw - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px 0 18px;
}

body.auth-page .auth-stage-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(400px, 480px) !important;
  align-items: center;
  justify-self: stretch;
  align-self: center;
  gap: clamp(54px, 7vw, 112px);
}

body.auth-page .auth-visual {
  position: relative;
  display: grid !important;
  min-height: 430px;
  place-items: center;
  overflow: visible;
}

body.auth-page .auth-visual::before {
  content: "";
  position: absolute;
  width: min(430px, 82%);
  height: min(320px, 70%);
  border-radius: 38px;
  background:
    radial-gradient(circle at 24% 78%, rgba(251, 191, 36, .14), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(34, 197, 94, .12), transparent 30%);
  filter: blur(.2px);
  opacity: .9;
}

body.auth-page .auth-visual-screen {
  position: relative;
  width: min(330px, 64%);
  aspect-ratio: 1.24;
  align-self: center;
  margin-top: 8px;
  border-radius: 12px;
  background: #3f4b60;
  box-shadow: none;
}

body.auth-page .auth-visual-screen::before {
  content: "";
  position: absolute;
  inset: -10px -10px 18px;
  border-radius: 10px;
  background: #f5efe9;
  z-index: -1;
}

body.auth-page .auth-visual-screen::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -88px;
  width: 180px;
  height: 70px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0 37%, #d6d6d2 37% 63%, transparent 63% 100%),
    linear-gradient(#dedbd5, #dedbd5) center 42px / 150px 8px no-repeat,
    repeating-linear-gradient(90deg, #efe7dc 0 13px, #fff8ee 13px 17px) center 56px / 170px 22px no-repeat;
  border-radius: 0 0 14px 14px;
}

body.auth-page .auth-visual-screen strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

body.auth-page .auth-visual-screen span,
body.auth-page .auth-visual-screen em {
  position: absolute;
  border-radius: 999px;
  background: #2b3547;
}

body.auth-page .auth-visual-screen span {
  left: 18%;
  top: 28%;
  width: 44px;
  height: 8px;
}

body.auth-page .auth-visual-screen em {
  right: 9%;
  bottom: 14%;
  width: 16px;
  height: 16px;
}

body.auth-page .auth-visual-card {
  right: 10%;
  top: 28%;
  min-width: 132px;
  padding: 12px 18px;
  border: 2px solid #ffb35a;
  background: #fffaf2;
  color: #ff4d2d;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .08);
}

body.auth-page .auth-visual-card::before {
  content: "";
  position: absolute;
  left: -28px;
  right: 0;
  top: -34px;
  height: 16px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #ffab63, #ff6d88);
}

body.auth-page .auth-visual-card small {
  color: #ff613a;
  font-size: 10px;
  font-weight: 650;
}

body.auth-page .auth-visual-card b {
  color: #5e6777;
  letter-spacing: .12em;
}

body.auth-page .auth-visual-mascot {
  left: 18%;
  bottom: 12%;
  width: 104px;
  height: 104px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

body.auth-page .auth-star,
body.auth-page .auth-leaf {
  display: block;
  border-radius: 0;
  background: transparent;
}

body.auth-page .auth-star::before,
body.auth-page .auth-leaf::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

body.auth-page .auth-star::before {
  background: #f59e0b;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

body.auth-page .auth-leaf::before {
  border-radius: 999px 999px 999px 0;
  background: #16a34a;
  transform: rotate(-35deg);
}

body.auth-page .auth-star--one {
  left: 16%;
  top: 26%;
  width: 30px;
  height: 30px;
}

body.auth-page .auth-star--two {
  right: 12%;
  bottom: 26%;
  width: 22px;
  height: 22px;
}

body.auth-page .auth-leaf--one {
  right: 18%;
  bottom: 16%;
  width: 42px;
  height: 42px;
}

body.auth-page .auth-leaf--two {
  left: 28%;
  bottom: 10%;
  width: 18px;
  height: 18px;
}

@media (min-width: 1025px) {
  body.page-product-detail--storefront {
    --pd-hero-rgb: 30, 85, 170;
    --pd-hero-deep-rgb: 16, 42, 98;
    --pd-hero-soft-rgb: 84, 145, 230;
    --pd-hero-ink: #fff;
    --pd-hero-muted: rgba(255, 255, 255, .78);
    --pd-hero-title-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    background:
      radial-gradient(circle at 6% 28%, rgba(var(--pd-hero-rgb), .16), transparent 31%),
      radial-gradient(circle at 96% 20%, rgba(var(--pd-hero-soft-rgb), .14), transparent 30%),
      #f4f6f8;
  }

  .page-product-detail--storefront .pd-shell,
  .page-product-detail--storefront .pd-related,
  .page-product-detail--storefront .pr-section,
  .page-product-detail--storefront .pd-pubg-gallery-bottom {
    width: min(1060px, calc(100vw - 40px));
  }

  .page-product-detail--storefront .pd-shell {
    position: relative;
    isolation: isolate;
    grid-template-columns: 156px minmax(0, 1fr) 316px;
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
    min-height: 560px;
    margin-top: 30px;
    margin-bottom: 42px;
    padding-top: 28px;
  }

  .page-product-detail--storefront .pd-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 188px;
    transform: translateX(-50%);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .12) 0 13%, transparent 13% 28%, rgba(255, 255, 255, .09) 28% 38%, transparent 38% 100%),
      radial-gradient(circle at 20% 0%, rgba(var(--pd-hero-soft-rgb), .34), transparent 34%),
      linear-gradient(120deg, rgb(var(--pd-hero-deep-rgb)) 0%, rgb(var(--pd-hero-rgb)) 48%, rgb(var(--pd-hero-deep-rgb)) 100%);
    box-shadow: inset 0 -1px rgba(255, 255, 255, .22);
    transition: background .35s ease;
  }

  .page-product-detail--storefront .pd-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 188px;
    left: 50%;
    width: 100vw;
    height: calc(100% - 188px);
    min-height: 230px;
    transform: translateX(-50%);
    background: #f4f6f8;
  }

  .page-product-detail--storefront .pd-media {
    grid-column: 1;
    grid-row: 1 / span 4;
    justify-items: center;
    gap: 14px;
    z-index: 1;
  }

  .page-product-detail--storefront .pd-media .product-thumb-wrap,
  .page-product-detail--storefront .pd-main-img {
    width: 156px;
    max-width: 100%;
    height: 196px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .22);
  }

  .page-product-detail--storefront .pd-media .product-thumb-wrap {
    aspect-ratio: auto;
  }

  .page-product-detail--storefront .pd-main-img,
  .page-product-detail--storefront .pd-media .product-thumb {
    object-fit: initial;
  }

  .page-product-detail--storefront .pd-card {
    display: contents;
  }

  .page-product-detail--storefront .pd-card-head {
    grid-column: 2 / 4;
    grid-row: 1;
    min-height: 38px;
    margin: 0 0 18px;
  }

  .page-product-detail--storefront .pd-badge {
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .14);
    color: var(--pd-hero-ink);
    backdrop-filter: blur(8px);
  }

  .page-product-detail--storefront .pd-badge.blue {
    background: rgba(255, 255, 255, .2);
    color: var(--pd-hero-ink);
  }

  .page-product-detail--storefront .pd-favorite-btn {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .13);
    color: var(--pd-hero-ink);
  }

  .page-product-detail--storefront .pd-title {
    grid-column: 2 / 3;
    grid-row: 2;
    max-width: 700px;
    color: var(--pd-hero-ink);
    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-shadow: var(--pd-hero-title-shadow);
  }

  .page-product-detail--storefront .pd-price {
    grid-column: 2 / 3;
    grid-row: 3;
    width: fit-content;
    margin-top: 12px;
    color: var(--pd-hero-ink);
    font-size: clamp(28px, 2.5vw, 38px);
    letter-spacing: -.035em;
    text-shadow: var(--pd-hero-title-shadow);
  }

  .page-product-detail--storefront .pd-price-note,
  .page-product-detail--storefront .pd-variants-head {
    grid-column: 2 / 3;
    color: var(--pd-hero-muted);
  }

  .page-product-detail--storefront .pd-variants {
    grid-column: 2 / 3;
    max-width: 520px;
  }

  .page-product-detail--storefront .pd-vrow {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .08);
  }

  .page-product-detail--storefront .pd-content-card,
  .page-product-detail--storefront #pdForm {
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
  }

  .page-product-detail--storefront .pd-content-card {
    grid-column: 2 / 3;
    grid-row: 4;
    margin-top: 48px;
    padding: 26px 30px 30px;
  }

  .page-product-detail--storefront .pd-content-tab {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
  }

  .page-product-detail--storefront .pd-trust {
    margin-top: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .page-product-detail--storefront .pd-desc {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-product-detail--storefront .pd-sep {
    display: none;
  }

  .page-product-detail--storefront #pdForm {
    grid-column: 3;
    grid-row: 4;
    position: sticky;
    top: 118px;
    margin-top: 48px;
    padding: 18px;
  }

  .page-product-detail--storefront .pd-checkout-stack {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
  }

  .page-product-detail--storefront .pd-qty-card,
  .page-product-detail--storefront .pd-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    padding: 14px 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fff;
  }

  .page-product-detail--storefront .pd-qty-card > span,
  .page-product-detail--storefront .pd-total-card > span {
    color: #222936;
    font-size: 14px;
    font-weight: 650;
  }

  .page-product-detail--storefront .pd-stepper {
    width: 150px;
    min-height: 42px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .page-product-detail--storefront .pd-stepper button {
    height: 42px;
    border: 0;
    background: #fff;
    color: #111827;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .page-product-detail--storefront .pd-stepper button:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
  }

  .page-product-detail--storefront .pd-stepper strong {
    text-align: center;
    color: #111827;
    font-size: 15px;
    font-weight: 750;
  }

  .page-product-detail--storefront .pd-total-card strong {
    color: #ff3b1f;
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
  }

  .page-product-detail--storefront .pd-btns {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
  }

  .page-product-detail--storefront .pd-btns .btn {
    min-height: 48px;
    border-radius: 8px;
    box-shadow: none;
  }

  .page-product-detail--storefront .pd-btns .btn:first-child {
    order: 2;
    background: #000000;
    color: #fff;
  }

  .page-product-detail--storefront .pd-btns .btn-secondary {
    order: 1;
    border-color: #ffffff;
    background: #c1c1c1;
    color: #0f172a;
  }

  .page-product-detail--storefront .pd-btns .btn-secondary span {
    display: none;
  }

  .page-product-detail--storefront .pd-pubg-note-box {
    width: min(520px, 100%);
    margin-top: 18px;
    border-radius: 18px;
  }

  body.page-product-detail--storefront .pd-shell .pd-title,
  body.page-product-detail--storefront .pd-shell .pd-price {
    color: var(--pd-hero-ink);
    text-shadow: var(--pd-hero-title-shadow);
  }
}

@media (max-width: 767px) {
  body.page-product-detail--storefront {
    --pd-hero-rgb: 213, 225, 240;
    --pd-hero-deep-rgb: 194, 211, 230;
    --pd-hero-soft-rgb: 235, 242, 250;
    --pd-hero-ink: #111827;
    --pd-hero-muted: rgba(17, 24, 39, .68);
    --pd-hero-title-shadow: none;
    background: #f4f4f5;
  }

  .page-product-detail--storefront .pd-shell,
  .page-product-detail--storefront .pd-related,
  .page-product-detail--storefront .pr-section,
  .page-product-detail--storefront .pd-pubg-gallery-bottom {
    width: 100%;
  }

  .page-product-detail--storefront .pd-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 10px;
    align-items: start;
    margin: 0 0 18px;
    padding: 14px 14px 0;
  }

  .page-product-detail--storefront .pd-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 188px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .16) 0 16%, transparent 16% 34%, rgba(255, 255, 255, .12) 34% 45%, transparent 45%),
      radial-gradient(circle at 86% 0%, rgba(var(--pd-hero-soft-rgb), .34), transparent 42%),
      linear-gradient(125deg, rgb(var(--pd-hero-soft-rgb)) 0%, rgb(var(--pd-hero-rgb)) 54%, rgb(var(--pd-hero-deep-rgb)) 100%);
  }

  .page-product-detail--storefront .pd-card {
    display: contents;
  }

  .page-product-detail--storefront .pd-media {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    display: block;
    margin-top: 0;
    z-index: 1;
  }

  .page-product-detail--storefront .pd-media .product-thumb-wrap,
  .page-product-detail--storefront .pd-main-img {
    width: 94px;
    height: 118px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .16);
  }

  .page-product-detail--storefront .pd-media .product-thumb-wrap {
    aspect-ratio: auto;
  }

  .page-product-detail--storefront .pd-media .product-thumb,
  .page-product-detail--storefront .pd-main-img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    object-position: center;
  }

  .page-product-detail--storefront .pd-card-head {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
    margin: 0;
  }

  .page-product-detail--storefront .pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
  }

  .page-product-detail--storefront .pd-badge {
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: var(--pd-hero-ink);
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .02em;
  }

  .page-product-detail--storefront .pd-badge.blue {
    background: rgba(255, 255, 255, .22);
    color: var(--pd-hero-ink);
  }

  .page-product-detail--storefront .pd-favorite-btn {
    width: 34px;
    height: 34px;
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .16);
    color: var(--pd-hero-ink);
  }

  .page-product-detail--storefront .pd-favorite-btn svg {
    width: 17px;
    height: 17px;
  }

  .page-product-detail--storefront .pd-title {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    color: var(--pd-hero-ink);
    font-size: 18px;
    line-height: 1.18;
    font-weight: 850;
    letter-spacing: -.01em;
    text-shadow: var(--pd-hero-title-shadow);
    white-space: normal;
  }

  .page-product-detail--storefront .pd-price,
  .page-product-detail--storefront .pd-price-note {
    display: none;
  }

  .page-product-detail--storefront .pd-variants-head,
  .page-product-detail--storefront .pd-variants {
    grid-column: 1 / -1;
  }

  .page-product-detail--storefront .pd-variants-head {
    margin: 8px 0 0;
    color: var(--pd-hero-muted);
  }

  .page-product-detail--storefront .pd-variants {
    margin-top: 0;
  }

  .page-product-detail--storefront .pd-sep {
    display: none;
  }

  .page-product-detail--storefront #pdForm {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    gap: 10px;
    margin: 16px -14px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-product-detail--storefront .pd-checkout-stack {
    display: contents;
  }

  .page-product-detail--storefront .pd-qty-card,
  .page-product-detail--storefront .pd-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 16px;
    border: 1px solid #edf0f5;
    background: #fff;
    box-shadow: none;
  }

  .page-product-detail--storefront .pd-qty-card {
    min-height: 68px;
    border-radius: 10px;
  }

  .page-product-detail--storefront .pd-total-card {
    min-height: 76px;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
  }

  .page-product-detail--storefront .pd-qty-card > span,
  .page-product-detail--storefront .pd-total-card > span {
    color: #1f2937;
    font-size: 14px;
    font-weight: 650;
  }

  .page-product-detail--storefront .pd-stepper {
    width: 138px;
    min-height: 42px;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    border: 1px solid #dde3ee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
  }

  .page-product-detail--storefront .pd-stepper button {
    height: 42px;
    border: 0;
    background: #fff;
    color: #111827;
    font-size: 22px;
    line-height: 1;
  }

  .page-product-detail--storefront .pd-stepper strong {
    text-align: center;
    color: #111827;
    font-size: 15px;
    font-weight: 750;
  }

  .page-product-detail--storefront .pd-total-card strong {
    color: #ff3b1f;
    font-size: 20px;
    line-height: 1;
    font-weight: 850;
  }

  .page-product-detail--storefront .pd-btns {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 10px;
    padding: 0 16px 16px;
    border: 1px solid #edf0f5;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
  }

  .page-product-detail--storefront .pd-btns .btn {
    min-height: 44px;
    border-radius: 6px;
    box-shadow: none;
  }

  .page-product-detail--storefront .pd-btns .btn:first-child {
    order: 2;
    background: #000000;
    color: #fff;
  }

  .page-product-detail--storefront .pd-btns .btn-secondary {
    order: 1;
    border-color: #ffffff;
    background: #c1c1c1;
    color: #0f172a;
  }

  .page-product-detail--storefront .pd-btns .btn-secondary span {
    display: none;
  }

  .page-product-detail--storefront .pd-content-card {
    grid-column: 1 / -1;
    grid-row: 5;
    margin: 6px -14px 0;
    padding: 20px 16px 22px;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
  }

  .page-product-detail--storefront .pd-content-tab {
    display: block;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f5;
    color: #111827;
    font-size: 14px;
    font-weight: 650;
  }

  .page-product-detail--storefront .pd-trust {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .page-product-detail--storefront .pd-desc {
    margin-top: 18px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 800;
  }

  body.page-product-detail--storefront .pd-shell .pd-title {
    color: var(--pd-hero-ink);
  }
}

/* Product names stay on one line; JS softly reduces long labels instead of truncating. */
body :is(
  .pd-title,
  .product-body h3,
  .product-body h3 a,
  .wallet-product-title-link,
  .wallet-product-title-link h3,
  .landing-product-title,
  .landing-product-title a,
  .account-order-product-name
) {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  word-break: normal;
}

body .pd-title {
  --product-name-min-size: 24px;
}

body :is(
  .product-body h3,
  .product-body h3 a,
  .wallet-product-title-link,
  .wallet-product-title-link h3,
  .landing-product-title,
  .landing-product-title a,
  .account-order-product-name
) {
  --product-name-min-size: 11px;
}

@media (max-width: 767px) {
  body.page-product-detail--storefront .pd-shell .pd-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Top-up typography tune: keep operational panels quieter than hero pages. */
body.page-topup {
  --topup-ink: #273244;
  --topup-muted: #667085;
}

body.page-topup .topup-hero h1 {
  font-size: clamp(32px, 3.9vw, 54px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.028em;
  color: var(--topup-ink);
}

body.page-topup .topup-card-head h2,
body.page-topup .topup-form-head h2,
body.page-topup .topup-history-head h2 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: -.018em;
  color: var(--topup-ink);
}

body.page-topup .topup-kicker,
body.page-topup .topup-mini-title,
body.page-topup .topup-form-card label,
body.page-topup .topup-quick,
body.page-topup .topup-amount-control span {
  font-weight: 700;
}

body.page-topup .topup-kicker {
  letter-spacing: .04em;
}

body.page-topup .topup-balance-card span,
body.page-topup .topup-balance-card small {
  font-weight: 650;
}

body.page-topup .topup-balance-card strong {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 750;
  letter-spacing: -.025em;
}

body.page-topup .topup-amount-control input {
  min-height: 58px;
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--topup-ink);
}

@media (max-width: 900px) {
  body.auth-page .auth-stage {
    width: min(100% - 24px, 520px);
    padding: 18px 0 22px;
  }

  body.auth-page .auth-stage-inner {
    width: min(520px, 100%);
    grid-template-columns: 1fr !important;
    justify-self: center;
    align-self: start;
    gap: 0;
  }

  body.auth-page .auth-visual {
    display: none !important;
  }
}

/* Mobile header: account access already lives in the bottom nav. */
@media (max-width: 900px) {
  .bubu-nav .bubu-user-menu,
  .bubu-nav .bubu-auth-trigger {
    display: none !important;
  }
}

/* Products filter: keep the catalog controls compact and prevent old responsive
   rules from stretching every field into a full-width row on desktop. */
body.page-products .salev-page {
  width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
}

body.page-products .salev-filter-bar {
  display: grid !important;
  grid-template-columns:
    minmax(170px, .95fr)
    minmax(160px, .8fr)
    minmax(260px, 1.2fr)
    minmax(170px, .9fr)
    auto !important;
  align-items: end;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border-radius: 28px;
}

body.page-products .salev-filter-bar > input[type="hidden"] {
  display: none !important;
}

body.page-products .salev-filter-bar :is(.salev-filter-field, .salev-filter-actions) {
  grid-column: auto !important;
  min-width: 0;
}

body.page-products .salev-filter-field label {
  margin: 0;
  color: #536071;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.page-products .salev-filter-bar :is(select, input) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 14px;
}

body.page-products .salev-price-inputs {
  grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
  gap: 8px;
}

body.page-products .salev-price-inputs span {
  color: var(--muted);
  text-align: center;
}

body.page-products .salev-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

body.page-products .salev-filter-submit {
  min-height: 44px;
  padding-inline: 18px;
}

body.page-products .salev-filter-reset {
  min-height: 44px;
}

@media (max-width: 1080px) {
  body.page-products .salev-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-products .salev-filter-price,
  body.page-products .salev-filter-actions {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  body.page-products .salev-page {
    width: min(100% - 24px, 1180px);
  }

  body.page-products .salev-filter-bar {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }

  body.page-products .salev-filter-price,
  body.page-products .salev-filter-actions {
    grid-column: auto !important;
  }

  body.page-products .salev-filter-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  body.page-products .salev-filter-submit,
  body.page-products .salev-filter-reset {
    flex: 1 1 130px;
  }
}

/* Search result filters share the same compact catalog layout. */
body.page-search :is(.rv-page.shell, .salev-page.shell) {
  width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
  display: grid;
  gap: 22px;
}

body.page-search :is(.rv-head, .salev-head) {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

body.page-search :is(.rv-head h1, .salev-head h1) {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: -.035em;
}

body.page-search :is(.rv-filter-bar, .salev-filter-bar) {
  display: grid !important;
  grid-template-columns:
    minmax(170px, .95fr)
    minmax(160px, .8fr)
    minmax(260px, 1.2fr)
    minmax(170px, .9fr)
    auto !important;
  align-items: end;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

body.page-search :is(.rv-filter-field, .salev-filter-field) {
  display: grid;
  gap: 7px;
  grid-column: auto !important;
  min-width: 0;
}

body.page-search :is(.rv-filter-field, .salev-filter-field) label {
  margin: 0;
  color: #536071;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.page-search :is(.rv-filter-bar, .salev-filter-bar) :is(select, input) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 14px;
}

body.page-search :is(.rv-price-inputs, .salev-price-inputs) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

body.page-search :is(.rv-price-inputs, .salev-price-inputs) span {
  color: var(--muted);
  text-align: center;
}

body.page-search :is(.rv-filter-actions, .salev-filter-actions) {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: auto !important;
  min-width: max-content;
  white-space: nowrap;
}

body.page-search :is(.rv-filter-submit, .salev-filter-submit) {
  min-height: 44px;
  padding-inline: 18px;
}

body.page-search :is(.rv-filter-reset, .salev-filter-reset) {
  min-height: 44px;
}

@media (max-width: 1080px) {
  body.page-search :is(.rv-filter-bar, .salev-filter-bar) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-search :is(.rv-filter-price, .salev-filter-price),
  body.page-search :is(.rv-filter-actions, .salev-filter-actions) {
    grid-column: 1 / -1 !important;
  }

  body.page-search :is(.rv-filter-actions, .salev-filter-actions) {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body.page-search :is(.rv-page.shell, .salev-page.shell) {
    width: min(100% - 24px, 1180px);
  }

  body.page-search :is(.rv-filter-bar, .salev-filter-bar) {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }

  body.page-search :is(.rv-filter-price, .salev-filter-price),
  body.page-search :is(.rv-filter-actions, .salev-filter-actions) {
    grid-column: auto !important;
  }

  body.page-search :is(.rv-filter-actions, .salev-filter-actions) {
    align-items: stretch;
    flex-wrap: wrap;
  }

body.page-search :is(.rv-filter-submit, .salev-filter-submit, .rv-filter-reset, .salev-filter-reset) {
    flex: 1 1 130px;
  }
}

/* Brand shine */
body .bubu-brand-copy strong,
body .bubu-mobile-menu__brand strong {
  color: #16a34a;
  background: linear-gradient(115deg, #065f46 0%, #16a34a 42%, #22c55e 72%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

body .bubu-brand-copy small,
body .bubu-mobile-menu__brand span {
  color: #15803d;
  font-weight: 900;
}

/* Premium product reviews */
.prv-wrap--premium {
  width: min(1180px, calc(100vw - 32px));
  margin: 36px auto 54px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.prv-wrap--premium .prv-card,
.prv-wrap--premium .prv-main {
  border: 1px solid rgba(218, 225, 234, .86);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
}

.prv-score-card {
  position: sticky;
  top: 24px;
  padding: 22px;
}

.prv-wrap--premium .prv-product {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.prv-wrap--premium .prv-product img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid rgba(218, 225, 234, .9);
  border-radius: 18px;
  background: #f8fafc;
}

.prv-kicker {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.prv-wrap--premium .prv-product h2 {
  margin: 0;
  color: #05070a;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.prv-score {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.prv-score strong {
  color: #05070a;
  font-size: 44px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.prv-score span {
  color: #64748b;
  font-weight: 800;
}

.prv-score-stars,
.prv-item-stars {
  margin-top: 8px;
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: 0;
}

.prv-wrap--premium .prv-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.prv-wrap--premium .prv-pill {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  color: #64748b;
  text-align: left;
}

.prv-wrap--premium .prv-pill strong {
  display: block;
  color: #05070a;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.prv-wrap--premium .prv-pill span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
}

.prv-wrap--premium .prv-bars {
  display: grid;
  gap: 11px;
}

.prv-wrap--premium .prv-bar {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.prv-wrap--premium .prv-bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.prv-wrap--premium .prv-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: #05070a;
}

.prv-review-panel {
  padding: 30px;
}

.prv-wrap--premium .prv-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.prv-wrap--premium .prv-head h1 {
  margin: 0;
  color: #05070a;
  font-size: 42px;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.prv-wrap--premium .prv-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.prv-wrap--premium .prv-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.prv-wrap--premium .prv-filter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #d5dee9;
  border-radius: 999px;
  background: #fff;
  color: #05070a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.prv-wrap--premium .prv-filter.active,
.prv-wrap--premium .prv-filter--locked {
  border-color: #05070a;
  background: #05070a;
  color: #fff;
}

.prv-wrap--premium .prv-filter--locked {
  opacity: .88;
}

.prv-form--premium {
  display: grid;
  gap: 13px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #f8fafc;
}

.prv-form-head,
.prv-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.prv-form-head strong {
  display: block;
  color: #05070a;
  font-size: 16px;
  font-weight: 900;
}

.prv-form-head span,
.prv-note {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.prv-form--premium label {
  display: grid;
  gap: 7px;
}

.prv-form--premium select,
.prv-form--premium textarea {
  width: 100%;
  border: 1px solid #d5dee9;
  border-radius: 16px;
  background: #fff;
  color: #05070a;
  font: inherit;
  padding: 12px 14px;
}

.prv-form--premium textarea {
  min-height: 108px;
  resize: vertical;
}

.prv-state-note {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.prv-wrap--premium .prv-list {
  display: grid;
  gap: 14px;
}

.prv-wrap--premium .prv-item {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 18px;
  background: #fff;
}

.prv-wrap--premium .prv-item-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.prv-author {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.prv-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #05070a;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.prv-item-name {
  color: #05070a;
  font-size: 14px;
  font-weight: 900;
}

.prv-item-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.prv-verified {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #05070a;
  font-size: 12px;
  font-weight: 900;
}

.prv-item-content {
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.prv-empty {
  display: grid;
  gap: 6px;
  padding: 42px 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 22px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

.prv-empty strong {
  color: #05070a;
  font-weight: 900;
}

@media (max-width: 900px) {
  .prv-wrap--premium {
    width: min(100% - 20px, 1180px);
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .prv-score-card {
    position: static;
  }

  .prv-review-panel {
    padding: 22px;
  }

  .prv-wrap--premium .prv-head h1 {
    font-size: 32px;
  }

  .prv-wrap--premium .prv-head,
  .prv-wrap--premium .prv-item-top {
    display: grid;
  }

  .prv-item-meta {
    justify-content: flex-start;
  }
}

/* Customer rank badge */
.customer-badge {
  --badge-bg: #f8fafc;
  --badge-border: #d0d5dd;
  --badge-text: #344054;
  --badge-icon-bg: #e4e7ec;
  --badge-icon-text: #111827;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border: 1px solid var(--badge-border);
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.customer-badge__icon {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.customer-badge__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.customer-badge__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.customer-badge__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-badge--bronze {
  --badge-bg: #fff7ed;
  --badge-border: #fdba74;
  --badge-text: #9a3412;
  --badge-icon-bg: #c2410c;
  --badge-icon-text: #fff7ed;
}

.customer-badge--silver {
  --badge-bg: #f8fafc;
  --badge-border: #cbd5e1;
  --badge-text: #475569;
  --badge-icon-bg: #64748b;
  --badge-icon-text: #fff;
}

.customer-badge--gold {
  --badge-bg: #fffbeb;
  --badge-border: #fbbf24;
  --badge-text: #b45309;
  --badge-icon-bg: #eab308;
  --badge-icon-text: #fff7ed;
}

.customer-badge--diamond {
  --badge-bg: #ecfeff;
  --badge-border: #67e8f9;
  --badge-text: #0e7490;
  --badge-icon-bg: #0891b2;
  --badge-icon-text: #ecfeff;
}

.customer-badge--vip {
  --badge-bg: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
  --badge-border: #16a34a;
  --badge-text: #047857;
  --badge-icon-bg: #16a34a;
  --badge-icon-text: #fff;
}

.customer-badge--header {
  min-height: 22px;
  max-width: 112px;
  padding: 2px 8px 2px 3px;
  font-size: 11px;
}

.customer-badge--header .customer-badge__icon {
  width: 17px;
  height: 17px;
}

.customer-badge--panel,
.customer-badge--mobile,
.customer-badge--account,
.customer-badge--history {
  margin-top: 8px;
}

body.page-account .account-content {
  min-width: 0;
  overflow: visible;
}

body.page-account .account-link-icon svg,
.bubu-mobile-menu__account-index svg {
  width: 19px;
  height: 19px;
  display: block;
}

body.page-account .account-profile-main .customer-badge {
  margin-top: 10px;
}

body.page-account .account-side-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}

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

body.page-account .account-side-head .account-profile-avatar {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
  background: #f2f4f7;
  color: #05070a;
  font-size: 18px;
}

body.page-account .account-side-head strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-account .account-side-head .customer-badge {
  margin-top: 7px;
}

body.page-account .account-rank-mini {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
}

body.page-account .account-rank-mini > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.page-account .account-rank-mini span:not(.customer-badge):not(.customer-badge__icon):not(.customer-badge__label) {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
}

body.page-account .account-rank-mini > strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

body.page-account .account-rank-mini small {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.45;
}

.account-rank-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.account-rank-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #16a34a;
}

body.page-account .account-rank-showcase,
body.page-account .account-rank-profile {
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .045);
}

body.page-account .account-rank-showcase {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

body.page-account .account-rank-showcase-head,
body.page-account .account-rank-title,
body.page-account .account-rank-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body.page-account .account-rank-showcase h2,
body.page-account .account-rank-title h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
}

body.page-account .account-rank-showcase p,
body.page-account .account-rank-title p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

body.page-account .account-badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 12px;
}

body.page-account .account-badge-option .customer-badge {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  padding: 6px 12px 6px 6px;
}

body.page-account .account-badge-option.is-active .customer-badge {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

body.page-account .account-rank-profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 20px;
}

body.page-account .account-rank-avatar {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2f7;
  color: #05070a;
  font-size: 58px;
  font-weight: 950;
}

body.page-account .account-rank-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

body.page-account .account-rank-summary-grid > div {
  min-width: 0;
}

body.page-account .account-rank-summary-grid > div > span,
body.page-account .account-rank-line > span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

body.page-account .account-rank-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: #16a34a;
  font-size: 20px;
  font-weight: 950;
}

body.page-account .account-rank-summary-grid .customer-badge {
  margin-top: 8px;
}

body.page-account .account-rank-line {
  align-items: center;
  margin-bottom: 10px;
}

body.page-account .account-rank-line strong {
  color: #344054;
  font-size: 13px;
  white-space: nowrap;
}

body.page-account .account-rank-meter--light {
  background: #edf0f5;
}

body.page-account .account-rank-meter--light span {
  background: #eab308;
}

body.page-account .overview-grid .customer-badge {
  margin-top: 8px;
}

body.page-account .account-history-rank {
  display: flex;
  justify-content: flex-end;
}

body.page-topup .topup-history-stats {
  align-items: center;
}

body.page-topup .topup-history-stats > .customer-badge {
  margin-top: 0;
}

@media (max-width: 960px) {
  .bubu-user-meta .customer-badge--header {
    display: none;
  }

  body.page-account .account-rank-showcase,
  body.page-account .account-rank-profile {
    padding: 18px;
  }

  body.page-account .account-rank-profile {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-account .account-rank-avatar {
    width: 96px;
    height: 96px;
    font-size: 42px;
  }

  body.page-account .account-rank-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.page-account .account-rank-showcase-head,
  body.page-account .account-rank-title,
  body.page-account .account-rank-line,
  body.page-account .account-history-head {
    display: grid;
    justify-content: stretch;
  }

  body.page-account .account-badge-row {
    grid-template-columns: 1fr;
  }

  body.page-account .account-badge-option .customer-badge {
    justify-content: flex-start;
  }

  body.page-account .account-history-rank {
    justify-content: flex-start;
  }

  body.page-account .account-rank-line strong {
    white-space: normal;
  }
}
