/* ==========================================================
   BumbleMC CraftingStore theme
   Colours match the BumbleMC website.
   ========================================================== */

:root {
  --bg: #120d07;
  --bg-2: #1a1309;
  --surface: rgba(34, 26, 15, .88);
  --surface-solid: #221a0f;
  --surface-2: #2b2113;
  --border: #3d2f19;
  --border-light: #56431f;

  --honey: #ffc21a;
  --honey-light: #ffd95a;
  --honey-deep: #e89a06;
  --honey-shadow: #9a5a00;

  --text: #f7eedc;
  --text-muted: #b9a888;
  --text-dim: #85765c;

  --green: #5fd068;
  --red: #ff5a4f;
  --discord: #5865f2;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 170, 30, .22), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint honeycomb texture, same as the website */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23ffc21a' stroke-width='1.5'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--honey); text-decoration: none; }
a:hover { color: var(--honey-light); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; }
::selection { background: var(--honey); color: #241500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- floating background ---------- */
.bm-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bm-drop {
  position: absolute;
  bottom: -60px;
  width: 26px;
  height: 30px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(180deg, rgba(255, 217, 90, .35), rgba(232, 154, 6, .12));
  animation: rise 26s linear infinite;
}
.bm-drop.d1 { left: 6%; animation-duration: 30s; }
.bm-drop.d2 { left: 22%; width: 16px; height: 18px; animation-duration: 24s; animation-delay: -8s; }
.bm-drop.d3 { left: 47%; width: 12px; height: 14px; animation-duration: 34s; animation-delay: -18s; }
.bm-drop.d4 { left: 68%; animation-duration: 28s; animation-delay: -4s; }
.bm-drop.d5 { left: 84%; width: 18px; height: 21px; animation-duration: 22s; animation-delay: -12s; }
.bm-drop.d6 { left: 94%; width: 12px; height: 14px; animation-duration: 32s; animation-delay: -22s; }
@keyframes rise {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-115vh) rotate(160deg); opacity: 0; }
}
.bm-bee { position: absolute; width: 46px; height: auto; opacity: .85; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
.bm-bee.b1 { top: 18%; left: -60px; animation: fly-right 38s linear infinite; }
.bm-bee.b2 { top: 62%; right: -60px; width: 36px; animation: fly-left 46s linear infinite; animation-delay: -20s; }
@keyframes fly-right {
  0% { transform: translate(0, 0) scaleX(1); }
  25% { transform: translate(28vw, -30px) scaleX(1); }
  49.5% { transform: translate(55vw, 20px) scaleX(1); }
  50.5% { transform: translate(55vw, 20px) scaleX(-1); }
  75% { transform: translate(28vw, 40px) scaleX(-1); }
  99.5% { transform: translate(0, 0) scaleX(-1); }
  100% { transform: translate(0, 0) scaleX(1); }
}
@keyframes fly-left {
  0% { transform: translate(0, 0) scaleX(-1); }
  49.5% { transform: translate(-50vw, -40px) scaleX(-1); }
  50.5% { transform: translate(-50vw, -40px) scaleX(1); }
  99.5% { transform: translate(0, 0) scaleX(1); }
  100% { transform: translate(0, 0) scaleX(-1); }
}
.bm-paused *, .bm-paused *::before, .bm-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bm-sky { display: none; }
}

