* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #10223b;
  --navy-dark: #071321;
  --orange: #f0a323;
  --orange-dark: #b96711;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --text: #172033;
  --muted: #5d6675;
  --border: #eadcc8;
  --shadow: 0 18px 44px rgba(16, 34, 59, 0.10);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(240, 163, 35, 0.10), transparent 24rem),
    radial-gradient(circle at 8% 92%, rgba(119, 129, 87, 0.10), transparent 22rem),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 58%, #ffffff 100%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 8px clamp(18px, 5vw, 64px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(234, 220, 200, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand strong {
  font-size: 1.14rem;
  line-height: 1;
  color: var(--navy);
}

.brand small {
  margin-top: 3px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.main-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(234, 220, 200, 0.85);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 163, 35, 0.62);
  background: rgba(240, 163, 35, 0.14);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-button,
.primary-button {
  color: #111111;
  background: linear-gradient(180deg, #f7b441, var(--orange));
  box-shadow: 0 12px 24px rgba(240, 163, 35, 0.22);
}

.secondary-button {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(16, 34, 59, 0.24);
}

.secondary-button.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.header-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(16, 34, 59, 0.14);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero,
.section,
.contact,
.site-footer {
  padding-left: clamp(18px, 5vw, 64px);
  padding-right: clamp(18px, 5vw, 64px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 500px);
  align-items: center;
  gap: clamp(28px, 6vw, 70px);
  max-width: 1440px;
  min-height: 540px;
  margin: 0 auto;
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

.eyebrow,
.section-label,
.small-label {
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
}

h1 {
  max-width: 650px;
  font-size: clamp(3.1rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 580px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 13px;
  border: 1px solid rgba(234, 220, 200, 0.90);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.70);
  font-size: 0.84rem;
  font-weight: 700;
}

.market-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(234, 220, 200, 0.95);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 100%, rgba(240, 163, 35, 0.28), transparent 13rem),
    radial-gradient(circle at 0% 8%, rgba(240, 163, 35, 0.15), transparent 15rem),
    linear-gradient(145deg, #ffffff, #f8efe0);
  box-shadow: var(--shadow);
}

.market-card::before,
.market-card::after {
  content: "";
  position: absolute;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 34, 59, 0.10);
  transform: rotate(-4deg);
  pointer-events: none;
}

.market-card::before {
  right: -42px;
  bottom: -48px;
  width: 210px;
  height: 160px;
}

.market-card::after {
  right: 82px;
  bottom: 34px;
  width: 150px;
  height: 92px;
  transform: rotate(3deg);
}

