/*
Theme Name: Astra Child
Template: astra
Version: 1.0.8

Table of contents (grep for section banners):
  1. Reset
  2. Design tokens + Astra palette bridge + html/body
  3. Type & section utilities (.migma-*)
  4. Buttons, footer form, category stamps (.cat-v2 / .cat-v3 / .sub-*)
  5. Landing layout (body.migma-landing …)
     — `.migma-landing-hero-surface` = shared hero photo; below that, white page
  5a. Latest Drops product grid (.ig-grid … .ig-badge) — see banner in file
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap");

/* ── Reset (mockup baseline) ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════
   Migma mockup v3 — design tokens (foundation)
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --black: #0a0a0a;
  --yellow: #ffe600;
  --white: #ffffff;
  --off: #f5f5f3;
  --mid: #999;
  --border: #ebebeb;

  /* Neutrals used across mockup */
  --gray-850: #0f0f0f;
  --gray-800: #1a1a1a;
  --gray-750: #1e1e1e;
  --gray-700: #222;
  --gray-600: #2a2a2a;
  --gray-550: #333;
  --gray-500: #444;
  --gray-450: #3a3a3a;
  --gray-400: #888;
  --gray-350: #aaa;
  --gray-300: #bbb;
  --gray-250: #ccc;
  --gray-200: #ddd;
  --gray-150: #e0e0e0;
  --gray-125: #d0d0d0;
  --gray-105: #e8e8e8;
  --gray-100: #f7f7f5;
  --line-dark: #111;

  /* Alpha / overlays */
  --white-40: rgba(255, 255, 255, 0.4);
  --white-50: rgba(255, 255, 255, 0.5);
  --black-04: rgba(0, 0, 0, 0.04);
  --black-06: rgba(0, 0, 0, 0.06);
  --black-30: rgba(0, 0, 0, 0.3);
  --black-40: rgba(0, 0, 0, 0.4);
  --black-45: rgba(0, 0, 0, 0.45);
  --black-55: rgba(0, 0, 0, 0.55);
  --overlay-dark-88: rgba(10, 10, 10, 0.88);

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  --fs-9: 9px;
  --fs-10: 10px;
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-17: 17px;
  --fs-22: 22px;
  --fs-32: 32px;

  --letter-tight-4: -4px;
  --letter-tight-3: -3px;
  --letter-tight-2: -2px;
  --letter-tight-1: -1px;
  --letter-label: 3px;
  --letter-ui: 1px;
  --letter-ui-sm: 0.8px;
  --letter-cat-name: 1.5px;
  --letter-cv3: 0.3px;
  --letter-cv3-num: 0.5px;
  --letter-sub-name: 0.5px;

  --lh-tight: 0.92;
  --lh-hero-b-strong: 0.9;
  --lh-snug: 1.05;
  --lh-body: 1.5;
  --lh-body-loose: 1.7;

  /* Spacing (values from mockup) */
  --space-2: 2px;
  --space-3: 3px;
  --space-link-pb: 1px;
  --space-5: 5px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-11: 11px;
  --space-12: 12px;
  --space-13: 13px;
  --space-14: 14px;
  --space-16: 16px;
  --space-17: 17px;
  --space-18: 18px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-60: 60px;
  --space-72: 72px;
  --space-80: 80px;
  --space-100: 100px;
  --space-120: 120px;
  --space-140: 140px;

  --section-pad-x: var(--space-48);
  --section-pad-x-sm: var(--space-24);
  --section-block: var(--space-72);
  --section-block-sm: var(--space-56);
  --header-pad-y: var(--space-20);
  --header-pad-x: var(--space-48);
  --header-pad-x-sm: var(--space-24);
  --gap-nav: var(--space-32);
  --gap-actions: var(--space-10);
  --gap-cat-v2: 12px;
  --gap-cv3: var(--space-14);
  --gap-seller: 60px;

  /* Radii */
  --radius-stamp-pad: 2px;
  --radius-ink-dot: 50%;

  /* Borders */
  --border-width: 1px;
  --border-width-md: 1.5px;
  --border-width-lg: 2px;
  --border-accent: var(--space-2);

  /* Shadows (sticker / stamp) */
  --shadow-cat-v2: 3px 3px 0 var(--black);
  --shadow-cat-v2-hover: 5px 5px 0 var(--black);
  --shadow-cat-v2-active: 1px 1px 0 var(--black);
  --shadow-stamp-rest: 0 4px 0 var(--gray-150);
  --shadow-stamp-hover: 0 10px 0 var(--gray-125);
  --shadow-stamp-active: 0 1px 0 var(--gray-250);
  --shadow-stamp-on: 3px 3px 0 var(--black);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out-back: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-instant: 0s;
  --dur-press: 0.06s;
  --dur-fast: 0.12s;
  --dur-base: 0.15s;
  --dur-ui: 0.18s;
  --dur-standard: 0.2s;
  --dur-smooth: 0.22s;
  --dur-ink: 0.22s;
  --dur-sub-open: 0.5s;
  /* Subcategory pills: unfold/fold together (no stagger). */
  --dur-sub-item-fold: 0.55s;

  /* Layout */
  --z-stamp-pad: 2;
  --z-stamp-ink: 1;
  --z-stamp-body: 3;

  /* ── Astra bridge: map Migma tokens onto Astra global CSS variables ──
     Parent theme outputs --ast-global-color-0 … 8 (Customizer → Design → Global Colors).
     This child theme loads after `astra-theme-css`, so these assignments override
     the inline palette while keeping Migma as the single source (via var(...) chains).

     Slot semantics follow common Astra usage:
     · 0 — primary accent, links, primary buttons
     · 1 — secondary / link hover / emphasis
     · 2 — headings
     · 3 — body text
     · 4 — soft background (sections, stripes)
     · 5 — primary surface / “paper”
     · 6 — tertiary / alternate surface
     · 7 — muted text / borders emphasis
     · 8 — strong contrast / footer dark */
  --ast-global-color-0: var(--yellow);
  --ast-global-color-1: var(--black);
  --ast-global-color-2: var(--black);
  --ast-global-color-3: var(--black);
  --ast-global-color-4: var(--off);
  --ast-global-color-5: var(--white);
  --ast-global-color-6: var(--gray-100);
  --ast-global-color-7: var(--mid);
  --ast-global-color-8: var(--black);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--ast-global-color-5);
  overflow-x: hidden;
  color: var(--ast-global-color-3);
}

