@font-face {
  font-family: "Mont";
  src: url("../_next/static/media/Mont_SemiBold-s.p.16amqj5m57x8i.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onder";
  src: url("../_next/static/media/Onder-s.p.03f~ufnqeu9k8.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #4a89ff;
  --accent-glow: #4a89ff55;
  --accent-soft: #4a89ff18;
  --bg: #07080e;
  --surface: rgba(15, 16, 24, 0.88);
  --surface-2: rgba(22, 25, 38, 0.95);
  --border: rgba(74, 137, 255, 0.14);
  --border-strong: rgba(74, 137, 255, 0.35);
  --text: #fff;
  --muted: #8a89a7;
  --green: #8fffab;
  --red: #ff7b7b;
  --orange: #ffb347;
  --font: "Mont", system-ui, sans-serif;
  --font-display: "Onder", "Mont", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
}

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

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px #4a89ff20; }
  50% { box-shadow: 0 0 40px #4a89ff40; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes borderSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

@keyframes payShine {
  0% { left: -100%; }
  100% { left: 200%; }
}

.fade-in { animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1); }

/* ── Ambient background ── */
.shop-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shop-ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 137, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 137, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}

.shop-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 12s ease-in-out infinite;
}

.shop-ambient__orb--1 {
  width: 420px;
  height: 420px;
  background: #4a89ff;
  top: -120px;
  right: -80px;
}

.shop-ambient__orb--2 {
  width: 320px;
  height: 320px;
  background: #3578d4;
  bottom: -100px;
  left: -60px;
  animation-delay: -6s;
}

/* ── Progress steps ── */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.checkout-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.checkout-progress__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--border);
  transition: all 0.35s ease;
}

.checkout-progress__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.35s ease;
}

.checkout-progress__step--active .checkout-progress__dot {
  color: #fff;
  background: linear-gradient(135deg, #4a89ff, #3578d4);
  border-color: transparent;
  box-shadow: 0 0 24px var(--accent-glow);
}

.checkout-progress__step--active .checkout-progress__label {
  color: var(--accent);
}

.checkout-progress__step--done .checkout-progress__dot {
  color: var(--green);
  border-color: rgba(143, 255, 171, 0.4);
  background: rgba(143, 255, 171, 0.1);
}

.checkout-progress__line {
  flex: 1;
  height: 2px;
  min-width: 24px;
  max-width: 48px;
  background: linear-gradient(90deg, var(--border), rgba(74, 137, 255, 0.25), var(--border));
  margin-bottom: 20px;
}

/* ── Card payment (PayGate provider picker) ── */
.card-pay-banner {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.card-pay-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.card-providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.card-provider-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card-provider-row:hover {
  border-color: #4a89ff45;
  transform: translateY(-1px);
}

.card-provider-selected {
  border-color: var(--accent);
  background: #4a89ff18;
  box-shadow: 0 0 20px var(--accent-glow);
}

.card-provider-radio {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.card-provider-selected .card-provider-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.card-provider-label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.card-provider-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-provider-icons img {
  display: block;
}

.card-pay-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 8px 0 20px;
  padding: 22px 20px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(74, 137, 255, 0.08) 0%, rgba(74, 137, 255, 0.18) 100%),
    var(--surface-2);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 32px var(--accent-glow);
  animation: fadeInUp 0.4s ease-out;
}

.card-pay-amount-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.card-pay-amount-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.order-delivered-banner {
  text-align: center;
  margin-bottom: 22px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(143, 255, 171, 0.12) 0%, transparent 70%),
    var(--surface-2);
  border: 1px solid rgba(143, 255, 171, 0.25);
  animation: fadeInUp 0.5s ease-out;
}

.order-delivered-banner .status-success-icon {
  font-size: 44px;
  margin-bottom: 8px;
}

.order-delivered-banner .status-success-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 6px;
}

.order-delivered-banner .shop-muted {
  margin-bottom: 0;
}

.giftcard-discord-display--centered {
  max-width: 360px;
  margin: 12px auto 16px;
}

#order-result .shop-btn-pay,
#order-result .shop-btn-ghost,
#order-result #btn-support {
  margin-top: 10px;
}

#order-result #btn-support {
  margin-bottom: 10px;
  text-decoration: none;
}