/* ---------- buttons ---------- */
.bm-btn {
  --btn-bg: var(--surface-2);
  --btn-edge: #0b0804;
  --btn-text: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid rgba(0, 0, 0, .35);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--btn-edge), inset 0 2px 0 rgba(255, 255, 255, .16);
  transition: transform .12s ease, box-shadow .12s ease, filter .15s ease;
  white-space: nowrap;
}
.bm-btn:hover { color: var(--btn-text); filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge), inset 0 2px 0 rgba(255, 255, 255, .16); }
.bm-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge), inset 0 2px 0 rgba(255, 255, 255, .16); }
.bm-btn:focus-visible { outline: 3px solid var(--honey-light); outline-offset: 3px; }
.bm-btn svg { width: 16px; height: 16px; flex: none; }
.bm-btn-honey { --btn-bg: linear-gradient(180deg, var(--honey-light), var(--honey) 55%, var(--honey-deep)); --btn-edge: var(--honey-shadow); --btn-text: #2a1700; }
.bm-btn-discord { --btn-bg: linear-gradient(180deg, #7983f5, var(--discord)); --btn-edge: #343c9c; --btn-text: #fff; }
.bm-btn-ghost { --btn-bg: rgba(43, 33, 19, .9); border-color: var(--border-light); }
.bm-btn-sm { padding: 8px 12px; font-size: 13px; }
.bm-btn-lg { padding: 15px 28px; font-size: 17px; }
.bm-btn-block { width: 100%; }

/* ---------- top bar ---------- */
.bm-topbar { padding: 12px 0 0; }
.bm-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bm-topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bm-top-link, .bm-top-pill, .bm-top-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  background: transparent; border: 1px solid transparent; cursor: pointer;
}
.bm-top-link svg, .bm-top-btn svg { width: 15px; height: 15px; }
.bm-top-link:hover { color: var(--text); }
.bm-top-pill { border-color: var(--border-light); color: var(--honey); }
.bm-top-pill:hover { background: rgba(255, 194, 26, .08); }
.bm-top-btn { background: var(--surface-solid); border-color: var(--border); color: var(--text); }
.bm-top-btn:hover { color: var(--honey); border-color: var(--border-light); }

/* ---------- header: play / logo / discord ---------- */
.bm-header { padding: 6px 0 22px; }
.bm-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.bm-logo { display: block; }
.bm-logo img { width: 230px; height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); transition: transform .2s ease; }
.bm-logo:hover img { transform: scale(1.03) rotate(-1deg); }
.bm-play, .bm-discord {
  display: flex; align-items: center; gap: 16px;
  padding: 8px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left;
}
.bm-play { justify-self: end; text-align: right; }
.bm-discord { justify-self: start; }
.bm-play-text, .bm-discord-text { display: flex; flex-direction: column; line-height: 1.25; }
.bm-play-text strong, .bm-discord-text strong { font-size: 22px; font-weight: 800; }
.bm-ip, .bm-discord-text span { color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bm-play-text small, .bm-discord-text small { color: var(--text-dim); font-size: 12px; }
.bm-round {
  position: relative; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
.bm-round svg { width: 26px; height: 26px; }
.bm-round-honey { background: linear-gradient(180deg, var(--honey-light), var(--honey-deep)); color: #2a1700; box-shadow: 0 5px 0 var(--honey-shadow); }
.bm-round-discord { background: linear-gradient(180deg, #7983f5, var(--discord)); color: #fff; box-shadow: 0 5px 0 #343c9c; }
.bm-play:hover .bm-round, .bm-discord:hover .bm-round { transform: translateY(-3px) scale(1.04); }
.bm-play:hover .bm-play-text strong, .bm-discord:hover .bm-discord-text strong { color: var(--honey); }
.bm-bubble {
  position: absolute; top: -6px; right: -8px;
  min-width: 26px; padding: 1px 6px; border-radius: 99px;
  background: var(--surface-2); border: 2px solid var(--honey);
  color: var(--honey-light); font-size: 11px; font-weight: 800; line-height: 1.5; text-align: center;
}
.bm-menu-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--border-light); border-radius: 10px;
  background: var(--surface-solid); color: var(--text); font-weight: 700; cursor: pointer;
}
.bm-menu-toggle svg { width: 20px; height: 20px; }

/* ---------- layout ---------- */
.bm-layout {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start;
}
.bm-main { display: grid; gap: 22px; min-width: 0; }
.bm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  backdrop-filter: blur(6px);
}
.bm-panel { padding: 30px 32px; }
.bm-narrow { max-width: 620px; width: 100%; margin: 0 auto; text-align: center; }

/* ---------- sidebar ---------- */
.bm-sidebar { display: grid; gap: 14px; }
.bm-side-label { display: block; text-align: center; color: var(--honey); font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bm-basket {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--honey-light), var(--honey) 50%, var(--honey-deep));
  color: #2a1700;
  box-shadow: 0 5px 0 var(--honey-shadow), 0 14px 30px rgba(0, 0, 0, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bm-basket:hover { color: #2a1700; transform: translateY(-2px); box-shadow: 0 7px 0 var(--honey-shadow), 0 14px 30px rgba(0, 0, 0, .3); }
.bm-basket img { width: 48px; height: 48px; border-radius: 8px; image-rendering: pixelated; box-shadow: 0 0 0 3px rgba(0, 0, 0, .15); }
.bm-basket-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.bm-basket-text strong { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-basket-text small { font-size: 12.5px; font-weight: 600; opacity: .75; }
.bm-basket-icon { width: 30px; height: 30px; flex: none; }

.bm-nav { padding: 10px; display: grid; gap: 2px; }
.bm-nav-link, .bm-group > button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--text); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
}
.bm-nav-link:hover, .bm-group > button:hover { background: rgba(255, 194, 26, .07); color: var(--text); }
.bm-nav-link.active { background: rgba(255, 194, 26, .12); color: var(--honey); }
.bm-nav-icon { width: 22px; text-align: center; font-size: 17px; flex: none; }
.bm-chevron { width: 16px; height: 16px; margin-left: auto; color: var(--text-dim); transition: transform .2s ease; }
.bm-group.open .bm-chevron { transform: rotate(180deg); }
.bm-group-items { display: none; padding: 2px 0 6px; }
.bm-group.open .bm-group-items { display: grid; }
.bm-nav-sub { display: block; padding: 7px 12px 7px 46px; border-radius: 8px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.bm-nav-sub:hover { color: var(--text); background: rgba(255, 194, 26, .05); }
.bm-nav-sub.active { color: var(--honey); background: rgba(255, 194, 26, .1); }
.bm-nav-divider { height: 1px; margin: 8px 6px; background: var(--border); }
.bm-nav-small { display: grid; gap: 2px; padding: 0 12px 6px; }
.bm-nav-small a { color: var(--text-dim); font-size: 13.5px; font-weight: 600; padding: 3px 0; }
.bm-nav-small a:hover { color: var(--honey); }

/* ---------- sidebar modules ---------- */
.bm-modules { display: grid; gap: 14px; }
.bm-module { padding: 18px; }
.bm-module-center { text-align: center; }
.bm-module-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--honey); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.bm-module-center .bm-module-title { justify-content: center; }
.bm-module .bm-input { margin-bottom: 10px; }
.bm-module-text { color: var(--text-muted); font-size: 14.5px; }
.bm-payments { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bm-payments li { display: flex; align-items: center; gap: 10px; }
.bm-payments img { width: 36px; height: 36px; border-radius: 7px; image-rendering: pixelated; }
.bm-payments span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bm-payments strong { font-size: 14px; }
.bm-payments small { color: var(--text-dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-top-avatar { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 12px; image-rendering: pixelated; box-shadow: 0 0 0 3px var(--honey); }
.bm-top-name { display: block; }
.bm-goal-text { margin-bottom: 8px; color: var(--text-muted); font-size: 14px; text-align: center; }
.bm-goal-text strong { color: var(--honey); }
.bm-goal { height: 14px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.bm-goal span { display: block; height: 100%; max-width: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--honey-deep), var(--honey-light)); }
.bm-goal.animate span { background-size: 30px 30px; background-image: linear-gradient(45deg, rgba(255, 255, 255, .25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, .25) 75%, transparent 75%), linear-gradient(90deg, var(--honey-deep), var(--honey-light)); animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 30px 0, 0 0; } }
.bm-status { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(0, 0, 0, .3); color: var(--text-muted); letter-spacing: 0; }
.js-card-alert:not(:empty) { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- main content ---------- */
.bm-title { margin-bottom: 4px; color: var(--honey); font-size: clamp(26px, 3.2vw, 34px); }
.bm-subtitle { margin-bottom: 20px; color: var(--text); font-weight: 700; font-size: 17px; }
.bm-section-title { margin-bottom: 18px; font-size: 22px; }
.bm-subhead { margin: 26px 0 12px; color: var(--honey); font-size: 17px; }
.bm-muted { color: var(--text-dim); font-size: 15px; }
.bm-content { color: var(--text-muted); }
.bm-content h2, .bm-content h3, .bm-content h4 { color: var(--text); }
.bm-content strong, .bm-content b { color: var(--text); }
.bm-content ul, .bm-content ol { padding-left: 22px; }
.bm-content li { margin-bottom: 4px; }
.bm-content img { height: auto; border-radius: 10px; }
.bm-content hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.bm-content table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 14.5px; }
.bm-content th, .bm-content td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.bm-content th { color: var(--honey); background: rgba(0, 0, 0, .2); }
.bm-content > :last-child { margin-bottom: 0; }
.bm-thanks strong { color: var(--honey); }
.bm-category-intro { margin: 10px 0 24px; }

.bm-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.bm-info-card {
  position: relative; padding: 26px 22px 18px;
  border: 2px solid var(--honey-deep); border-radius: var(--radius);
  background: rgba(255, 194, 26, .04); text-align: center;
}
.bm-info-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 3px 16px; border-radius: 99px;
  background: var(--honey); color: #2a1700; font-size: 13px; font-weight: 800; white-space: nowrap;
}
.bm-info-card p { margin-bottom: 10px; color: var(--text-muted); font-size: 14.5px; }
.bm-info-card a { font-weight: 700; font-size: 14.5px; }

.bm-important details { margin: 0; }
.bm-important summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.bm-important summary::-webkit-details-marker { display: none; }
.bm-important summary span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.bm-important summary strong { font-size: 17px; }
.bm-important summary small { color: var(--text-dim); font-size: 13px; }
.bm-info-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--honey); color: var(--honey); font-weight: 800; }
.bm-important ul { margin: 18px 0 0; padding-left: 22px; color: var(--text-muted); display: grid; gap: 8px; font-size: 15px; }
.bm-important li strong { color: var(--text); }

.bm-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.bm-category-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 14px 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(0, 0, 0, .18); color: var(--text); text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.bm-category-tile:hover { color: var(--text); border-color: var(--honey-deep); transform: translateY(-3px); }
.bm-category-tile small { color: var(--text-dim); font-size: 12.5px; }
.bm-hex {
  width: 56px; height: 64px; margin-bottom: 8px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(180deg, rgba(255, 194, 26, .3), rgba(255, 194, 26, .1)); font-size: 26px;
}

/* ---------- package cards ---------- */
.bm-packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; margin-top: 18px; }
.bm-package {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 20px 16px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 194, 26, .05), rgba(0, 0, 0, .2));
  text-align: center; transition: transform .15s ease, border-color .15s ease;
}
.bm-package:hover { transform: translateY(-4px); border-color: var(--honey-deep); }
.bm-package-img { display: grid; place-items: center; width: 100%; height: 150px; margin-bottom: 12px; }
.bm-package-img img { max-height: 150px; width: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45)); transition: transform .2s ease; }
.bm-package:hover .bm-package-img img { transform: scale(1.06) rotate(-2deg); }
.bm-placeholder { max-height: 110px !important; opacity: .9; }
.bm-package-cat { color: var(--text-dim); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bm-package-name { margin: 2px 0 6px; font-size: 19px; }
.bm-package-name a { color: var(--honey); }
.bm-package-name a:hover { color: var(--honey-light); }
.bm-price { display: flex; flex-direction: column; align-items: center; line-height: 1.2; margin-bottom: 14px; }
.bm-price del { color: var(--text-dim); font-size: 13px; }
.bm-price span, .bm-list-row .bm-price { font-size: 20px; font-weight: 800; color: var(--text); }
.bm-price small { font-size: .7em; color: var(--text-muted); }
.bm-package-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; justify-content: center; }
.bm-subscribe { margin-top: 10px; font-size: 13px; font-weight: 700; }