/* ═══════════════════════════════════════════════════════════════════
   Utility: type scale (composable; prefix avoids clashes with blocks)
   ═══════════════════════════════════════════════════════════════════ */

.migma-font-sans {
  font-family: var(--font-sans);
}

.migma-font-display {
  font-family: var(--font-display);
}

.migma-fw-regular {
  font-weight: var(--fw-regular);
}
.migma-fw-medium {
  font-weight: var(--fw-medium);
}
.migma-fw-semibold {
  font-weight: var(--fw-semibold);
}
.migma-fw-bold {
  font-weight: var(--fw-bold);
}
.migma-fw-extrabold {
  font-weight: var(--fw-extrabold);
}
.migma-fw-black {
  font-weight: var(--fw-black);
}

.migma-fs-9 {
  font-size: var(--fs-9);
}
.migma-fs-10 {
  font-size: var(--fs-10);
}
.migma-fs-11 {
  font-size: var(--fs-11);
}
.migma-fs-12 {
  font-size: var(--fs-12);
}
.migma-fs-13 {
  font-size: var(--fs-13);
}
.migma-fs-14 {
  font-size: var(--fs-14);
}
.migma-fs-15 {
  font-size: var(--fs-15);
}
.migma-fs-16 {
  font-size: var(--fs-16);
}
.migma-fs-17 {
  font-size: var(--fs-17);
}
.migma-fs-22 {
  font-size: var(--fs-22);
}
.migma-fs-32 {
  font-size: var(--fs-32);
}

.migma-lh-tight {
  line-height: var(--lh-tight);
}
.migma-lh-hero-strong {
  line-height: var(--lh-hero-b-strong);
}
.migma-lh-snug {
  line-height: var(--lh-snug);
}
.migma-lh-body {
  line-height: var(--lh-body);
}
.migma-lh-body-loose {
  line-height: var(--lh-body-loose);
}

.migma-track-tight-4 {
  letter-spacing: var(--letter-tight-4);
}
.migma-track-tight-3 {
  letter-spacing: var(--letter-tight-3);
}
.migma-track-tight-2 {
  letter-spacing: var(--letter-tight-2);
}
.migma-track-tight-1 {
  letter-spacing: var(--letter-tight-1);
}
.migma-track-label {
  letter-spacing: var(--letter-label);
}
.migma-track-ui {
  letter-spacing: var(--letter-ui);
}
.migma-track-ui-sm {
  letter-spacing: var(--letter-ui-sm);
}

.migma-type-label {
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-label);
  text-transform: uppercase;
}

.migma-type-label-bold {
  font-size: var(--fs-11);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-label);
  text-transform: uppercase;
}

.migma-type-ui {
  font-size: var(--fs-12);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
}

.migma-type-body {
  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body-loose);
}

.migma-type-body-lg {
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body-loose);
}

/* Fluid display sizes from mockup heroes (optional pairing with .migma-font-display / colors) */
.migma-text-hero-display {
  font-size: clamp(60px, 8.5vw, 112px);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--letter-tight-4);
}

.migma-text-editorial-display {
  font-size: clamp(44px, 5vw, 72px);
  line-height: var(--lh-snug);
  letter-spacing: var(--letter-tight-1);
}

.migma-text-editorial-bold {
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: var(--fw-black);
  line-height: var(--lh-hero-b-strong);
  letter-spacing: var(--letter-tight-3);
}

.migma-text-section-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: var(--letter-tight-2);
}

.migma-muted {
  color: var(--ast-global-color-7);
}

.migma-text-accent {
  color: var(--ast-global-color-0);
}

/* ═══════════════════════════════════════════════════════════════════
   Utility: section padding (horizontal + vertical rhythm from mockup)
   ═══════════════════════════════════════════════════════════════════ */