#res-gc-link {
  display: inline-flex;
  width: auto;
  margin-top: 4px;
}

.giftcard-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.giftcard-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.giftcard-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
}

.giftcard-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.giftcard-step .shop-muted {
  margin-bottom: 12px;
}

.giftcard-discord-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 12px;
  padding: 14px 88px 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.giftcard-discord-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.giftcard-copy-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.giftcard-buy-btn,
.giftcard-discord-btn {
  display: inline-flex;
  width: auto;
  margin-top: 4px;
  text-decoration: none;
}

.shop-page {
  min-height: 100vh;
  background: var(--bg);
  font-family: var(--font);
  color: var(--text);
  padding: 28px 20px 56px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.shop-wrap {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  animation: fadeIn 0.4s ease-out;
}

.shop-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.shop-back:hover {
  background: var(--accent-soft);
  border-color: var(--border);
  transform: translateX(-2px);
}

.shop-brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 0 16px var(--accent-glow);
}

.accent { color: var(--accent); }

.shop-card--payment,
.shop-card--status {
  animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-product-name.shop-product-error {
  color: var(--red);
  text-shadow: none;
  font-size: 22px;
}

.checkout-progress__step--done .checkout-progress__dot::after {
  content: "✓";
  font-size: 12px;
}

.checkout-progress__step--done .checkout-progress__dot {
  font-size: 0;
}

.shop-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(74, 137, 255, 0.1) 0%, transparent 55%),
    radial-gradient(80% 60% at 100% 100%, rgba(74, 137, 255, 0.06) 0%, transparent 50%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Product hero ── */
.product-hero {
  position: relative;
  margin: -4px -4px 22px;
  border-radius: 18px;
  overflow: hidden;
}

.product-hero__border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, #4a89ff, #7eb8ff, #4a89ff, transparent);
  animation: borderSpin 6s linear infinite;
  opacity: 0.55;
}

.product-hero__inner {
  position: relative;
  margin: 1px;
  padding: 22px 20px;
  border-radius: 17px;
  background:
    linear-gradient(160deg, rgba(74, 137, 255, 0.12) 0%, rgba(15, 16, 24, 0.98) 45%),
    var(--surface-2);
}

.product-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(143, 255, 171, 0.08);
  border: 1px solid rgba(143, 255, 171, 0.2);
}

.product-hero--compact {
  margin: -4px -4px 20px;
}

.product-hero--compact .product-hero__inner {
  padding: 20px 18px;
}

.product-hero--compact .shop-product-name {
  font-size: 22px;
  margin-bottom: 6px;
}

.product-hero--compact .shop-product-desc {
  margin-bottom: 0;
}

.shop-product-desc--inline {
  color: var(--text) !important;
  font-size: 16px !important;
  font-weight: 600;
  margin-bottom: 0 !important;
  line-height: 1.4;
}

.checkout-section {
  margin-bottom: 22px;
}

.checkout-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.checkout-section__head .shop-step-label {
  margin-bottom: 0;
}

.checkout-section__icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.checkout-section--fields {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.shop-field-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #5c5b72;
  font-size: 10px;
}

.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 18px;
  padding: 12px 0;
}

.checkout-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.checkout-trust__item svg {
  color: var(--accent);
  opacity: 0.85;
}

.cf-turnstile,
.checkout-turnstile {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.shop-step-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}

.shop-product-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.15;
  animation: slideIn 0.4s ease-out 0.1s both;
}

.shop-product-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.shop-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
  animation: slideIn 0.4s ease-out 0.2s both;
}

.price-summary {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(74, 137, 255, 0.08);
  border: 1px solid var(--border);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row.price-discount {
  color: var(--green);
}

.price-row.price-total {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.coupon-section {
  margin-bottom: 16px;
}

.coupon-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.coupon-row .shop-input {
  flex: 1;
}

.coupon-apply-btn {
  flex-shrink: 0;
  min-width: 88px;
  padding: 0 16px;
  width: auto !important;
}

.coupon-status {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.coupon-status.ok {
  color: var(--green);
}

.coupon-status.err {
  color: var(--red);
}

.shop-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 137, 255, 0.25), transparent);
  margin: 8px 0 22px;
  border: none;
}