/* multi-buy: x1 on top, x3 / x5 side by side below */
.bm-multibuy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: auto; }
.bm-multibuy > :first-child { grid-column: 1 / -1; }
.bm-multibuy form { margin: 0; }
.bm-multibuy .bm-btn { gap: 6px; padding-left: 8px; padding-right: 8px; }
.bm-multibuy .bm-btn b { text-transform: none; }
.bm-multibuy .bm-btn span { font-weight: 800; }
.bm-save {
  padding: 1px 6px; border-radius: 99px; background: var(--green); color: #0f2410;
  font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: 0;
}
.bm-multibuy-details { grid-column: 1 / -1; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.bm-multibuy-details:hover { color: var(--honey); }
.bm-sale {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 3px 10px; border-radius: 99px; background: var(--red); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.bm-sale-inline { position: static; align-self: center; }

.bm-list { display: grid; gap: 10px; margin-top: 18px; }
.bm-list-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0, 0, 0, .18); color: var(--text);
}
.bm-list-row:hover { color: var(--text); border-color: var(--honey-deep); }
.bm-list-name { font-weight: 700; }
.bm-list-row .bm-price { flex-direction: row; gap: 8px; align-items: baseline; margin: 0; }

.bm-empty { display: grid; justify-items: center; gap: 6px; padding: 30px 0 10px; text-align: center; color: var(--text-muted); }
.bm-empty img { width: 120px; height: auto; animation: float 4s ease-in-out infinite; }