.migma-section {
  padding-top: var(--section-block);
  padding-bottom: var(--section-block);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.migma-section--sm {
  padding-top: var(--section-block-sm);
  padding-bottom: var(--section-block-sm);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.migma-section--compact-y {
  padding-top: var(--space-56);
  padding-bottom: var(--space-56);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.migma-section--tight-y {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

/* Narrower gutters (matches mockup @media ~900px) */
.migma-section--mobile-gutter {
  padding-left: var(--section-pad-x-sm);
  padding-right: var(--section-pad-x-sm);
}

/* Horizontal only */
.migma-section--x {
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.migma-section--x-sm {
  padding-left: var(--section-pad-x-sm);
  padding-right: var(--section-pad-x-sm);
}

/* Vertical only */
.migma-section--y {
  padding-top: var(--section-block);
  padding-bottom: var(--section-block);
}

.migma-section--y-sm {
  padding-top: var(--section-block-sm);
  padding-bottom: var(--section-block-sm);
}

/* Seller / hero-scale vertical padding */
.migma-section--y-seller {
  padding-top: var(--space-100);
  padding-bottom: var(--space-100);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.migma-section--y-hero {
  padding-top: var(--space-140);
  padding-bottom: var(--space-80);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

/* ═══════════════════════════════════════════════════════════════════
   Buttons — header / hero / CTA
   ═══════════════════════════════════════════════════════════════════ */

.btn-sell {
  font-size: var(--fs-12);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: var(--space-10) var(--space-22);
  text-decoration: none;
  transition: background var(--dur-standard);
}

.btn-sell:hover {
  background: var(--white);
}

.btn-buy {
  font-size: var(--fs-13);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  padding: var(--space-18) var(--space-40);
  text-decoration: none;
  transition: all var(--dur-standard);
  background: var(--yellow);
  color: var(--black);
  border: var(--border-width-lg) solid var(--yellow);
}

.btn-buy:hover {
  background: var(--black);
  color: var(--yellow);
}

.btn-ghost {
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  padding: var(--space-18) var(--space-40);
  text-decoration: none;
  transition: all var(--dur-standard);
  background: transparent;
  color: var(--white-40);
  border: var(--border-width-lg) solid var(--gray-750);
}

.btn-ghost:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* Editorial (light section) */
.btn-b-primary {
  font-size: var(--fs-13);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  padding: var(--space-17) var(--space-36);
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  border: var(--border-width-lg) solid var(--yellow);
  transition: all var(--dur-standard);
}

.btn-b-primary:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

.btn-b-ghost {
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  padding: var(--space-17) var(--space-36);
  background: transparent;
  color: var(--black);
  text-decoration: none;
  border: var(--border-width-lg) solid var(--gray-125);
  transition: all var(--dur-standard);
}

.btn-b-ghost:hover {
  border-color: var(--black);
}

/* Seller strip */
.btn-seller {
  font-size: var(--fs-13);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  padding: var(--space-18) var(--space-40);
  background: var(--black);
  color: var(--yellow);
  text-decoration: none;
  transition: background var(--dur-standard);
  display: inline-block;
}

.btn-seller:hover {
  background: var(--gray-800);
}

/* Footer newsletter */
.footer-btn {
  font-size: var(--fs-11);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: var(--space-13) var(--space-18);
  cursor: pointer;
  font-family: var(--font-sans);
}

.footer-btn:hover {
  background: var(--white);
}

.footer-input {
  width: 260px;
  background: var(--gray-850);
  border: var(--border-width) solid var(--gray-800);
  border-right: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-13);
  padding: var(--space-13) var(--space-16);
  outline: none;
}

.footer-input::placeholder {
  color: var(--gray-550);
}

.footer-input:focus {
  border-color: var(--yellow);
}

/* ═══════════════════════════════════════════════════════════════════
   Category controls — sticker pills (v2)
   ═══════════════════════════════════════════════════════════════════ */

.cat-v2 {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  font-size: var(--fs-14);
  font-weight: var(--fw-extrabold);
  letter-spacing: 0;
  color: var(--black);
  text-decoration: none;
  padding: var(--space-14) var(--space-22);
  background: var(--white);
  border: var(--border-width-lg) solid var(--black);
  transition: all var(--dur-ui);
  user-select: none;
  box-shadow: var(--shadow-cat-v2);
}

.cat-v2:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-cat-v2-hover);
}

.cat-v2:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-cat-v2-active);
}

.cat-v2.on {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-cat-v2-hover);
}

.cat-v2 em {
  font-style: normal;
  font-size: var(--fs-11);
  font-weight: var(--fw-bold);
  color: var(--gray-350);
  background: var(--off);
  padding: var(--space-3) var(--space-8);
  transition: all var(--dur-ui);
  letter-spacing: var(--letter-cv3);
}

.cat-v2:hover em {
  background: var(--yellow);
  color: var(--black);
}

.cat-v2.on em {
  background: var(--black);
  color: var(--yellow);
}

.cat-v2::before {
  content: attr(data-num);
  position: absolute;
  top: -9px;
  left: var(--space-8);
  font-size: var(--fs-9);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  color: var(--white);
  background: var(--black);
  padding: var(--space-link-pb) var(--space-5);
}

.cat-v2.on::before {
  background: var(--black);
  color: var(--yellow);
}

/* ═══════════════════════════════════════════════════════════════════
   Category controls — stamp buttons (v3)
   ═══════════════════════════════════════════════════════════════════ */

.cv3-label {
  font-size: var(--fs-10);
  font-weight: var(--fw-bold);
  letter-spacing: var(--letter-label);
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: var(--space-40);
}

.cv3-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-cv3);
  align-items: flex-start;
}

.cat-v3 {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  background: transparent;
  border: none;
  padding: 0;
  perspective: 400px;
}

.stamp-pad {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: var(--space-8);
  background: var(--gray-200);
  border-radius: var(--radius-stamp-pad) var(--radius-stamp-pad) 0 0;
  transition: all var(--dur-fast);
  z-index: var(--z-stamp-pad);
}

.cat-v3:hover .stamp-pad {
  background: var(--black);
  top: -6px;
}

.cat-v3.on .stamp-pad {
  background: var(--black);
  top: -6px;
}

.stamp-ink {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  clip-path: inset(50% 50% 50% 50%);
  transition: clip-path var(--dur-instant);
  z-index: var(--z-stamp-ink);
  pointer-events: none;
}

.stamp-body {
  position: relative;
  z-index: var(--z-stamp-body);
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-18) var(--space-28);
  border: var(--border-width-lg) solid var(--border);
  background: var(--white);
  transition:
    border-color var(--dur-base),
    transform var(--dur-fast),
    box-shadow var(--dur-fast);
  transform-origin: center bottom;
  box-shadow: var(--shadow-stamp-rest);
}

.cat-v3:hover .stamp-body {
  transform: translateY(-6px) rotateX(4deg);
  box-shadow: var(--shadow-stamp-hover);
  border-color: var(--gray-250);
}

.cat-v3:active .stamp-body {
  transform: translateY(2px) rotateX(-2deg);
  box-shadow: var(--shadow-stamp-active);
  transition:
    transform var(--dur-press),
    box-shadow var(--dur-press);
}

.cat-v3.on .stamp-body {
  border-color: var(--black);
  box-shadow: var(--shadow-stamp-on);
  background: var(--yellow);
  transform: translateY(0);
}

.cat-v3.stamping .stamp-ink {
  clip-path: inset(0% 0% 0% 0%);
  transition: clip-path var(--dur-ink) var(--ease-out-back);
}

.cat-v3.stamping .stamp-body {
  transform: translateY(2px);
  transition: transform var(--dur-press);
}

.cv3-text {
  font-size: var(--fs-14);
  font-weight: var(--fw-black);
  letter-spacing: var(--letter-cv3);
  color: var(--black);
  transition: color var(--dur-base);
  white-space: nowrap;
}

.cat-v3.on .cv3-text {
  color: var(--black);
}

.cv3-num {
  font-size: var(--fs-11);
  font-weight: var(--fw-extrabold);
  color: var(--gray-300);
  background: var(--off);
  padding: var(--space-3) var(--space-8);
  letter-spacing: var(--letter-cv3-num);
  transition: all var(--dur-base);
}

