/* overrides.css — solid UI, always last */
html, body {
  background: #0a0f1a !important;
  color: #e2e8f0 !important;
  margin: 0 !important;
}

main#app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 14px 90px;
}

/* Product grid */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

.product-card {
  background: #111827 !important;
  border: 2px solid #7c3aed !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: relative !important;
}
.product-card::before,
.product-card::after {
  display: none !important; /* avoid broken mask on mobile */
}
.pc-buy {
  display: block !important;
  width: calc(100% - 16px) !important;
  margin: 8px !important;
  padding: 10px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #7c3aed, #0891b2) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  text-align: center !important;
}
.pc-price { color: #67e8f9 !important; font-weight: 700 !important; }

.cat-tab {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border: 1px solid #334155 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
}
.cat-tab.active {
  background: #7c3aed !important;
  border-color: #22d3ee !important;
  color: #fff !important;
}

.navbar {
  background: #0b1220 !important;
  border-bottom: 1px solid #1e293b !important;
}

/* ========== BURGER: fully opaque ========== */
.nav-drawer-backdrop {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: #000000 !important;
  opacity: 0.85 !important;
  z-index: 9998 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 85vw !important;
  max-width: 320px !important;
  background: #0f172a !important;
  background-color: #0f172a !important;
  opacity: 1 !important;
  z-index: 9999 !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  border-left: 3px solid #22d3ee !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer[hidden],
.nav-drawer-backdrop[hidden] {
  display: none !important;
}
.nav-drawer-close {
  align-self: flex-end !important;
  width: 40px !important;
  height: 40px !important;
  background: #1e293b !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 20px !important;
}
.nav-drawer-user {
  background: #312e81 !important;
  color: #fff !important;
  padding: 14px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}
.nav-drawer-item {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.nav-drawer-item:active {
  background: #334155 !important;
  border-color: #22d3ee !important;
}

.modal-box {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border: 1px solid #22d3ee !important;
}
.footer {
  background: #0b1220 !important;
  color: #94a3b8 !important;
}


/* ===== Product tilt + spinning border ===== */
.product-card-tilt {
  transform: rotate(-1.5deg);
  transition: transform .2s ease;
}
.product-card-tilt:nth-child(even) { transform: rotate(1.5deg); }
.product-card-tilt:nth-child(3n) { transform: rotate(-1deg); }
.product-card-tilt:hover { transform: rotate(0deg) scale(1.02); z-index: 2; }

.product-card-spin {
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  background: #140a22 !important;
}
.product-card-spin .pc-spin-border {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, #7c3aed, #22d3ee, #a855f7, #7c3aed);
  animation: pcSpin 3s linear infinite;
  z-index: 0;
}
.product-card-spin .pc-inner {
  position: relative;
  z-index: 1;
  margin: 2px;
  border-radius: 12px;
  background: #140a22;
  overflow: hidden;
}
@keyframes pcSpin {
  to { transform: rotate(360deg); }
}

.chat-float {
  cursor: grab;
  touch-action: none;
  z-index: 10050 !important;
}
.chat-float:active { cursor: grabbing; }
.chat-panel {
  z-index: 10060 !important;
}
.chat-panel-head {
  cursor: move;
  user-select: none;
}


/* force product visibility */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.product-card-tilt {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: rotate(-1.2deg);
}
.product-card-tilt:nth-child(even) { transform: rotate(1.2deg); }
.product-card-tilt:hover { transform: rotate(0) scale(1.02); }
.product-card-spin { position: relative !important; overflow: hidden !important; }
.pc-spin-border {
  position: absolute !important;
  inset: -60% !important;
  background: conic-gradient(from 0deg, #7c3aed, #22d3ee, #c084fc, #7c3aed) !important;
  animation: pcSpin 2.8s linear infinite !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
@keyframes pcSpin { to { transform: rotate(360deg); } }
.product-card-spin .pc-inner {
  position: relative !important;
  z-index: 1 !important;
  margin: 2px !important;
  border-radius: 12px !important;
  background: #140a22 !important;
}


/* ===== ThanHub-style product list + sheet ===== */
.th-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 24px;
}
.th-card {
  background: linear-gradient(160deg, #1a0b2e 0%, #12081f 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.15);
}
.th-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.th-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0b0614;
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.th-main { flex: 1; min-width: 0; }
.th-title-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.th-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #f5e9ff;
  line-height: 1.25;
}
.th-price {
  font-weight: 800;
  color: #e879f9;
  font-size: 14px;
  white-space: nowrap;
}
.th-desc {
  margin: 6px 0 8px;
  font-size: 12px;
  color: #b8a0d0;
  line-height: 1.35;
}
.th-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 8px;
}
.th-star { color: #fbbf24; }
.th-sold { color: #c4b5fd; }
.th-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.th-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.25);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.th-online { color: #4ade80; border-color: rgba(74, 222, 128, 0.35); background: rgba(22, 101, 52, 0.25); }
.th-official { color: #f0abfc; }
.th-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.th-btn-outline {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  background: transparent;
  color: #e9d5ff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.th-btn-buy {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #c026d3, #7c3aed 50%, #a855f7);
  box-shadow: 0 4px 20px rgba(192, 38, 211, 0.35);
}
.th-btn-buy:disabled { opacity: 0.5; cursor: not-allowed; }

/* Bottom sheet modal */
.modal-overlay .th-sheet,
.th-sheet {
  background: linear-gradient(180deg, #1e1035 0%, #12081f 100%);
  border-radius: 20px 20px 16px 16px;
  padding: 12px 16px 20px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  max-height: 85vh;
  overflow-y: auto;
}
.th-sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 12px;
}
.th-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.th-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.45;
}
.th-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2e1065;
  border: 2px solid #6b21a8;
  font-size: 12px;
  font-weight: 800;
  color: #e9d5ff;
}
.th-step small { font-size: 10px; font-weight: 700; color: #c4b5fd; }
.th-step.active { opacity: 1; }
.th-step.active span {
  background: linear-gradient(135deg, #c026d3, #7c3aed);
  border-color: #e879f9;
}
.th-step.done span { background: #7c3aed; border-color: #a855f7; }
.th-step-line {
  width: 48px;
  height: 2px;
  background: #4c1d95;
  margin-bottom: 16px;
}
.th-step-line.on { background: #a855f7; }
.th-sheet-label {
  font-size: 11px;
  font-weight: 700;
  color: #c4b5fd;
  margin: 0 0 4px;
}
.th-sheet-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: #faf5ff;
}
.th-dur-list { display: flex; flex-direction: column; gap: 8px; }
.th-dur-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(30, 16, 53, 0.9);
  color: #f5e9ff;
  cursor: pointer;
}
.th-dur-row:hover { border-color: #e879f9; background: rgba(88, 28, 135, 0.35); }
.th-dur-row.disabled { opacity: 0.4; cursor: not-allowed; }
.th-dur-left { display: flex; gap: 10px; align-items: center; }
.th-dur-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: #2e1065; display: flex; align-items: center; justify-content: center;
}
.th-dur-name { font-weight: 800; font-size: 14px; }
.th-dur-sub { font-size: 11px; color: #a78bfa; margin-top: 2px; }
.th-stock-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #1e1b4b;
  font-size: 10px;
  font-weight: 700;
}
.th-dur-right { font-weight: 800; color: #e879f9; white-space: nowrap; font-size: 14px; }

/* hide old tilt if still present */
.product-card-tilt { display: none !important; }

.tg-support {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #229ED9, #1b7fad) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.th-offline {
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.45) !important;
  background: rgba(127, 29, 29, 0.35) !important;
}
.th-card-off { opacity: 0.72; filter: grayscale(0.25); }
.th-btn-buy:disabled {
  background: #444 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}
.admin-status-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.admin-status-btns button { font-size: 11px; padding: 4px 8px; border-radius: 8px; border: 1px solid rgba(168,85,247,.4); background: #1e1030; color: #e9d5ff; cursor: pointer; }
.admin-status-btns button.on { border-color: #4ade80; color: #4ade80; }
.admin-status-btns button.off { border-color: #f87171; color: #f87171; }


/* ===== Page loader 0–100% ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(34, 211, 238, 0.12), transparent 50%),
    #0a0612;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-inner {
  width: min(320px, 86vw);
  text-align: center;
}
.page-loader-ring {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #7c3aed, #22d3ee, #e879f9, #7c3aed);
  animation: loaderSpin 1.1s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-loader-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0a0612;
}
.page-loader-logo-wrap {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #140a22;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
.page-loader-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #f5e9ff;
  margin-bottom: 18px;
}
.page-loader-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.page-loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c3aed, #c026d3, #22d3ee);
  background-size: 200% 100%;
  animation: loaderShimmer 1.4s ease infinite;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.55);
  transition: width 0.05s linear;
}
@keyframes loaderShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.page-loader-pct {
  margin-top: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #e879f9;
  font-variant-numeric: tabular-nums;
}
.page-loader-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #a78bfa;
  min-height: 1.2em;
}

.th-confirm-box {
  background: rgba(30, 16, 53, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.th-confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #c4b5fd;
  padding: 6px 0;
}
.th-confirm-row strong { color: #f5e9ff; font-weight: 700; }
.th-pay-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.th-pay-opts .pay-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: rgba(20, 10, 34, 0.8);
  cursor: pointer;
}
.th-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #f5e9ff;
  margin: 14px 0 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(168, 85, 247, 0.25);
}
.th-total-row span { color: #e879f9; }


/* ===== FORCE list card layout (fix broken full-width images) ===== */
.th-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}
.th-card {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  background: linear-gradient(160deg, #1a0b2e 0%, #12081f 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  border-radius: 18px !important;
  padding: 14px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.th-card-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
}
.th-thumb {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  display: block !important;
  background: #0b0614 !important;
}
.th-main {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.th-title {
  font-size: 14px !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
}
.th-desc {
  font-size: 12px !important;
  margin: 4px 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}
.th-actions {
  display: flex !important;
  margin-top: 10px !important;
  width: 100% !important;
}
.th-btn-buy {
  width: 100% !important;
  flex: 1 !important;
}
/* hide any leftover grid/tilt that breaks layout */
.product-card-tilt { display: none !important; }
.product-grid .th-card { width: 100% !important; }

html.app-ready #pageLoader { display: none !important; }
#app { position: relative; z-index: 1; min-height: 40vh; visibility: visible !important; opacity: 1 !important; }
.page-loader-out { display: none !important; }

#pageLoader, .page-loader { pointer-events: none !important; }
#pageLoader.page-loader-out, html.app-ready #pageLoader { display: none !important; }
.nav-burger, #loginBtn, #navDrawer, .nav-drawer { pointer-events: auto !important; z-index: 10000 !important; position: relative; }
.navbar { z-index: 10001 !important; position: relative; }

/* Boot buy sheet (duration picker) */
.boot-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(5, 2, 12, 0.72);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}
.boot-sheet {
  width: 100%; max-width: 480px;
  max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, #1e1035 0%, #12081f 100%);
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-bottom: none;
  padding: 12px 16px 28px;
  color: #f5e9ff;
  box-shadow: 0 -8px 40px rgba(124, 58, 237, 0.35);
}
.boot-sheet-handle {
  width: 42px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,0.25); margin: 4px auto 12px;
}
.boot-x {
  position: absolute; right: 14px; top: 14px;
  background: transparent; border: none; color: #c4b5fd;
  font-size: 18px; cursor: pointer;
}
.boot-sheet { position: relative; }
.boot-steps {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 11px; font-weight: 800; color: #6b7280; margin-bottom: 12px;
}
.boot-steps .on { color: #e879f9; }
.boot-steps .done { color: #a78bfa; }
.boot-steps .line { width: 36px; height: 2px; background: #4c1d95; }
.boot-steps .line.on { background: #a855f7; }
.boot-label { font-size: 11px; font-weight: 700; color: #c4b5fd; margin: 0 0 4px; letter-spacing: 0.04em; }
.boot-title { margin: 0 0 12px; font-size: 17px; font-weight: 800; color: #faf5ff; }
.boot-dur-list { display: flex; flex-direction: column; gap: 8px; }
.boot-dur {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.3); background: rgba(30, 16, 53, 0.95);
  color: #f5e9ff; cursor: pointer;
}
.boot-dur:hover { border-color: #e879f9; }
.boot-dur.off { opacity: 0.4; cursor: not-allowed; }
.boot-dur-left { display: flex; gap: 10px; align-items: center; }
.boot-dur-ico {
  width: 36px; height: 36px; border-radius: 10px; background: #2e1065;
  display: flex; align-items: center; justify-content: center;
}
.boot-dur-name { font-weight: 800; font-size: 14px; }
.boot-dur-sub { font-size: 11px; color: #a78bfa; margin-top: 2px; }
.boot-dur-price { font-weight: 800; color: #e879f9; white-space: nowrap; font-size: 14px; }
.boot-sum {
  background: rgba(30,16,53,.9); border: 1px solid rgba(168,85,247,.3);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 14px;
}
.boot-sum-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: #c4b5fd; padding: 6px 0;
}
.boot-sum-row strong { color: #f5e9ff; }
.boot-field {
  display: block; font-size: 12px; color: #c4b5fd; margin-bottom: 10px; font-weight: 600;
}
.boot-field input {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(168,85,247,.35);
  background: #0b0614; color: #f5e9ff; font-size: 14px; box-sizing: border-box;
}
.boot-pay { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 12px; }
.boot-radio {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid rgba(168,85,247,.28);
  background: rgba(20,10,34,.8); cursor: pointer; font-size: 13px;
}
.boot-total {
  display: flex; justify-content: space-between; font-size: 16px; font-weight: 800;
  padding: 12px 0; border-top: 1px solid rgba(168,85,247,.25); color: #f5e9ff;
}
.boot-total span { color: #e879f9; }
.boot-err { color: #f87171; font-size: 13px; min-height: 1.2em; margin-bottom: 8px; }
.boot-btn-buy {
  width: 100%; padding: 14px; border: none; border-radius: 12px; font-weight: 800;
  color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #c026d3, #7c3aed 50%, #a855f7);
  box-shadow: 0 4px 20px rgba(192, 38, 211, 0.35);
}
.boot-btn-buy:disabled { opacity: 0.5; cursor: not-allowed; }
.boot-btn-sec {
  width: 100%; margin-top: 8px; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(168,85,247,.4); background: transparent;
  color: #e9d5ff; font-weight: 700; cursor: pointer;
}
.boot-key {
  font-family: ui-monospace, monospace; padding: 10px 12px; margin: 6px 0;
  background: #0b0614; border-radius: 10px; border: 1px solid rgba(168,85,247,.3);
  word-break: break-all; cursor: pointer;
}
@media (min-width: 640px) {
  .boot-overlay { align-items: center; padding: 20px; }
  .boot-sheet { border-radius: 20px; border-bottom: 1px solid rgba(168,85,247,.4); }
}

/* Stepper quantity (+/-) di modal beli produk, menggantikan input angka polos */
.qty-stepper {
  display: flex; align-items: center; gap: 10px;
}
.qty-stepper .qty-btn {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 10px; border: 1px solid rgba(168,85,247,.4);
  background: rgba(168,85,247,.12); color: #e9d5ff;
  font-size: 18px; font-weight: 800; line-height: 1; cursor: pointer;
}
.qty-stepper .qty-btn:active { background: rgba(168,85,247,.25); }
.qty-stepper input {
  flex: 1; text-align: center; font-weight: 700;
}