/* ---------- package page ---------- */
.bm-breadcrumbs { display: flex; gap: 8px; margin-bottom: 18px; color: var(--text-dim); font-size: 13.5px; }
.bm-breadcrumbs a { color: var(--text-muted); }
.bm-product { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.bm-product-head { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.bm-product-img { flex: none; width: 140px; height: 140px; display: grid; place-items: center; border-radius: var(--radius); background: radial-gradient(circle, rgba(255, 194, 26, .18), transparent 70%); }
.bm-product-img img { max-height: 130px; width: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45)); }
.bm-price-lg { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.bm-price-lg del { align-self: center; font-size: 16px; }
.bm-price-lg span { font-size: 28px; }
.bm-buy {
  position: sticky; top: 20px;
  padding: 24px; border: 2px solid var(--honey-deep); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 194, 26, .08), rgba(0, 0, 0, .25));
}
.bm-buy h2 { color: var(--honey); font-size: 20px; margin-bottom: 16px; }
.bm-buy-note { margin: 12px 0 0; color: var(--text-dim); font-size: 13px; text-align: center; }
.bm-pay-buttons { display: grid; gap: 12px; }

/* ---------- forms ---------- */
.bm-field { margin-bottom: 16px; text-align: left; }
.bm-field label, .bm-field-label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bm-input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .35); color: var(--text);
  font-family: var(--font); font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bm-input::placeholder { color: var(--text-dim); }