.cat-v3:hover .cv3-num {
  color: var(--black);
  background: var(--gray-105);
}

.cat-v3.on .cv3-num {
  background: var(--black);
  color: var(--yellow);
}

.cat-v3.on::before,
.cat-v3.on::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: var(--radius-ink-dot);
  background: var(--yellow);
  animation: migma-ink-dot 0.3s ease-out forwards;
  pointer-events: none;
}

.cat-v3.on::before {
  width: var(--space-6);
  height: var(--space-6);
  top: 10%;
  left: -4px;
  animation-delay: 0.05s;
}

.cat-v3.on::after {
  width: var(--space-3);
  height: var(--space-3);
  bottom: 15%;
  right: -3px;
  animation-delay: 0.1s;
}

@keyframes migma-ink-dot {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  60% {
    transform: scale(1.4);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

/* Subcategory row (below stamp) */
.cat-v3-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.cat-v3-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1.5px;
  height: 0;
  background: var(--black);
  transform: translateX(-50%);
  transition: height var(--dur-sub-open) var(--ease-out-expo);
  z-index: 0;
}

.cat-v3-wrap.has-subs::after {
  height: var(--space-14);
}

.sub-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: var(--space-14);
  /* Same duration/easing for open and close (avoid .open-only transition = instant collapse). */
  transition:
    max-height var(--dur-sub-open) var(--ease-out-expo),
    opacity 0.3s ease;
  position: relative;
}

.sub-row.open {
  max-height: 400px;
  opacity: 1;
}

.sub-item {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-11) var(--space-18);
  border: var(--border-width-md) solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--dur-ui);
  opacity: 0;
  transform: translateX(-10px) scaleY(0.8);
  transform-origin: top left;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.sub-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-100%);
  transition: transform 0.25s var(--ease-out-expo);
  z-index: 0;
}

.sub-item:hover::before {
  transform: translateX(0);
}

.sub-item.sub-on::before {
  transform: translateX(0);
  background: var(--yellow);
}

.sub-item-num {
  font-size: var(--fs-9);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-ui);
  color: var(--gray-200);
  min-width: var(--space-16);
  position: relative;
  z-index: 1;
  transition: color var(--dur-ui);
}

.sub-item:hover .sub-item-num {
  color: var(--gray-500);
}

.sub-item.sub-on .sub-item-num {
  color: var(--black-30);
}

.sub-item-name {
  font-size: var(--fs-12);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-sub-name);
  color: var(--black);
  position: relative;
  z-index: 1;
  transition: color var(--dur-ui);
}

.sub-item:hover .sub-item-name {
  color: var(--white);
}

.sub-item.sub-on .sub-item-name {
  color: var(--black);
}

.sub-row.open .sub-item {
  animation: migma-sub-fold var(--dur-sub-item-fold) var(--ease-out-back) forwards;
}

/* Fold-out: all items together (same duration as fold-in). */
.sub-row.open.is-closing .sub-item {
  animation: migma-sub-fold-out var(--dur-sub-item-fold) var(--ease-out-back) forwards;
}

@keyframes migma-sub-fold {
  0% {
    opacity: 0;
    transform: translateX(-12px) scaleY(0.7);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scaleY(1);
  }
}

@keyframes migma-sub-fold-out {
  0% {
    opacity: 1;
    transform: translateX(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-12px) scaleY(0.7);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Migma landing page (front-page.php) — layout from mockup v3
   Scoped to body.migma-landing so other templates stay on Astra.
   Mobile-first: default styles = small screens (≤768px). Desktop = min-width: 769px.
   Touch targets: interactive controls ≥44px (48px for full-width mobile search submit).
   ═══════════════════════════════════════════════════════════════════ */

body.migma-landing {
  margin: 0;
  background: var(--white);
  --migma-bp-desktop: 769px;

  /*
   * Hero image + scrim: `.migma-landing-hero-surface::before` (header + Independent Hands only).
   */
  --migma-landing-hero-image: url("assets/img/hero-independent-hands.webp");
  --migma-landing-hero-scrim: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.52) 42%,
    rgba(0, 0, 0, 0.75) 100%
  );
  --migma-landing-stack-content: 2;
  --migma-landing-stack-header: 100;
}

/* Shared photo tile behind header + Independent Hands (not below categories). */
body.migma-landing .migma-landing-hero-surface {
  position: relative;
  isolation: isolate;
}

body.migma-landing .migma-landing-hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--black);
  background-image: var(--migma-landing-hero-scrim), var(--migma-landing-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile: row1 nav + search (end-aligned, search right); row2 logo centered (former search row). */
body.migma-landing .migma-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: var(--space-28);
  padding-top: max(var(--space-16), env(safe-area-inset-top));
  padding-bottom: var(--space-16);
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(6px, env(safe-area-inset-right, 0px));
  background: transparent;
  z-index: var(--migma-landing-stack-header);
}

body.migma-landing .migma-header-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-12) var(--space-16);
  width: 100%;
  min-width: 0;
}

body.migma-landing .migma-header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--gap-nav);
  flex: 0 1 auto;
  min-width: 0;
}

body.migma-landing .migma-header-search {
  flex: 0 1 auto;
  width: 100%;
  max-width: min(480px, 100%);
  min-width: 0;
  margin-top: 0;
}

/* Spacer via ::before so parent-theme `a { margin: 0 }` cannot erase vertical offset. */
body.migma-landing .header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
  margin-left: 0;
  margin-top: 0;
  background: transparent;
  box-shadow: none;
}

body.migma-landing .header-logo::before {
  content: "";
  display: block;
  width: 100%;
  height: var(--space-40);
  flex-shrink: 0;
}

body.migma-landing .header-logo img,
body.migma-landing .header-logo-img {
  display: block;
  width: auto;
  height: clamp(102px, 29.3vw, 122px);
  max-width: none;
  object-fit: contain;
  object-position: center center;
  margin-left: 0;
  background: transparent;
  opacity: 0;
  animation: migma-sharp-in 2s ease forwards;
}