.market-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 34, 59, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ebay-mark,
.inline-ebay {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ebay-e { color: #e53238; }
.ebay-b { color: #0064d2; }
.ebay-a { color: #f5af02; }
.ebay-y { color: #86b817; }

.market-card h2 {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-top: 26px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.market-card p {
  position: relative;
  z-index: 2;
  max-width: 410px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.listing-summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 390px;
  margin-top: 28px;
}

.listing-summary div {
  padding: 14px 16px;
  border: 1px solid rgba(234, 220, 200, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(16, 34, 59, 0.055);
}

.listing-summary strong,
.listing-summary span {
  display: block;
}

.listing-summary strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.listing-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(234, 220, 200, 0.92);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.section-copy h2,
.contact h2,
.shop-card h2 {
  max-width: 700px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-copy p:not(.section-label) {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-card {
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(234, 220, 200, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 44px rgba(16, 34, 59, 0.08);
}

.about-card ul {
  display: grid;
  gap: 14px;
  list-style: none;
}

.about-card li {
  padding: 14px;
  border: 1px solid rgba(234, 220, 200, 0.82);
  border-radius: 18px;
  background: rgba(251, 247, 239, 0.70);
}

.about-card strong,
.about-card span {
  display: block;
}

.about-card strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.about-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.shop {
  border-bottom: 1px solid rgba(234, 220, 200, 0.92);
}

.shop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(234, 220, 200, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 18%, rgba(240, 163, 35, 0.15), transparent 18rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.shop-card p:not(.section-label) {
  max-width: 650px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding-top: clamp(38px, 5vw, 56px);
  padding-bottom: clamp(38px, 5vw, 56px);
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 40%, rgba(240, 163, 35, 0.20), transparent 17rem),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.contact h2 {
  color: #ffffff;
}

.contact p:not(.section-label) {
  max-width: 620px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  background: #071321;
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-right .social-links a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-right span {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .header-social {
    display: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    min-width: auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-right {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-right {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .site-header.is-open .main-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--border);
  }

  .site-header.is-open .main-nav a::after {
    display: none;
  }

  .site-header.is-open .header-right {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-header.is-open .header-social {
    display: flex;
  }

  .hero,
  .about,
  .contact,
  .shop-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .market-card {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 9px 16px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.85rem);
  }

  .market-card {
    min-height: auto;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .header-button {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
    text-align: center;
  }

  .shop-card {
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand span {
    display: none;
  }

  .market-card {
    padding: 20px;
  }

  .listing-summary div {
    padding: 13px 14px;
  }
}

/* Final v6 refinements: no fake slabs, tighter promise block */
.market-card::before,
.market-card::after {
  display: none;
}

.market-card {
  min-height: 390px;
}

.collector-collage {
  position: relative;
  z-index: 2;
  height: 210px;
  max-width: 430px;
  margin-top: 20px;
}

.brand-pill,
.category-tile {
  position: absolute;
  border: 1px solid rgba(16, 34, 59, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(16, 34, 59, 0.08);
  backdrop-filter: blur(10px);
}

.brand-pill {
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.brand-pill.psa { left: 0; }
.brand-pill.cgc { left: 82px; }
.brand-pill.bgs { left: 164px; }
.brand-pill.tcg { left: 246px; }
.brand-pill.psa::before { background: #d92b35; }
.brand-pill.cgc::before { background: #16865b; }
.brand-pill.bgs::before { background: #1d2635; }
.brand-pill.tcg::before { background: var(--orange); }

.category-tile {
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: 16px 18px;
  border-radius: 20px;
}

.category-tile::before {
  content: "";
  width: 54px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--orange);
}

.category-tile small,
.category-tile strong {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-tile strong {
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.1;
}

.tile-main {
  left: 8px;
  top: 64px;
  width: 220px;
  transform: rotate(-4deg);
}

.tile-side {
  right: 6px;
  top: 78px;
  width: 205px;
  transform: rotate(4deg);
}

.tile-bottom {
  left: 104px;
  bottom: 2px;
  width: 230px;
  transform: rotate(-1deg);
}

.market-card h2 {
  margin-top: 20px;
}

.promise-card h3 {
  max-width: 420px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.promise-card p:not(.small-label) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.promise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.promise-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(234, 220, 200, 0.94);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(251, 247, 239, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .collector-collage {
    max-width: 480px;
  }
}

@media (max-width: 680px) {
  .market-card {
    min-height: auto;
  }

  .collector-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: auto;
    max-width: none;
  }

  .brand-pill,
  .category-tile {
    position: static;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .category-tile {
    min-height: 76px;
  }

  .tile-main,
  .tile-side,
  .tile-bottom {
    grid-column: 1 / -1;
  }

  .market-card h2 {
    margin-top: 22px;
  }
}


/* Final v7 refinements: removed duplicate hero chips and filled the collage tiles */
.hero-actions {
  margin-top: 28px;
}

.collector-collage {
  height: 252px;
  max-width: 460px;
  margin-top: 22px;
}

.category-tile {
  min-height: 118px;
  padding: 17px 18px 15px;
  overflow: hidden;
}

.category-tile::before {
  width: 58px;
  height: 5px;
  margin-bottom: 13px;
}

.category-tile small {
  font-size: 0.70rem;
}

.category-tile strong {
  margin-top: 4px;
  font-size: 1.15rem;
}

.category-tile span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.tile-lines {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.tile-lines i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(16, 34, 59, 0.13);
}

.tile-lines i:nth-child(1) { width: 82%; }
.tile-lines i:nth-child(2) { width: 64%; }
.tile-lines i:nth-child(3) { width: 46%; }

.tile-main {
  left: 6px;
  top: 70px;
  width: 230px;
  z-index: 2;
}

.tile-side {
  right: 2px;
  top: 80px;
  width: 218px;
  z-index: 1;
}

.tile-bottom {
  left: 106px;
  bottom: 0;
  width: 248px;
  z-index: 3;
}

@media (max-width: 680px) {
  .collector-collage {
    height: auto;
    margin-top: 20px;
  }

  .category-tile {
    min-height: 106px;
  }

  .trust-row {
    display: none;
  }
}


/* Final v8 refinements: cleaner copy, less repetition, stronger collector collage */
.hero-text {
  max-width: 620px;
}

.market-card h2 {
  max-width: 440px;
}

.collector-collage {
  height: 260px;
  max-width: 470px;
}

.brand-pill {
  min-width: 78px;
}

.category-tile {
  min-height: 116px;
  background: rgba(255, 255, 255, 0.88);
}

.category-tile::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 15px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(240, 163, 35, 0.18), rgba(16, 34, 59, 0.06));
  border: 1px solid rgba(16, 34, 59, 0.07);
}

.tile-side::after {
  border-radius: 999px;
}

.tile-bottom::after {
  transform: rotate(45deg);
  border-radius: 7px;
}

.tile-main {
  width: 238px;
}

.tile-side {
  width: 224px;
}

.tile-bottom {
  width: 258px;
}

.promise-card h3 {
  max-width: 460px;
}

.promise-card p:not(.small-label) {
  max-width: 500px;
}

.promise-tags {
  display: none;
}

.promise-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(234, 220, 200, 0.86);
}

.promise-note span {
  position: relative;
  display: block;
  padding-left: 18px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.promise-note span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
}

@media (max-width: 680px) {
  .promise-note {
    gap: 7px;
  }

  .category-tile::after {
    right: 12px;
    top: 14px;
  }
}

/* Final v9 mobile fix: prevent hero collage overlap on iPhone/mobile */
@media (max-width: 680px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero {
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 42px;
  }

  .market-card {
    width: 100%;
    min-height: auto;
    padding: 22px;
    overflow: hidden;
    border-radius: 28px;
  }

  .collector-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    margin-top: 18px;
  }

  .brand-pill,
  .category-tile {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100%;
  }

  .brand-pill {
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .brand-pill.psa,
  .brand-pill.cgc,
  .brand-pill.bgs,
  .brand-pill.tcg,
  .tile-main,
  .tile-side,
  .tile-bottom {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .category-tile {
    grid-column: 1 / -1;
    min-height: 126px;
    padding: 18px 18px 16px;
  }

  .category-tile strong {
    font-size: 1.12rem;
  }

  .category-tile span {
    font-size: 0.82rem;
  }

  .market-card h2 {
    margin-top: 24px;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.06;
  }

  .market-card p {
    font-size: 1rem;
  }
}

@media (max-width: 430px) {
  .market-card {
    padding: 20px;
  }

  .collector-collage {
    gap: 9px;
  }

  .brand-pill {
    min-height: 40px;
    font-size: 0.74rem;
    letter-spacing: 0.10em;
  }

  .brand-pill::before {
    width: 7px;
    height: 7px;
    margin-right: 6px;
  }

  .category-tile {
    min-height: 120px;
  }
}

/* Final v10 mobile-only collage rebuild: avoids all overlap on iPhone/Safari */
.mobile-collage {
  display: none;
}

@media (max-width: 680px) {
  .market-card {
    display: block !important;
    contain: layout paint;
  }

  .market-card .collector-collage {
    display: none !important;
  }

  .mobile-collage {
    position: relative;
    z-index: 2;
    display: grid !important;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 26px;
  }

  .mobile-grade-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-grade-row span,
  .mobile-category-card {
    border: 1px solid rgba(16, 34, 59, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 24px rgba(16, 34, 59, 0.07);
  }

  .mobile-grade-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.15em;
  }

  .mobile-grade-row span::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--orange);
  }

  .mobile-grade-row .psa::before { background: #d92b35; }
  .mobile-grade-row .cgc::before { background: #16865b; }
  .mobile-grade-row .bgs::before { background: #1d2635; }
  .mobile-grade-row .tcg::before { background: var(--orange); }

  .mobile-category-card {
    position: relative;
    display: block;
    min-height: 116px;
    padding: 18px 18px 16px;
    overflow: hidden;
    border-radius: 22px;
  }

  .mobile-category-card::before {
    content: "";
    display: block;
    width: 58px;
    height: 5px;
    margin-bottom: 13px;
    border-radius: 999px;
    background: var(--orange);
  }

  .mobile-category-card::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 18px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(240, 163, 35, 0.18), rgba(16, 34, 59, 0.06));
    border: 1px solid rgba(16, 34, 59, 0.07);
  }

  .mobile-category-card:nth-of-type(3)::after {
    border-radius: 999px;
  }

  .mobile-category-card:nth-of-type(4)::after {
    transform: rotate(45deg);
    border-radius: 8px;
  }

  .mobile-category-card small,
  .mobile-category-card strong,
  .mobile-category-card span {
    position: relative;
    z-index: 1;
    display: block;
  }

  .mobile-category-card small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .mobile-category-card strong {
    margin-top: 5px;
    color: var(--navy);
    font-size: 1.24rem;
    line-height: 1.1;
  }

  .mobile-category-card span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .market-card h2 {
    position: relative !important;
    z-index: 2;
    clear: both;
    margin-top: 0 !important;
    font-size: clamp(1.85rem, 9vw, 2.35rem) !important;
    line-height: 1.06 !important;
  }

  .market-card p {
    position: relative !important;
    z-index: 2;
    clear: both;
    font-size: 0.98rem;
  }
}