.bm-input:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(255, 194, 26, .2); }
.bm-input:disabled { opacity: .85; }
select.bm-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc21a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
select.bm-input option { background: var(--surface-solid); color: var(--text); }
.bm-who { display: flex; align-items: center; gap: 10px; }
.bm-who img { width: 32px; height: 32px; border-radius: 6px; image-rendering: pixelated; flex: none; }
.bm-change { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; }

/* ---------- basket ---------- */
.bm-basket-items { display: grid; gap: 10px; margin-top: 18px; }
.bm-basket-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 18px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0, 0, 0, .2);
}
.bm-basket-name { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.bm-basket-name small { color: var(--text-dim); font-size: 13px; }
.bm-qty-form { display: flex; gap: 6px; align-items: center; }
.bm-input-qty { width: 64px; padding: 8px 10px; text-align: center; }
.bm-qty-fixed { color: var(--text-muted); font-weight: 700; }
.bm-basket-sub { text-align: right; font-weight: 800; white-space: nowrap; }
.bm-basket-sub del { display: block; color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
.bm-basket-sub small { color: var(--text-muted); font-size: .75em; }
.bm-remove { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--text-dim); background: rgba(255, 90, 79, .08); }
.bm-remove:hover { color: #fff; background: var(--red); }
.bm-remove svg { width: 16px; height: 16px; }
.bm-basket-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.bm-coupon { display: flex; gap: 8px; }
.bm-coupon .bm-input { max-width: 260px; }
.bm-coupon-active { margin: 10px 0 0; color: var(--text-muted); font-size: 14px; }
.bm-coupon-active strong { color: var(--green); }
.bm-total { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.bm-total span { color: var(--text-dim); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bm-total strong { font-size: 30px; color: var(--honey); }
.bm-total small { font-size: .55em; color: var(--text-muted); }

.bm-checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.bm-gateways { display: grid; gap: 10px; }
.bm-gateway { position: relative; display: block; cursor: pointer; }
.bm-gateway input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bm-gateway span {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 2px solid var(--border-light); border-radius: 12px;
  background: rgba(0, 0, 0, .25); font-weight: 700; transition: border-color .15s ease, background .15s ease;
}
.bm-gateway span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--text-dim); transition: all .15s ease; }
.bm-gateway:hover span { border-color: var(--honey-deep); }
.bm-gateway input:checked + span, .bm-gateway.selected span { border-color: var(--honey); background: rgba(255, 194, 26, .1); }
.bm-gateway input:checked + span::before { border-color: var(--honey); background: var(--honey); box-shadow: inset 0 0 0 3px #2a1700; }
.bm-gateway input:focus-visible + span { outline: 3px solid var(--honey-light); outline-offset: 2px; }
/* payment options shown as logos only: the whole tile is the button, the gold border shows the choice */
.bm-gateway-logos span { flex-wrap: wrap; gap: 8px; padding: 12px; }
.bm-gateway-logos span::before { display: none; }
.bm-pay-logo { width: 56px; height: 40px; padding: 3px; border-radius: 7px; background: #fff; object-fit: contain; box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.bm-gateway-logos input:checked + span { box-shadow: 0 0 0 3px rgba(255, 194, 26, .25); }
.bm-agree { display: grid; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.bm-check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 14px; cursor: pointer; }
.bm-check input { flex: none; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--honey); }
.bm-checkout-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.bm-alert-inline { margin: 0; color: var(--text-muted); }

/* ---------- alerts, results ---------- */
.bm-alert { padding: 16px 20px; border: 1px solid rgba(255, 90, 79, .5); border-radius: var(--radius); background: rgba(255, 90, 79, .1); color: var(--text); }
.bm-alert strong { color: var(--red); }
.bm-alert ul { margin: 6px 0 0; padding-left: 20px; color: var(--text-muted); }
.bm-hero-bee { width: 110px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .45)); animation: float 4s ease-in-out infinite; }
.bm-sad { filter: grayscale(.6) drop-shadow(0 12px 20px rgba(0, 0, 0, .45)); transform: rotate(-8deg); animation: none; }
.bm-result-badge { display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 99px; font-size: 13px; font-weight: 800; }
.bm-ok { background: rgba(95, 208, 104, .15); color: var(--green); }
.bm-bad { background: rgba(255, 90, 79, .15); color: var(--red); }
.bm-result p { color: var(--text-muted); }
.bm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.bm-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 50;
  padding: 13px 20px; border: 1px solid var(--honey-deep); border-radius: 12px;
  background: #241a0c; color: var(--text); font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.bm-toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- footer ---------- */
.bm-footer { margin-top: 50px; padding: 36px 0 30px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); text-align: center; }
.bm-footer-inner { display: grid; justify-items: center; gap: 12px; }
.bm-footer-logo img { height: 46px; width: auto; }
.bm-footer p { margin: 0; color: var(--text-dim); font-size: 13.5px; }
.bm-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.bm-footer-links a { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.bm-footer-links a:hover { color: var(--honey); }
.bm-branding a { color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bm-product { grid-template-columns: 1fr; }
  .bm-buy { position: static; }
}
@media (max-width: 980px) {
  .bm-header-inner { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .bm-logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .bm-logo img { width: 190px; }
  .bm-play { justify-self: stretch; justify-content: flex-end; }
  .bm-menu-toggle { display: inline-flex; grid-column: 1 / -1; justify-self: center; }
  .bm-layout { grid-template-columns: 1fr; }
  .bm-sidebar { display: none; }
  .bm-sidebar.open { display: grid; }
}
@media (max-width: 640px) {
  .bm-wrap, .bm-layout { padding: 0 14px; }
  .bm-topbar-inner { flex-wrap: wrap; justify-content: center; }
  .bm-top-pill { display: none; }
  .bm-header-inner { grid-template-columns: 1fr; }
  .bm-play, .bm-discord { justify-self: center; justify-content: center; }
  .bm-play-text strong, .bm-discord-text strong { font-size: 18px; }
  .bm-round { width: 48px; height: 48px; }
  .bm-panel { padding: 22px 18px; }
  .bm-info-cards, .bm-checkout-grid { grid-template-columns: 1fr; }
  .bm-info-cards { gap: 26px; }
  .bm-packages { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 12px; }
  .bm-package { padding: 16px 10px 12px; }
  .bm-package-actions .bm-btn { width: 100%; }
  .bm-multibuy { grid-template-columns: 1fr; }
  .bm-package-img { height: 110px; }
  .bm-package-img img { max-height: 110px; }
  .bm-basket-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bm-basket-qty { grid-column: 1; grid-row: 2; }
  .bm-basket-sub { grid-column: 2; grid-row: 1; }
  .bm-remove { grid-column: 2; grid-row: 2; justify-self: end; }
  .bm-product-head { flex-direction: column; text-align: center; }
  .bm-price-lg { justify-content: center; }
  .bm-coupon { width: 100%; }
  .bm-coupon .bm-input { max-width: none; }
  .bm-total { align-items: flex-start; }
  .bm-checkout-footer .bm-btn { width: 100%; }
  .bm-bee { display: none; }
}