body.migma-landing .header-logo .migma-wordmark {
  opacity: 0;
  animation: migma-sharp-in 2s ease forwards;
}

body.migma-landing .migma-wordmark {
  font-size: clamp(27px, 7.22vw, 2.15rem);
  font-weight: var(--fw-black);
  letter-spacing: var(--letter-tight-1);
  color: var(--yellow);
}

body.migma-landing .migma-nav {
  display: none;
}

body.migma-landing .migma-nav a {
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  color: var(--gray-500);
  text-decoration: none;
  letter-spacing: var(--letter-ui-sm);
  text-transform: uppercase;
  transition: color var(--dur-standard);
}

body.migma-landing .migma-nav a:hover {
  color: var(--white);
}

body.migma-landing .migma-lang {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

body.migma-landing .migma-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 2px;
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-ui-sm);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-350);
  transition: color var(--dur-standard), background var(--dur-standard);
}

body.migma-landing .migma-lang__btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

body.migma-landing .migma-lang__icon {
  display: flex;
  color: var(--gray-400);
}

body.migma-landing .migma-lang__btn:hover .migma-lang__icon {
  color: var(--yellow);
}

body.migma-landing .migma-lang__abbr {
  min-width: 1.25rem;
  text-align: center;
}

@media (min-width: 769px) {
  body.migma-landing .migma-header {
    row-gap: var(--space-48);
    padding-top: var(--header-pad-y);
    padding-bottom: var(--header-pad-y);
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: var(--header-pad-x);
  }

  body.migma-landing .migma-header-topbar {
    column-gap: var(--space-24);
  }

  body.migma-landing .migma-header-search {
    max-width: min(480px, 42vw);
  }

  body.migma-landing .header-logo::before {
    height: var(--space-48);
  }

  body.migma-landing .header-logo img,
  body.migma-landing .header-logo-img {
    height: clamp(96px, 12.9vw, 127px);
    margin-left: 0;
  }

  body.migma-landing .migma-wordmark {
    font-size: clamp(29px, 5.86vw, 2.36rem);
  }

  body.migma-landing .migma-nav {
    display: flex;
    gap: var(--gap-nav);
  }
}

body.migma-landing .hero-a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Height comes from padding + content; vh min-height did not shorten the block. */
  min-height: 0;
  background: transparent;
  padding: var(--space-40) var(--section-pad-x-sm) calc(var(--space-72) * 0.28);
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
}

body.migma-landing .hero-a::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(40vw, 400px);
  height: min(40vw, 400px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.07) 0%, transparent 68%);
  pointer-events: none;
  animation: migma-breathe 8s ease-in-out infinite;
}

@keyframes migma-breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
  }
}

body.migma-landing .hero-a-content {
  position: relative;
  z-index: var(--migma-landing-stack-content);
  max-width: 640px;
}

/* Header logo (and text fallback) — sharp-in blur; hero title lines are static */
@keyframes migma-sharp-in {
  from {
    opacity: 0;
    filter: blur(12px);
    letter-spacing: 8px;
  }
  to {
    opacity: 1;
    filter: blur(0);
    letter-spacing: var(--letter-tight-2);
  }
}

body.migma-landing .hero-a-title {
  font-size: calc(52px * 0.58);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--letter-tight-2);
  color: var(--yellow);
  margin-bottom: calc(var(--space-36) * 0.5);
}

body.migma-landing .hero-a-title-line {
  display: block;
  opacity: 1;
  filter: none;
}

body.migma-landing .hero-a-title-line--lead {
  letter-spacing: var(--letter-tight-2);
}

body.migma-landing .hero-a-title-line--emph {
  letter-spacing: var(--letter-tight-2);
}

body.migma-landing .hero-a-title em {
  display: block;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  color: var(--white);
  letter-spacing: var(--letter-tight-2);
}

@media (prefers-reduced-motion: reduce) {
  body.migma-landing .header-logo img,
  body.migma-landing .header-logo-img,
  body.migma-landing .header-logo .migma-wordmark {
    animation: none;
    opacity: 1;
    filter: none;
  }

  body.migma-landing .hero-a-title-line {
    opacity: 1;
    filter: none;
  }

  body.migma-landing .hero-a-title-line--lead {
    letter-spacing: inherit;
  }

  body.migma-landing .hero-a-title-line--emph {
    letter-spacing: var(--letter-tight-2);
  }
}

body.migma-landing .hero-a-sub {
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  color: var(--white-40);
  line-height: 1.45;
  max-width: 380px;
  margin-bottom: calc(var(--space-48) * 0.5);
}

body.migma-landing .hero-a-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: calc(var(--space-10) * 0.5);
}

