/* Moxel merch (moxel.gg/merch, merch.js). The mockups come on white, so each sits on a light tile (multiplied, so the
   white reads as the tile) inside the same black pixel frame as the buttons. */
.mx-head { padding-bottom: clamp(20px, 3vw, 32px); }
.mx-head .lede { max-width: 54ch; }
.mx-shop { padding-bottom: clamp(64px, 9vw, 112px); }

/* coming soon: a quiet strip under the hero, berry orange like the site's other "soon" marks */
.banner.mx-soon { background: rgba(255, 180, 58, 0.07); border-color: rgba(255, 180, 58, 0.35); margin-bottom: clamp(24px, 3vw, 36px); flex-wrap: wrap; }
.mx-soon > div { flex: 1 1 260px; }
.mx-soon strong { color: var(--berry); }
.mx-soon .dim { display: block; font-size: 15px; }
.mx-soon-mark { flex: none; width: 12px; height: 12px; background: var(--berry); box-shadow: 4px 4px 0 rgba(255, 180, 58, 0.3); align-self: flex-start; margin-top: 6px; }
.mx-notify { flex: none; }

.mx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.mx-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); background: var(--bg-1); padding: clamp(14px, 1.8vw, 20px); }

.mx-pic { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #e9ecec; box-shadow: 0 0 0 2px #020303, 0 3px 0 2px rgba(0, 0, 0, 0.9); overflow: hidden; }
button.mx-pic { cursor: var(--cur-pointer, pointer); }
.mx-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 300ms var(--ease); }
button.mx-pic:hover img { transform: scale(1.025); }
.mx-count { position: absolute; right: 10px; bottom: 10px; font: 500 14px/1 var(--font-body); color: #e9ecec; background: rgba(5, 6, 6, 0.82); padding: 6px 8px 5px; }

.mx-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mx-thumb { width: 64px; height: 64px; padding: 0; border: 0; background: #e9ecec; cursor: var(--cur-pointer, pointer); box-shadow: 0 0 0 2px #020303; opacity: 0.7; transition: opacity 120ms, box-shadow 120ms; }
.mx-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mx-thumb:hover { opacity: 1; }
.mx-thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px #020303, 0 0 0 4px var(--amber); }

.mx-info { display: flex; flex-direction: column; flex: 1; padding-top: clamp(18px, 2vw, 24px); }
.mx-info h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 8px; }
.mx-blurb { margin: 0 0 18px; }
.mx-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 22px; align-items: baseline; }
.mx-facts div { display: contents; }
.mx-facts dt { font: 500 15px/1.4 var(--font-body); color: var(--text-faint); }
.mx-facts dd { margin: 0; color: var(--text); }
.mx-price b { font: 600 26px/1 var(--font-body); color: var(--text); }
.mx-extra { margin-left: 8px; font-size: 14px; color: var(--text-dim); }
.mx-buy { margin-top: auto; align-self: flex-start; }
/* still readable while it waits: disabled buttons are half-faded site-wide */
.btn.mx-buy-soon:disabled { opacity: 1; --bg: #1a1d1d; --hi: #2c3232; --lo: var(--bg-1); --ink: var(--text-dim); }
.mx-note { margin: 22px 0 0; font-size: 14px; }

/* the placeholders while the data loads */
.mx-ghost .mx-pic { background: var(--surface); box-shadow: none; }
.mx-ghost .skeleton { width: 60%; height: 28px; }

@media (max-width: 760px) {
  .mx-grid { grid-template-columns: 1fr; }
  .mx-thumb { width: 56px; height: 56px; }
  .mx-buy { align-self: stretch; }
  .mx-notify { width: 100%; }
}