/* ── Payment method buttons ── */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 0;
}

.pm-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 16px 8px 14px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--muted);
  font-family: var(--font);
  overflow: hidden;
}

.pm-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(74, 137, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pm-btn:hover::before,
.pm-selected::before {
  opacity: 1;
}

.pm-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pm-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s ease;
}

.pm-selected .pm-check {
  opacity: 1;
  transform: scale(1);
}

.pm-selected {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(74, 137, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(74, 137, 255, 0.2),
    0 8px 28px var(--accent-glow);
}

.pm-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.pm-logo-color {
  filter: none;
  opacity: 1;
}

.pm-selected .pm-logo,
.pm-btn:hover .pm-logo {
  transform: scale(1.12);
}

.pm-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

/* ── Coin selection grid ── */
.coin-selection,
#coin-selection {
  margin-bottom: 0;
  animation: fadeIn 0.35s ease-out;
}

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

.coin-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 8px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--muted);
  font-family: var(--font);
}

.coin-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.coin-selected {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(74, 137, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(74, 137, 255, 0.25),
    0 0 24px var(--accent-glow);
}

.coin-selected::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid var(--accent);
  opacity: 0.35;
  pointer-events: none;
}

.coin-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.coin-btn:hover .coin-logo { transform: scale(1.15) rotate(-3deg); }
.coin-selected .coin-logo { transform: scale(1.1); }

.coin-name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.coin-ticker {
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.coin-selected .coin-ticker {
  color: var(--accent);
}

/* ── Fields ── */
.shop-field {
  display: block;
  margin-bottom: 18px;
}
.shop-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.shop-field-label svg {
  color: var(--accent);
  flex-shrink: 0;
}

.shop-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 11, 18, 0.8);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.shop-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 24px rgba(74, 137, 255, 0.15);
  background: rgba(10, 11, 18, 0.95);
}

.shop-input::placeholder { color: #4a4968; }

/* ── Buttons ── */
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
}
.shop-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 30px #0003; }
.shop-btn:active { transform: translateY(0); }
.shop-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.shop-btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5a9aff 0%, #4a89ff 45%, #3578d4 100%);
  color: #fff;
  box-shadow:
    0 8px 32px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.shop-btn-pay {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 16px;
}

.shop-btn-pay__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: payShine 3s ease-in-out infinite;
  pointer-events: none;
}