body.migma-landing .hero-a-actions .btn-buy,
body.migma-landing .hero-a-actions .btn-ghost {
  box-sizing: border-box;
  min-height: 44px;
  padding: calc(var(--space-18) * 0.55) calc(var(--space-40) * 0.55);
  font-size: var(--fs-12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.migma-landing .categories-v3 {
  position: relative;
  z-index: var(--migma-landing-stack-content);
  background: var(--white);
  padding: var(--section-block-sm) var(--section-pad-x-sm) var(--space-28);
  border-top: var(--border-width) solid var(--border);
}

body.migma-landing .artists {
  background: var(--white);
  padding: var(--space-28) var(--section-pad-x-sm) 0;
}

body.migma-landing .migma-latest-drops {
  padding: var(--section-block-sm) var(--section-pad-x-sm);
  background: var(--white);
}

@media (min-width: 769px) {
  body.migma-landing .hero-a {
    padding: var(--space-48) var(--section-pad-x) calc(var(--space-80) * 0.28);
  }

  body.migma-landing .hero-a-title {
    font-size: clamp(34px, 4.9vw, 64px);
    letter-spacing: var(--letter-tight-4);
  }

  body.migma-landing .hero-a-title-line--lead {
    letter-spacing: var(--letter-tight-4);
  }

  body.migma-landing .hero-a-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  body.migma-landing .categories-v3 {
    padding: var(--section-block) var(--section-pad-x) var(--space-36);
  }

  body.migma-landing .artists {
    padding: var(--space-36) var(--section-pad-x) 0;
  }

  body.migma-landing .migma-latest-drops {
    padding: var(--section-block) var(--section-pad-x);
  }

  /* Latest Drops: wider gutters; --ig-min-col picks up new --ig-gap */
  body.migma-landing .migma-latest-drops .ig-grid {
    --ig-gap: var(--space-24);
    gap: var(--ig-gap) !important;
  }

  body.migma-landing .seller {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-100) var(--section-pad-x);
  }

  body.migma-landing .migma-footer {
    padding: var(--space-56) var(--section-pad-x) var(--space-36);
  }

  body.migma-landing .footer-row {
    flex-direction: row;
    align-items: center;
  }

  body.migma-landing .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-24);
  }

  /* Search: desktop refinements (top bar; bar height + input) */
  body.migma-landing .migma-header-search .migma-search-full {
    min-height: 44px;
    max-height: 44px;
    padding: 0 var(--space-2) 0 var(--space-10);
    column-gap: 0;
    overflow-x: visible;
  }

  body.migma-landing .migma-header-search .migma-search-icon {
    margin-right: var(--space-3);
  }

  body.migma-landing .migma-header-search input#migma-products-search.migma-search-full-input {
    min-width: 8rem !important;
    max-width: none !important;
    padding: var(--space-6) var(--space-8) !important;
    line-height: 1.3 !important;
  }

  body.migma-landing .migma-header-search button.migma-search-full-btn {
    flex: 0 0 auto !important;
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

body.migma-landing .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Header — product search: one horizontal row on all breakpoints (scroll if needed on narrow phones) */
body.migma-landing .migma-header-search .migma-search-light {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.migma-landing .migma-header-search .migma-search-full {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  min-height: 48px;
  max-height: 48px;
  width: 100% !important;
  padding: 0 var(--space-2) 0 var(--space-8);
  column-gap: var(--space-2);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  background: var(--white) !important;
  background-color: var(--white) !important;
  border: var(--border-width) solid var(--gray-200) !important;
  border-radius: 2px;
  box-sizing: border-box !important;
  transition:
    border-color var(--dur-standard),
    box-shadow var(--dur-standard);
}

body.migma-landing .migma-header-search .migma-search-full:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255, 230, 0, 0.35);
}

body.migma-landing .migma-header-search .migma-search-icon {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center;
  align-self: center;
  font-size: 18px;
  margin-right: var(--space-2);
  line-height: 1;
  color: var(--gray-500) !important;
  user-select: none;
  visibility: visible !important;
}

body.migma-landing .migma-header-search .migma-search-full:focus-within .migma-search-icon {
  color: var(--black);
}

body.migma-landing .migma-header-search input#migma-products-search.migma-search-full-input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: var(--space-4) var(--space-5) !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  font-weight: var(--fw-medium) !important;
  line-height: 1.25 !important;
  color: var(--black) !important;
  letter-spacing: var(--letter-tight-1) !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

body.migma-landing .migma-header-search input#migma-products-search.migma-search-full-input::placeholder {
  color: var(--gray-400) !important;
  opacity: 1 !important;
}

body.migma-landing .migma-header-search button.migma-search-full-btn {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px !important;
  height: auto;
  min-height: 48px;
  align-self: stretch;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: var(--yellow) !important;
  background-color: var(--yellow) !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1 !important;
  color: var(--black) !important;
  cursor: pointer;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition:
    background var(--dur-standard),
    color var(--dur-standard);
}

body.migma-landing .migma-header-search button.migma-search-full-btn:hover {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--black) !important;
}

body.migma-landing .migma-header-search button.migma-search-full-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 0;
}

body.migma-landing .section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-32);
}

body.migma-landing .section-label {
  font-size: var(--fs-11);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--letter-label);
  text-transform: uppercase;
}

body.migma-landing .section-link {
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  color: var(--mid);
  text-decoration: none;
  letter-spacing: var(--letter-ui);
  text-transform: uppercase;
  border-bottom: var(--border-width) solid var(--border);
  padding-bottom: var(--space-link-pb);
  transition: all var(--dur-standard);
}

body.migma-landing .section-link:hover {
  color: var(--black);
  border-color: var(--black);
}

body.migma-landing .artist-row {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
}

body.migma-landing .artist-row::-webkit-scrollbar {
  display: none;
}

body.migma-landing .artist-card {
  flex: 0 0 170px;
  padding: var(--space-22) var(--space-18);
  border: var(--border-width) solid var(--border);
  text-decoration: none;
  transition: border-color var(--dur-ui);
  background: var(--white);
}

body.migma-landing .artist-card:hover {
  border-color: var(--black);
}

body.migma-landing .artist-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--black);
  margin-bottom: var(--space-14);
}

body.migma-landing .artist-card-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.migma-landing .artist-card-name {
  font-size: var(--fs-13);
  font-weight: var(--fw-extrabold);
  color: var(--black);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

body.migma-landing .artist-card-handle {
  font-size: var(--fs-11);
  color: var(--mid);
  margin-bottom: var(--space-12);
}

body.migma-landing .artist-card-count {
  font-size: var(--fs-11);
  font-weight: var(--fw-bold);
  color: var(--black);
}

/* ═══════════════════════════════════════════════════════════════════
   Latest Drops — product grid (.ig-grid, .ig-tile, .ig-card, .ig-media, .ig-overlay,
   .ig-action-bar under card). Product tiles: hover lift + shadow + ::after floor
   glow; .ig-name / .ig-price reveal. Grid: fluid columns (max 4), see --ig-*.
   Markup: front-page.php + migma_landing_ig_card_actions().
   Script: assets/js/migma-home.js
   ═══════════════════════════════════════════════════════════════════ */

/* — Grid & card shell — */
body.migma-landing .migma-latest-drops .ig-grid {
  /* Tile motion + overlay */
  --ig-card-lift-dur: 0.45s;
  --ig-card-lift-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ig-meta-dur: 0.35s;
  --ig-meta-delay: 0.05s;

  /* Fluid grid: auto-fill + min track width; caps at --ig-cols-max columns */
  --ig-cols-max: 4;
  --ig-min-track: 9rem;
  --ig-gap: var(--space-12);
  --ig-min-col: max(
    var(--ig-min-track),
    calc(
      (100% - (var(--ig-cols-max) - 1) * var(--ig-gap)) / var(--ig-cols-max)
    )
  );

  /* Not the WooCommerce shop loop — wins over theme `.products` grid */
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ig-min-col)), 1fr)) !important;
  gap: var(--ig-gap);
  padding-bottom: var(--space-24);
}

