/* Mobile catalog — store titles with category sections */

.mobile-page .hero {
  margin-bottom: 1.1rem;
}

.mobile-kicker {
  display: inline-block;
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.mobile-jump {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: baseline;
}

.mobile-jump-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mobile-jump a {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-deep);
}

.mobile-jump a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mobile-category {
  width: min(100% - 2rem, var(--max-wide));
  margin: 0 auto 2.25rem;
  scroll-margin-top: 5rem;
}

.mobile-category h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.mobile-category-lede {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 36rem;
}

.mobile-empty {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.mobile-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: none;
  box-shadow:
    0 2px 6px rgba(20, 33, 43, 0.05),
    0 12px 28px rgba(20, 33, 43, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.mobile-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 4px 10px rgba(20, 33, 43, 0.06),
    0 18px 36px rgba(15, 122, 106, 0.14);
}

.mobile-card:focus-visible {
  outline: 3px solid rgba(15, 122, 106, 0.4);
  outline-offset: 3px;
}

.mobile-preview {
  position: relative;
  height: 108px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 33, 43, 0.06);
  background: linear-gradient(145deg, #1a1430 0%, #3d2a6b 48%, #f0a202 140%);
}

.preview-slam .slam-marks {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.preview-slam .mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  animation: slam-bob 1.8s ease-in-out infinite;
}

.preview-slam .mark:nth-child(2) {
  animation-delay: 0.22s;
  color: #ffe08a;
}

@keyframes slam-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.preview-pixel {
  background: linear-gradient(160deg, #0f1a14 0%, #1e3d2f 42%, #c4a35a 130%);
}

.preview-pixel .pixel-tower {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.preview-pixel .floor {
  display: block;
  height: 10px;
  border-radius: 2px;
  background: #7ec8a3;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  animation: pixel-climb 2.2s ease-in-out infinite;
}

.preview-pixel .floor:nth-child(1) {
  width: 22px;
  animation-delay: 0s;
}

.preview-pixel .floor:nth-child(2) {
  width: 34px;
  background: #5aaf8a;
  animation-delay: 0.15s;
}

.preview-pixel .floor:nth-child(3) {
  width: 46px;
  background: #3d8f6e;
  animation-delay: 0.3s;
}

.preview-pixel .floor:nth-child(4) {
  width: 58px;
  background: #2a6b52;
  animation-delay: 0.45s;
}

@keyframes pixel-climb {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.mobile-card-body {
  padding: 1.05rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.mobile-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.mobile-card .meta {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* Product detail */
.mobile-product {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.mobile-product .breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.mobile-product .breadcrumb a {
  text-decoration: none;
  font-weight: 600;
}

.mobile-product .breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.mobile-product-hero {
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.mobile-product-art {
  height: 140px;
  margin: -1.5rem -1.4rem 1.25rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1a1430 0%, #3d2a6b 48%, #f0a202 140%);
}

.mobile-product-art.preview-pixel {
  background: linear-gradient(160deg, #0f1a14 0%, #1e3d2f 42%, #c4a35a 130%);
}

.mobile-product-art .mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.mobile-product-art .mark + .mark {
  margin-left: 0.55rem;
  color: #ffe08a;
}

.mobile-product-art .pixel-tower .floor {
  height: 12px;
}

.mobile-product h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  margin: 0 0 0.55rem;
}

.mobile-product .product-lede {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.mobile-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.mobile-cta-row .btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mobile-facts {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.mobile-facts strong {
  color: var(--ink);
  font-weight: 700;
}

.mobile-facts code {
  font-size: 0.88em;
  background: rgba(15, 122, 106, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}
