:root {
  --bg: #000000;
  --panel: #0b0b0b;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: #8a8a8a;
  --muted-2: #5a5a5a;
  --radius: 16px;
  --discord: #5865F2;
  --roblox: #E2231A;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open { overflow: hidden; }

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(700px 420px at 50% -8%, rgba(255, 255, 255, 0.10), transparent 70%);
  animation: fadeIn 1.4s ease .1s both;
}

.grid-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 72%);
  animation: fadeIn 1.4s ease .2s both;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  animation: fadeUp .8s cubic-bezier(.2, .8, .2, 1) both;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
  text-decoration: none;
}

.logo span { color: var(--muted); font-weight: 500; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

main {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  animation: fadeUp 1s cubic-bezier(.2, .8, .2, 1) .12s both;
}

.hero { padding: 96px 0 72px; text-align: center; }
.hero-compact { padding: 72px 0 48px; }

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: #fff; }

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 25%, #8a8a8a 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-compact h1 { font-size: clamp(34px, 5.5vw, 56px); margin-bottom: 16px; }

.hero p { max-width: 540px; margin: 0 auto; font-size: 16px; color: var(--muted); }
.hero-compact p { font-size: 15px; }

.stats {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-top: 54px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.stat span {
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

.categories { padding: 24px 0 80px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px 32px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.6;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.category-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.category-info p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.category-price {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted-2);
  font-weight: 600;
}

.category-arrow {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 20px;
  color: var(--muted);
  transition: transform .2s, color .2s;
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
  color: #fff;
}

.listings { padding: 24px 0 80px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.section-sub { font-size: 12px; color: var(--muted-2); letter-spacing: 0.02em; }

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

.grid-capes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-discord { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-roblox { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px 130px at 50% -20%, rgba(255, 255, 255, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.card:hover::after { opacity: 1; }

.card.sold { opacity: 0.45; cursor: not-allowed; }
.card.sold:hover { transform: none; box-shadow: none; border-color: var(--border); }
.card.sold:hover::after { opacity: 0; }

.cape-visual,
.year-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 4px;
  min-height: 108px;
}

.cape-visual::before,
.year-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  background: var(--glow, #ffffff);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(42px);
  pointer-events: none;
  transition: opacity .35s;
}

.card:hover .cape-visual::before { opacity: 0.28; }
.card:hover .year-visual::before { opacity: 0.32; }

.card.sold .cape-visual::before,
.card.sold .year-visual::before { opacity: 0.08; }

.cape-svg {
  position: relative;
  width: 72px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cape-img {
  position: relative;
  width: 92px;
  height: 92px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.card:hover .cape-svg,
.card:hover .cape-img,
.card:hover .discord-logo,
.card:hover .roblox-logo,
.card:hover .og-platform-logo { transform: translateY(-4px) scale(1.05); }

.card.sold:hover .cape-svg,
.card.sold:hover .cape-img,
.card.sold:hover .discord-logo,
.card.sold:hover .roblox-logo,
.card.sold:hover .og-platform-logo { transform: none; }

.discord-logo {
  position: relative;
  width: 96px;
  height: 96px;
  color: var(--discord);
  filter: drop-shadow(0 10px 22px rgba(88, 101, 242, 0.4));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.discord-logo svg { width: 100%; height: 100%; display: block; }

.roblox-logo {
  position: relative;
  width: 96px;
  height: 96px;
  color: var(--roblox);
  filter: drop-shadow(0 10px 22px rgba(226, 35, 26, 0.4));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.roblox-logo svg { width: 100%; height: 100%; display: block; }

.og-platform-logo {
  position: relative;
  width: 96px;
  height: 96px;
  color: #fff;
  opacity: 0.9;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.og-platform-logo svg { width: 100%; height: 100%; display: block; }

.cape-visual-lg,
.year-visual-lg {
  padding: 20px 0 14px;
  min-height: 190px;
}

.cape-visual-lg::before,
.year-visual-lg::before {
  width: 180px;
  height: 180px;
  opacity: 0.2;
  filter: blur(60px);
}

.cape-visual-lg .cape-svg { width: 122px; }
.cape-visual-lg .cape-img { width: 168px; height: 168px; }
.year-visual-lg .discord-logo { width: 148px; height: 148px; }
.year-visual-lg .roblox-logo { width: 148px; height: 148px; }
.year-visual-lg .og-platform-logo { width: 148px; height: 148px; }

.card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  word-break: break-word;
  line-height: 1.3;
}

.card-stock {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.4;
}

.card-stock.low { color: #ffffff; }

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

.price { font-size: 17px; font-weight: 700; letter-spacing: -0.03em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}

.btn.primary { background: #fff; color: #000; }
.btn.primary:hover { background: #d8d8d8; }
.btn.primary:disabled { background: #2a2a2a; color: #666; cursor: not-allowed; }

.card .btn.primary { padding: 8px 14px; font-size: 13px; }

.btn.ghost { background: transparent; color: #fff; border-color: var(--border-strong); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.07); }

.btn-block { width: 100%; padding: 14px 18px; font-size: 15px; border-radius: 12px; }

.contact-strip {
  padding: 64px 0;
  margin-bottom: 64px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-strip h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.contact-strip p { margin: 0 0 26px; font-size: 14px; color: var(--muted); }

.contact-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

footer {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  animation: fadeUp .9s cubic-bezier(.2, .8, .2, 1) 1s both;
}

footer p { margin: 0; font-size: 12.5px; color: var(--muted-2); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 34px 28px 28px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}

.overlay.open .modal { opacity: 1; transform: translateY(0) scale(1); }

.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; transform: rotate(90deg); }

.modal-head h3 { margin: 8px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; word-break: break-word; }
.modal-head.center { text-align: center; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.modal-price { margin-top: 6px; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; }
.modal-text { margin: 14px 0 20px; font-size: 14px; color: var(--muted); }
.modal-text.center { text-align: center; }
.modal-text strong { color: #fff; font-weight: 600; }

.info-box {
  padding: 4px 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

.info-row:last-child { border-bottom: none; }
.info-row span { color: var(--muted); }
.info-row strong { color: #fff; font-weight: 600; }

.email-input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.email-input::placeholder { color: var(--muted-2); }
.email-input:focus { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.07); }

.check {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06);
  animation: popCheck .5s cubic-bezier(.2, .85, .25, 1) both;
}

@keyframes popCheck {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-actions { display: flex; gap: 10px; margin-top: 4px; }
.modal-actions .btn { flex: 1; }

.modal-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.55;
}

.contact-list { display: grid; gap: 10px; margin-bottom: 4px; }

.contact-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.contact-card:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-strong); }
.contact-platform { font-weight: 600; }
.contact-handle { font-size: 13px; color: var(--muted); }

.mono { font-family: var(--mono); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 200;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .3s, transform .3s;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

.thanks { padding: 96px 0 120px; display: flex; justify-content: center; animation: fadeUp .6s cubic-bezier(.2, .8, .2, 1) both; }

.thanks-card {
  width: 100%;
  max-width: 520px;
  padding: 40px 36px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: center;
}

.thanks-card .check { margin-bottom: 22px; }
.thanks-card h1 { margin: 0 0 16px; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }

.thanks-lead { margin: 0 0 22px; font-size: 15px; color: var(--muted); line-height: 1.6; }

.thanks-note {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
}

.thanks-note p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

.thanks-note a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color .2s;
}

.thanks-note a:hover { border-color: #fff; }

.thanks-divider { height: 1px; background: var(--border); margin: 24px 0; }

.thanks-vouch {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  margin-bottom: 26px;
  text-align: left;
}

.thanks-vouch-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.thanks-vouch p:last-child { margin: 0; font-size: 14px; color: var(--text); line-height: 1.6; }
.thanks-vouch strong { font-weight: 700; color: #fff; }

.thanks-vouch a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color .2s;
}

.thanks-vouch a:hover { border-color: #fff; }

.order-loading { padding: 32px 0 24px; }

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

.order-loading p { margin: 0; font-size: 14px; color: var(--muted); }
.order-delivered { margin-bottom: 24px; text-align: left; }

.order-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 14px;
  text-align: center;
}

.order-item {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.order-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.order-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-align: center;
}

.order-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}

.order-field-info { flex: 1; min-width: 0; }

.order-field-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.order-field-value {
  font-family: var(--mono);
  font-size: 13.5px;
  color: #fff;
  word-break: break-all;
  line-height: 1.4;
}

.order-copy {
  flex-shrink: 0;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}

.order-copy:hover { background: rgba(255, 255, 255, 0.2); }

.order-warning {
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  line-height: 1.55;
  text-align: center;
}

.order-warning strong { color: #fff; font-weight: 600; }

.currency-select {
  position: relative;
  display: inline-block;
}

.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.currency-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

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

.currency-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 60;
}

.currency-select.open .currency-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.currency-menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.currency-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.currency-menu button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: #fff;
}

.faq-body {
  padding: 0 22px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-body p { margin: 0 0 12px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: #fff; font-weight: 600; }

.faq-body a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color .2s;
}

.faq-body a:hover { border-color: #fff; }

.cart-open { overflow: hidden; }

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-left: 1px solid var(--border-strong);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.85);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.cart-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}

.cart-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; transform: rotate(90deg); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  padding: 60px 20px;
  text-align: center;
  font-size: 15px;
  color: #fff;
  line-height: 1.7;
}

.cart-empty span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted-2);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-info { min-width: 0; }

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

.cart-item-price {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted-2);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s;
}

.cart-qty-btn:hover { background: rgba(255, 255, 255, 0.1); }

.cart-qty-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-qty-num {
  min-width: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.cart-item-total {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  min-width: 60px;
  text-align: right;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted-2);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: color .15s, background .15s;
}

.cart-item-remove:hover { color: #ff7a7a; background: rgba(255, 100, 100, 0.08); }

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
}

.cart-summary span { color: var(--muted); }
.cart-summary strong { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }

.cart-continue { margin-top: 8px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.cart-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

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

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  background: #fff;
  border-radius: 999px;
  transition: transform .2s;
}

.cart-count.empty {
  transform: scale(0);
  pointer-events: none;
}

.admin-login {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 0;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  padding: 40px 32px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.admin-login-card h1 {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.admin-login-card p {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
}

.admin-err {
  margin: 12px 0 0;
  font-size: 13px;
  color: #ff7a7a;
  min-height: 18px;
}

.admin-dash { padding: 24px 0 80px; }

.admin-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.admin-tab {
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.admin-tab:hover { color: #fff; }

.admin-tab.active {
  color: #000;
  background: #fff;
}

.admin-section { margin-bottom: 32px; }

.admin-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.admin-section-count {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 600;
}

.admin-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 12px;
}

.admin-row-info { flex: 1; min-width: 0; }

.admin-row-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.admin-row-key {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}

.admin-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.admin-badge {
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  white-space: nowrap;
}

.admin-badge-ok {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-badge-low {
  background: rgba(255, 200, 100, 0.12);
  color: #ffc864;
  border: 1px solid rgba(255, 200, 100, 0.3);
}

.admin-badge-out {
  background: rgba(255, 100, 100, 0.1);
  color: #ff7a7a;
  border: 1px solid rgba(255, 100, 100, 0.25);
}

.admin-view-btn {
  padding: 6px 12px;
  font-size: 12px;
}

.admin-empty {
  padding: 32px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted-2);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.admin-modal {
  max-width: 600px;
}

.admin-codes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.admin-add-btn {
  padding: 8px 14px;
  font-size: 12px;
}

.admin-codes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 8px;
}

.admin-code-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12.5px;
}

.admin-code-key {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-code-preview {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.admin-code-edit {
  padding: 5px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.admin-code-edit:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
}

.admin-code-del {
  padding: 5px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.admin-code-del:hover {
  color: #ff7a7a;
  border-color: rgba(255, 100, 100, 0.4);
}

.admin-field {
  display: block;
  margin-bottom: 14px;
  text-align: left;
}

.admin-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.admin-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}

.admin-textarea:focus {
  border-color: var(--border-strong);
}

.admin-order-row { opacity: 0.85; }

.admin-order-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-order-time {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: var(--mono);
}

.admin-og-price {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.og-name {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.og-status {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.og-card.sold .og-name {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.og-details {
  margin: 4px 0 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
}

.og-details-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.og-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.og-details-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.og-details-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: 0;
  color: #fff;
  font-weight: 700;
}

.sort-select {
  position: relative;
  display: inline-block;
  align-self: center;
}

.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}

.sort-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.sort-current {
  font-weight: 500;
}

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

.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 60;
}

.sort-select.open .sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sort-menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.sort-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sort-menu button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

@media (max-width: 1080px) {
  .grid-capes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-discord { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-roblox { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .grid-capes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-discord { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-roblox { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cape-visual, .year-visual { min-height: 118px; }
  .cape-svg { width: 82px; }
  .cape-img { width: 104px; height: 104px; }
  .discord-logo { width: 84px; height: 84px; }
  .roblox-logo { width: 84px; height: 84px; }
  .og-platform-logo { width: 84px; height: 84px; }
}

@media (max-width: 680px) {
  .category-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { padding: 14px 14px; gap: 8px; }
  .logo { font-size: 15px; }
  .nav-link { padding: 6px 8px; font-size: 12px; }
  .currency-btn { padding: 6px 10px; font-size: 12px; }
  .cart-btn { width: 34px; height: 34px; }
  main { padding: 0 18px; }
  .hero { padding: 72px 0 56px; }
  .hero-compact { padding: 56px 0 40px; }
  .hero h1 { font-size: clamp(30px, 9vw, 46px); }
  .hero-compact h1 { font-size: clamp(26px, 7vw, 36px); }
  .stats { gap: 40px; }
  .section-head { gap: 6px; }
  .section-head h2 { font-size: 20px; }
  .sort-btn { padding: 7px 12px; font-size: 12px; }
  .sort-menu { min-width: 180px; }
  .category-card { padding: 34px 24px 28px; }
  .category-info h3 { font-size: 20px; }
  .grid-capes, .grid-discord, .grid-roblox { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .cape-visual, .year-visual { min-height: 128px; }
  .cape-svg { width: 92px; }
  .cape-img { width: 118px; height: 118px; }
  .discord-logo { width: 92px; height: 92px; }
  .roblox-logo { width: 92px; height: 92px; }
  .og-platform-logo { width: 92px; height: 92px; }
  .card-name { font-size: 16px; }
  .modal { padding: 30px 20px 24px; border-radius: 16px; max-height: 92vh; }
  .overlay { padding: 14px; }
  .cape-visual-lg, .year-visual-lg { min-height: 160px; }
  .cape-visual-lg .cape-svg { width: 108px; }
  .cape-visual-lg .cape-img { width: 144px; height: 144px; }
  .year-visual-lg .discord-logo { width: 116px; height: 116px; }
  .year-visual-lg .roblox-logo { width: 116px; height: 116px; }
  .year-visual-lg .og-platform-logo { width: 116px; height: 116px; }
  .thanks { padding: 64px 0 80px; }
  .thanks-card { padding: 32px 22px 26px; border-radius: 16px; }
  .thanks-card h1 { font-size: 27px; }
  .thanks-lead { font-size: 14px; }
  .faq-item summary { padding: 16px 18px; font-size: 14px; }
  .faq-body { padding: 0 18px 18px; font-size: 13.5px; }
  .cart-panel { max-width: 100%; }
  .cart-header { padding: 18px 20px; }
  .cart-body { padding: 12px 16px; }
  .cart-footer { padding: 16px 20px 20px; }
  .cart-item {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    position: relative;
    padding-right: 30px;
  }
  .cart-item-qty { grid-column: 1; grid-row: 2; justify-self: start; }
  .cart-item-total { grid-column: 2; grid-row: 2; min-width: auto; }
  .cart-item-remove { position: absolute; top: 14px; right: 0; }
  .og-details { padding: 14px 16px; }
  .og-details-list li { font-size: 13px; }
  .admin-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .admin-row-right { justify-content: space-between; }
  .admin-code-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .admin-code-preview { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 380px) {
  .logo span { display: none; }
  .nav-link { padding: 6px 8px; font-size: 11.5px; }
  .currency-btn { padding: 5px 8px; font-size: 11px; }
  .cart-btn { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- ADMIN ORDER DETAIL ---------- */

.admin-order-row {
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.admin-order-row:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: var(--border-strong);
}

.admin-order-row:focus-visible {
  outline: 2px solid var(--border-strong);
  outline-offset: 2px;
}

.admin-order-total {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.admin-order-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
}

.admin-order-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.admin-order-meta-row span { color: var(--muted); }
.admin-order-meta-row strong { color: #fff; font-weight: 600; }
.admin-order-meta-row strong.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; word-break: break-all; }

.admin-order-items { display: flex; flex-direction: column; gap: 18px; }

.admin-order-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.admin-order-item:last-child { border-bottom: none; padding-bottom: 0; }

.admin-order-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-order-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.admin-order-item-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* ---------- MY ORDERS PAGE ---------- */

.orders-lookup {
  display: flex;
  justify-content: center;
  padding: 24px 0 32px;
}

.orders-lookup-card {
  width: 100%;
  max-width: 460px;
  padding: 28px 26px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 16px;
}

.orders-lookup-card .admin-field { margin-bottom: 18px; }

.orders-results {
  padding: 24px 0 64px;
}

.orders-card {
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
}

.orders-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.orders-card-date {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.orders-card-id {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted-2);
  word-break: break-all;
  max-width: 260px;
}

.orders-card-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.orders-card-total {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.orders-card-items .order-item {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.orders-card-items .order-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (max-width: 560px) {
  .orders-lookup-card { padding: 22px 20px 18px; }
  .orders-card { padding: 18px 18px; }
  .orders-card-head { flex-direction: column; gap: 10px; }
  .orders-card-right { align-self: flex-start; }
  .orders-card-id { max-width: 100%; }
}

/* ---------- OG CONTROLS (search + sort) ---------- */

.og-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.og-search {
  width: 220px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.og-search::placeholder { color: var(--muted-2); }

.og-search:focus {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- LOADING SKELETONS ---------- */

.card.skeleton {
  pointer-events: none;
  cursor: default;
}

.card.skeleton::after { display: none; }

.skeleton-visual {
  position: relative;
  min-height: 108px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  margin: 10px 0 4px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  margin: 0 auto;
  width: 70%;
}

.skeleton-line.short { width: 45%; margin-top: 8px; height: 10px; }
.skeleton-line.tiny { width: 40px; height: 14px; margin: 0; }

.skeleton-btn {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.card.skeleton .card-info { gap: 6px; padding-top: 8px; }

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

/* ---------- THANK YOU EMAIL NOTE ---------- */

.thanks-emailed {
  margin: 20px 0 0;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  line-height: 1.55;
}

.thanks-emailed strong { color: #fff; font-weight: 600; }

@media (max-width: 560px) {
  .og-search { width: 100%; }
  .og-controls { width: 100%; }
  .og-controls .sort-select { flex: 1; }
  .og-controls .sort-btn { width: 100%; justify-content: space-between; }
}

/* ---------- ADMIN STATS ---------- */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.admin-stat {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 14px;
}

.admin-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.admin-stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  word-break: break-word;
  line-height: 1.2;
}

.admin-stat-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- 404 PAGE ---------- */

.err-actions {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.err-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.err-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}

.err-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.err-links span { color: var(--muted-2); opacity: 0.5; }

/* ---------- TERMS / DOCUMENT PAGE ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-section {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.doc-section h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

.doc-section p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.doc-section p:last-child { margin-bottom: 0; }

.doc-section strong { color: #fff; font-weight: 600; }

.doc-section ul {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.doc-section ul:last-child { margin-bottom: 0; }

.doc-section ul li { margin-bottom: 6px; }
.doc-section ul li:last-child { margin-bottom: 0; }

.doc-section a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color .2s;
}

.doc-section a:hover { border-color: #fff; }

.doc-updated {
  margin: 20px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
}

footer a {
  color: var(--muted-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

footer a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 760px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-stat { padding: 16px 18px; }
  .admin-stat-value { font-size: 20px; }
  .doc-section { padding: 18px 20px; }
  .doc-section h2 { font-size: 15px; }
  .doc-section p, .doc-section ul { font-size: 13.5px; }
}

/* ---------- ADMIN STAT CARDS ---------- */

.admin-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.admin-stat {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 14px;
}

.admin-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.admin-stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  word-break: break-word;
  line-height: 1.2;
}

.admin-stat-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- ADMIN STAT CARDS ---------- */

.admin-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.admin-stat {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 14px;
}

.admin-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.admin-stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  word-break: break-word;
  line-height: 1.2;
}

.admin-stat-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- ADMIN CHARTS ---------- */

.admin-chart-card {
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
}

.admin-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.admin-chart-total {
  font-size: 13px;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.admin-chart {
  width: 100%;
  height: 140px;
  position: relative;
}

.admin-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  height: 140px;
  align-items: end;
}

.admin-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
}

.admin-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.admin-bar {
  width: 60%;
  max-width: 40px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.3));
  border-radius: 4px 4px 2px 2px;
  transition: height .4s cubic-bezier(.2, .8, .2, 1);
  min-height: 2px;
}

.admin-bar-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.admin-bar-value {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted);
}

.admin-top-products {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-top-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .15s;
}

.admin-top-row:hover { background: rgba(255, 255, 255, 0.03); }

.admin-top-rank {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
}

.admin-top-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-top-count {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.admin-top-revenue {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}

/* ---------- ADMIN BULK ADD ---------- */

.admin-codes-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-bulk-btn {
  padding: 8px 14px;
  font-size: 12px;
}

.admin-bulk-hint {
  margin: 4px 0 16px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.admin-bulk-hint strong { color: #fff; font-weight: 600; }

.admin-bulk-textarea {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- CHECKOUT BUNDLE BANNER ---------- */

.checkout-bundle-banner {
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

.checkout-bundle-banner.active {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #fff;
}

.checkout-bundle-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.checkout-bundle-banner.active .checkout-bundle-title { color: #fff; }

.checkout-bundle-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-bundle-text strong { color: #fff; font-weight: 600; }

.checkout-price-block {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-price-original {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted-2);
  text-decoration: line-through;
}

.checkout-price-final {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.checkout-price-chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #000;
  background: #fff;
  border-radius: 999px;
  align-self: center;
}

.discount-value { color: #fff !important; }

/* ---------- CART BUNDLE BANNER ---------- */

.cart-bundle-banner {
  padding: 12px 14px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

.cart-bundle-banner.active {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #fff;
}

.cart-bundle-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.cart-bundle-banner.active .cart-bundle-title { color: #fff; }

.cart-bundle-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.cart-bundle-text strong { color: #fff; font-weight: 600; }

.cart-summary-discount {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.cart-summary-discount span:last-child {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.cart-summary-discount .discount-value {
  color: #fff !important;
}

.cart-summary-total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

/* ---------- MEDIA QUERIES ---------- */

@media (max-width: 900px) {
  .admin-stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .admin-stat-cards { grid-template-columns: 1fr; }
  .admin-stat { padding: 16px 18px; }
  .admin-stat-value { font-size: 20px; }
  .admin-chart { height: 110px; }
  .admin-bars { height: 110px; gap: 6px; }
  .admin-bar { width: 70%; }
  .admin-bar-label { font-size: 9.5px; }
  .admin-bar-value { font-size: 10px; }
  .admin-chart-card { padding: 16px 18px; }
  .admin-top-row { grid-template-columns: 30px 1fr auto; gap: 8px; padding: 8px 10px; }
  .admin-top-revenue { grid-column: 2 / -1; text-align: left; min-width: 0; }
  .admin-codes-head-actions { gap: 6px; }
  .admin-bulk-btn, .admin-add-btn { padding: 7px 10px; font-size: 11px; }
}

/* ---------- OG TAG FILTER ---------- */

.og-tag-select {
  padding: 8px 32px 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: background-color .2s, border-color .2s;
  white-space: nowrap;
}

.og-tag-select:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.og-tag-select:focus {
  border-color: var(--border-strong);
  background-color: rgba(255, 255, 255, 0.08);
}

.og-tag-select option {
  background: var(--panel);
  color: #fff;
}

/* ---------- ADMIN TAG SELECT + BADGE ---------- */

.admin-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}

.admin-select:hover,
.admin-select:focus {
  border-color: var(--border-strong);
  background-color: rgba(255, 255, 255, 0.07);
}

.admin-select option {
  background: var(--panel);
  color: #fff;
}

.admin-tag-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

.admin-tag-badge.empty {
  color: var(--muted-2);
  background: transparent;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
}

/* Adjust admin code row to fit the new tag badge */
.admin-code-row {
  grid-template-columns: 1fr auto auto auto auto auto;
}

@media (max-width: 900px) {
  .admin-code-row {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }
  .admin-code-preview { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 560px) {
  .og-tag-select {
    flex: 1;
    min-width: 0;
  }
  .og-controls { width: 100%; }
  .og-controls .sort-select { flex: 1; }
  .og-controls .sort-btn { width: 100%; justify-content: space-between; }
}

/* ---------- ADMIN ANNOUNCE BUTTON ---------- */

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-announce-btn {
  padding: 7px 14px;
  font-size: 12.5px;
}

@media (max-width: 560px) {
  .section-head-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- BUNDLE BANNER (on /capes) ---------- */

.bundle-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, background .25s;
}

.bundle-banner:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.bundle-banner-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.bundle-banner-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.bundle-banner-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.bundle-banner-arrow {
  font-size: 26px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}

.bundle-banner:hover .bundle-banner-arrow {
  transform: translateX(6px);
  color: #fff;
}

/* ---------- BUNDLE GRID (on /cape-bundles) ---------- */

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

.bundle-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}

.bundle-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.bundle-card.sold {
  opacity: 0.45;
  cursor: not-allowed;
}

.bundle-card.sold:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.bundle-capes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  padding: 14px 0 8px;
  flex-wrap: nowrap;
}

.bundle-cape {
  position: relative;
  flex: 1 1 0;
  max-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.bundle-cape::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: var(--glow, #fff);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(38px);
  pointer-events: none;
  transition: opacity .35s;
}

.bundle-card:hover .bundle-cape { transform: translateY(-4px); }
.bundle-card:hover .bundle-cape::before { opacity: 0.28; }

.bundle-cape .cape-svg { width: 72px; }
.bundle-cape .cape-img { width: 100px; height: 100px; object-fit: contain; image-rendering: pixelated; }

.bundle-capes-1 .bundle-cape { max-width: 160px; }
.bundle-capes-1 .bundle-cape .cape-svg { width: 96px; }
.bundle-capes-1 .bundle-cape .cape-img { width: 130px; height: 130px; }

.bundle-capes-2 .bundle-cape .cape-svg { width: 82px; }
.bundle-capes-2 .bundle-cape .cape-img { width: 112px; height: 112px; }

.bundle-capes-3 .bundle-cape .cape-svg { width: 68px; }
.bundle-capes-3 .bundle-cape .cape-img { width: 92px; height: 92px; }

.bundle-capes-4 .bundle-cape .cape-svg { width: 58px; }
.bundle-capes-4 .bundle-cape .cape-img { width: 78px; height: 78px; }

.bundle-modal-capes {
  padding: 6px 0 4px;
  margin-bottom: 12px;
}

.bundle-modal-capes .bundle-capes {
  min-height: 160px;
}

.bundle-modal-capes .bundle-cape .cape-svg { width: 90px; }
.bundle-modal-capes .bundle-cape .cape-img { width: 120px; height: 120px; }

/* ---------- CART ITEM TAG ---------- */

.cart-item-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
  background: #fff;
  border-radius: 999px;
  vertical-align: middle;
}

@media (max-width: 760px) {
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-banner { padding: 18px 20px; }
  .bundle-banner-title { font-size: 18px; }
  .bundle-banner-arrow { font-size: 22px; }
  .bundle-cape::before { width: 70px; height: 70px; filter: blur(30px); }
  .bundle-cape .cape-svg { width: 62px; }
  .bundle-cape .cape-img { width: 84px; height: 84px; }
  .bundle-capes { min-height: 120px; }
}

/* ---------- ADMIN BUNDLE EDITOR ---------- */

.admin-bundles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.bundle-item-row {
  display: grid;
  grid-template-columns: 1fr 80px auto;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.bundle-item-qty {
  margin-bottom: 0 !important;
  text-align: center;
}

@media (max-width: 560px) {
  .bundle-item-row {
    grid-template-columns: 1fr 70px;
    row-gap: 6px;
  }
  .bundle-item-row .bundle-item-remove {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }
}