/* Product row: square card + actions below (artist promos are bare .ig-card) */
body.migma-landing .migma-latest-drops .ig-grid > .ig-tile,
body.migma-landing .migma-latest-drops .ig-grid > .ig-card.artist-card-grid {
  align-self: start;
}

body.migma-landing .ig-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  min-width: 0;
  width: 100%;
}

body.migma-landing .ig-tile > .ig-card {
  width: 100%;
}

body.migma-landing .ig-card {
  aspect-ratio: 1/1;
  position: relative;
  cursor: pointer;
}

/* Product tiles: lift, shadow, floor glow, title/price reveal (not artist promos) */
body.migma-landing .ig-card:not(.artist-card-grid) {
  overflow: visible;
  isolation: isolate;
  background: #111;
  border: 1px solid #1a1a1a;
  box-shadow: 0 2px 0 #000;
  will-change: transform;
  transition:
    transform var(--ig-card-lift-dur) var(--ig-card-lift-ease),
    box-shadow var(--ig-card-lift-dur) var(--ig-card-lift-ease);
}

body.migma-landing .ig-card:not(.artist-card-grid)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  z-index: 0;
  width: 65%;
  height: 36px;
  transform: translateX(-50%) scale(0.88, 0.55);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 100% 100% at 50% 40%,
    rgba(255, 230, 0, 0.12) 0%,
    transparent 70%
  );
  filter: blur(16px);
  opacity: 0.85;
  pointer-events: none;
  transition:
    transform var(--ig-card-lift-dur) var(--ig-card-lift-ease),
    opacity var(--ig-card-lift-dur) var(--ig-card-lift-ease);
}

body.migma-landing .ig-card:not(.artist-card-grid):hover,
body.migma-landing .ig-card:not(.artist-card-grid):focus-within {
  z-index: 10;
  transform: translateY(-14px) scale(1.02);
  box-shadow:
    0 32px 48px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 230, 0, 0.25),
    0 16px 16px rgba(0, 0, 0, 0.4);
}

body.migma-landing .ig-card:not(.artist-card-grid):hover::after,
body.migma-landing .ig-card:not(.artist-card-grid):focus-within::after {
  transform: translateX(-50%) scale(1.12, 0.95);
  opacity: 1;
}

body.migma-landing .ig-card.artist-card-grid {
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-20);
}

/* — Media & image — */
body.migma-landing .ig-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

body.migma-landing .ig-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  background: var(--border);
}

body.migma-landing .ig-img.migma-ig-featured {
  object-position: center 38%;
}

body.migma-landing .ig-card:hover .ig-media .ig-img,
body.migma-landing .ig-card:focus-within .ig-media .ig-img {
  transform: scale(1.05);
}

/* — Overlay gradient + product meta (artist / title / price) — */
body.migma-landing .ig-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--space-16);
  padding-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    var(--overlay-dark-88) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--dur-smooth);
  pointer-events: none;
}

body.migma-landing .ig-overlay .ig-artist,
body.migma-landing .ig-overlay .ig-name,
body.migma-landing .ig-overlay .ig-price {
  pointer-events: auto;
}

/* Product cards: gradient + artist always; title & price slide up after lift */
body.migma-landing .ig-card:not(.artist-card-grid) .ig-overlay {
  opacity: 1;
  transition: none;
}

body.migma-landing .ig-card:not(.artist-card-grid) .ig-name,
body.migma-landing .ig-card:not(.artist-card-grid) .ig-price {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--ig-meta-dur) ease,
    transform var(--ig-meta-dur) ease;
  transition-delay: 0s;
}

body.migma-landing .ig-card:not(.artist-card-grid):hover .ig-name,
body.migma-landing .ig-card:not(.artist-card-grid):hover .ig-price,
body.migma-landing .ig-card:not(.artist-card-grid):focus-within .ig-name,
body.migma-landing .ig-card:not(.artist-card-grid):focus-within .ig-price {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--ig-meta-delay);
}

@media (hover: none) {
  body.migma-landing .ig-card .ig-overlay {
    opacity: 1;
  }

  body.migma-landing .ig-card:not(.artist-card-grid) .ig-name,
  body.migma-landing .ig-card:not(.artist-card-grid) .ig-price {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.migma-landing .ig-card:not(.artist-card-grid) {
    will-change: auto;
    transition: box-shadow 0.2s ease;
  }

  body.migma-landing .ig-card:not(.artist-card-grid):hover,
  body.migma-landing .ig-card:not(.artist-card-grid):focus-within {
    transform: none;
  }

  body.migma-landing .ig-card:not(.artist-card-grid)::after {
    transition: opacity 0.2s ease;
  }

  body.migma-landing .ig-card:not(.artist-card-grid):hover::after,
  body.migma-landing .ig-card:not(.artist-card-grid):focus-within::after {
    transform: translateX(-50%) scale(0.88, 0.55);
  }

  body.migma-landing .ig-card:not(.artist-card-grid) .ig-name,
  body.migma-landing .ig-card:not(.artist-card-grid) .ig-price {
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease;
  }

  body.migma-landing .ig-card:hover .ig-media .ig-img,
  body.migma-landing .ig-card:focus-within .ig-media .ig-img {
    transform: none;
  }
}

body.migma-landing .ig-artist {
  font-size: var(--fs-10);
  font-weight: var(--fw-bold);
  color: var(--white-50);
  margin-bottom: var(--space-3);
}

body.migma-landing .ig-name {
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--space-3);
}

body.migma-landing .ig-price {
  font-size: var(--fs-14);
  font-weight: var(--fw-black);
  color: var(--yellow);
}