.shop-btn-primary:hover {
  box-shadow:
    0 12px 40px rgba(74, 137, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.shop-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  border: 1px solid var(--border);
}

.shop-btn-ghost:hover {
  background: var(--accent-soft);
  border-color: var(--border-strong);
}

/* ── Highlight box ── */
.shop-highlight {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  word-break: break-all;
  user-select: all;
}

.shop-key {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  color: var(--green);
  white-space: pre-wrap;
  word-break: break-all;
}

.shop-key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.shop-key-actions .shop-btn {
  flex: 1 1 160px;
  margin-bottom: 0;
  justify-content: center;
  text-decoration: none;
}

.shop-key-hint {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* ── Info grid ── */
.shop-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.shop-info-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: transform 0.2s;
}
.shop-info-item:hover { transform: translateY(-1px); }

.shop-info-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.shop-info-value {
  font-size: 14px;
  font-weight: 600;
}

.shop-info { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.shop-muted { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 12px; }

.shop-status {
  text-align: center;
  font-size: 13px;
  margin-top: 14px;
  min-height: 18px;
}
.shop-status.ok { color: var(--green); }
.shop-status.err { color: var(--red); }

.status-pending { color: var(--orange); }
.status-paid { color: var(--accent); }
.status-delivered { color: var(--green); }
.status-cancelled { color: var(--red); }

/* ═══════════════════════════════════════════
   Crypto Payment UI
   ═══════════════════════════════════════════ */
.crypto-payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.crypto-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

/* Coin logo + product name */
.crypto-product-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  animation: fadeIn 0.4s ease-out;
}

.crypto-eur-equiv {
  margin-top: 6px;
  color: var(--muted, #8a89a7);
  font-size: 13px;
  font-weight: 500;
}
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.crypto-product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

/* QR code */
.qr-container {
  display: flex;
  justify-content: center;
  margin: 24px 0;
  position: relative;
  animation: fadeInUp 0.5s ease-out;
}

.qr-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, #4a89ff20 0%, transparent 70%);
  animation: glow 3s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.qr-container canvas {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 2px solid #4a89ff30;
  padding: 10px;
  background: #0b0c12;
}

/* Amount box */
.crypto-amount-display {
  position: relative;
  background: linear-gradient(135deg, #4a89ff06 0%, #4a89ff14 100%);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 12px;
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

.crypto-amount-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.crypto-amount-value {
  font-size: 28px;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  color: var(--text);
  word-break: break-all;
  line-height: 1.3;
  background: linear-gradient(90deg, #fff, #4a89ff, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.crypto-amount-ticker {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
}

/* Address box */
.crypto-address-display {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 16px;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.crypto-address-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.crypto-address-value {
  font-size: 13px;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  color: var(--text);
  word-break: break-all;
  line-height: 1.5;
}

/* Copy button */
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.copy-btn:hover { opacity: 0.85; transform: scale(1.04); }
.copy-btn:active { transform: scale(0.96); }
.copy-btn svg { flex-shrink: 0; }

/* Warnings */
.crypto-warnings {
  background: #ffb34708;
  border: 1px solid #ffb34720;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.5s ease-out 0.3s both;
}

.warning-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.warning-row svg { flex-shrink: 0; margin-top: 1px; }

.warning-row p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.warning-row strong { color: var(--orange); }

/* ── Status success ── */
.status-success {
  text-align: center;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.status-success-icon {
  font-size: 52px;
  color: var(--green);
  margin-bottom: 10px;
  animation: pulse 1.5s ease-in-out 1;
}

.status-success-title {
  color: var(--green);
  margin-bottom: 4px;
  font-size: 20px;
}

/* ── Crypto info on order-status page ── */
.crypto-status-section { margin-top: 16px; }
.crypto-status-section .qr-container canvas { width: 150px; height: 150px; }

/* ── Responsive ── */
@media (max-width: 520px) {
  .shop-page { padding: 18px 14px 40px; }
  .shop-card { padding: 18px 16px; border-radius: 18px; }
  .shop-info-grid { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: repeat(2, 1fr); }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .crypto-amount-value { font-size: 22px; }
  .crypto-address-value { font-size: 11px; }
  .shop-product-name { font-size: 22px; }
  .shop-price { font-size: 26px; }
  .shop-btn { padding: 14px 18px; font-size: 14px; }
  .shop-highlight { font-size: 14px; padding: 12px 14px; }
  .crypto-amount-display { padding: 18px 16px; }
  .crypto-address-display { padding: 14px 16px; }
  .crypto-warnings { padding: 14px 16px; }
  .qr-container { margin: 18px 0; }
  .copy-btn { font-size: 10px; padding: 4px 10px; }
  .checkout-progress { padding: 12px 10px; }
  .checkout-progress__step { min-width: 58px; }
  .checkout-progress__label { font-size: 9px; }
  .product-hero__inner { padding: 18px 16px; }
  .checkout-section--fields { padding: 14px; }
}

@media (max-width: 360px) {
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-methods { grid-template-columns: 1fr 1fr; }
  .shop-page { padding: 14px 10px 32px; }
  .shop-card { padding: 16px 12px; }
  .crypto-amount-value { font-size: 18px; }
}

/* ── Quantity Selector ── */
.qty-selector {
  background: linear-gradient(135deg, rgba(74, 137, 255, 0.08) 0%, rgba(74, 137, 255, 0.03) 100%);
  border: 1px solid rgba(74, 137, 255, 0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0 4px;
  animation: fadeInUp 0.3s ease;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74, 137, 255, 0.12);
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
  font-family: system-ui, sans-serif;
}

.qty-btn:hover:not(:disabled) {
  background: rgba(74, 137, 255, 0.15);
  color: #fff;
}

.qty-btn:active:not(:disabled) {
  transform: scale(0.92);
  background: rgba(74, 137, 255, 0.25);
}

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

.qty-value {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  min-width: 52px;
  text-align: center;
  user-select: none;
  letter-spacing: 0.02em;
}

.qty-info {
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font);
  opacity: 0.85;
}