/* — Heart | cart: below card, borderless transparent controls — */
body.migma-landing .ig-action-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  width: 100%;
  flex-shrink: 0;
}

body.migma-landing .ig-action-bar__half {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--black-55);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius: 0;
  box-shadow: none;
  transition:
    color 0.22s ease,
    opacity 0.22s ease;
}

body.migma-landing .migma-latest-drops .ig-action-bar__half:not(.is-active):hover {
  color: var(--black);
}

body.migma-landing .migma-latest-drops .ig-action-bar__half:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

body.migma-landing .ig-action-bar__half:hover .ig-action-bar__icon {
  transform: scale(1.12);
}

body.migma-landing .ig-action-bar__half--heart.is-active:hover .ig-action-bar__icon--heart {
  transform: none;
}

body.migma-landing .ig-action-bar__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

body.migma-landing .ig-action-bar__icon {
  display: block;
  transition: transform 0.2s ease, opacity 0.28s ease, color 0.22s ease;
}

body.migma-landing .ig-action-bar__half--heart.is-active {
  background: transparent;
  color: var(--yellow);
}

body.migma-landing .ig-action-bar__half--heart.is-active .ig-action-bar__icon--heart {
  color: var(--yellow);
}

body.migma-landing .ig-action-bar__half--heart.is-active .ig-action-bar__heart-path {
  fill: var(--yellow);
  stroke: var(--yellow);
}

body.migma-landing .ig-action-bar__half--heart:not(.is-active) .ig-action-bar__heart-path {
  fill: none;
}

/* Heart: micro-bounce when favouriting (class .is-anim on button) */
@keyframes ig-heart-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.15);
  }
  65% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

body.migma-landing .ig-action-bar__half--heart.is-anim .ig-action-bar__icon--heart {
  animation: ig-heart-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Cart: SVG fades out / "yours." fades in when .is-active */
body.migma-landing .ig-action-bar__cart-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

body.migma-landing .ig-action-bar__yours {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.3px;
  color: var(--yellow);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

body.migma-landing .ig-action-bar__half--cart.is-active {
  background: transparent;
  color: var(--yellow);
}

body.migma-landing .ig-action-bar__half--cart.is-active .ig-action-bar__cart-face {
  opacity: 0;
  transform: scale(0.85);
}

body.migma-landing .ig-action-bar__half--cart.is-active .ig-action-bar__yours {
  opacity: 1;
  transform: scale(1);
}

body.migma-landing .ig-action-bar__half--cart.is-active:hover .ig-action-bar__icon--cart {
  transform: none;
}

/* — Ripple (span.ig-action-bar__ripple, toggled by JS) — */
body.migma-landing .ig-action-bar__ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 230, 0, 0.4);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
}

body.migma-landing .ig-action-bar__ripple.is-on {
  transform: translate(-50%, -50%) scale(12);
  opacity: 0;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

/* — Corner badges — */
body.migma-landing .ig-badge {
  position: absolute;
  top: var(--space-12);
  left: var(--space-12);
  z-index: 4;
  font-size: var(--fs-9);
  font-weight: var(--fw-extrabold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-8);
}

body.migma-landing .ig-badge.yellow {
  background: var(--yellow);
  color: var(--black);
}

body.migma-landing .ig-badge.dark {
  background: var(--black);
  color: var(--yellow);
}

body.migma-landing .ag-handle {
  font-size: var(--fs-11);
  font-weight: var(--fw-semibold);
  color: var(--gray-550);
  margin-bottom: var(--space-8);
}

body.migma-landing .ag-name {
  font-size: var(--fs-17);
  font-weight: var(--fw-black);
  color: var(--white);
  letter-spacing: var(--letter-tight-1);
  margin-bottom: var(--space-6);
}

body.migma-landing .ag-desc {
  font-size: var(--fs-12);
  color: var(--gray-500);
  line-height: var(--lh-body);
  margin-bottom: var(--space-14);
}

body.migma-landing .ag-count {
  font-size: var(--fs-11);
  font-weight: var(--fw-extrabold);
  color: var(--yellow);
}

body.migma-landing .seller {
  background: var(--yellow);
  padding: var(--space-60) var(--section-pad-x-sm);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--gap-seller);
}

body.migma-landing .seller-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: var(--fw-black);
  letter-spacing: var(--letter-tight-2);
  line-height: 1;
  color: var(--black);
  max-width: 460px;
}

body.migma-landing .seller-right {
  flex-shrink: 0;
}

body.migma-landing .seller-sub {
  font-size: var(--fs-15);
  color: var(--black-55);
  line-height: var(--lh-body-loose);
  max-width: 300px;
  margin-bottom: var(--space-32);
}

body.migma-landing .seller-perks {
  display: flex;
  gap: var(--space-20);
  margin-bottom: var(--space-28);
  flex-wrap: wrap;
}

body.migma-landing .sperk {
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  color: var(--black-45);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

body.migma-landing .sperk::before {
  content: "";
  width: var(--space-5);
  height: var(--space-5);
  background: var(--black);
  opacity: 0.25;
}

body.migma-landing .migma-footer {
  background: var(--black);
  padding: var(--space-48) var(--section-pad-x-sm) var(--space-32);
  border-top: var(--border-width) solid var(--line-dark);
}

body.migma-landing .footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: var(--space-48);
  gap: var(--space-32);
}

body.migma-landing .footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

body.migma-landing .footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  background: transparent;
}

body.migma-landing .migma-wordmark--footer {
  font-size: var(--fs-14);
  color: var(--white);
}

body.migma-landing .footer-nl {
  display: flex;
}

body.migma-landing .footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--space-16);
  padding-top: var(--space-28);
  border-top: var(--border-width) solid var(--line-dark);
}

body.migma-landing .footer-copy {
  font-size: var(--fs-11);
  color: var(--gray-600);
}

body.migma-landing .footer-links {
  display: flex;
  gap: var(--space-24);
}

body.migma-landing .footer-links a {
  font-size: var(--fs-11);
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--dur-standard);
}

body.migma-landing .footer-links a:hover {
  color: var(--white);
}
