/* TamuBN v85.4.4 — contrast + homepage live-product reliability */

/* High-contrast text tokens for every deliberately dark public surface. */
.commercial-hero,
.cube-signature,
.cube-directory-hero,
.cube-view-header,
.cube-view-page,
.cube-experience-shell,
.story-hero,
.shops-hero,
.seller-public-hero,
.support-hero,
.about-public-hero,
.contact-public-hero,
.privacy-public-hero,
.shop-explainer,
.timeline-section,
.homepage-sponsor-strip,
.commercial-footer,
.tamu-footer,
.checkout-hero,
.cart-summary-card,
.checkout-summary-sticky,
.commercial-bank-box,
.growth-hero,
.retention-hero,
.commercial-plan-hero,
.launch-hero,
.v78-growth-hero {
  color:#fff;
}

.commercial-hero h1,.commercial-hero h2,.commercial-hero h3,
.cube-signature h1,.cube-signature h2,.cube-signature h3,
.cube-directory-hero h1,.cube-directory-hero h2,
.cube-view-header h1,.cube-view-header h2,.cube-view-header h3,
.story-hero h1,.story-hero h2,
.shops-hero h1,.shops-hero h2,
.seller-public-hero h1,.seller-public-hero h2,
.support-hero h1,.support-hero h2,
.about-public-hero h1,.contact-public-hero h1,.privacy-public-hero h1,
.shop-explainer h1,.shop-explainer h2,.shop-explainer h3,
.timeline-section h1,.timeline-section h2,.timeline-section h3,
.homepage-sponsor-strip strong,
.commercial-footer h1,.commercial-footer h2,.commercial-footer h3,.commercial-footer h4,
.tamu-footer h1,.tamu-footer h2,.tamu-footer h3,.tamu-footer h4,
.checkout-hero h1,.checkout-hero h2,
.cart-summary-card h1,.cart-summary-card h2,.cart-summary-card h3,
.checkout-summary-sticky h1,.checkout-summary-sticky h2,.checkout-summary-sticky h3,
.commercial-bank-box h1,.commercial-bank-box h2,.commercial-bank-box h3,
.growth-hero h1,.growth-hero h2,.retention-hero h1,.retention-hero h2,
.commercial-plan-hero h1,.commercial-plan-hero h2,.launch-hero h1,.launch-hero h2,
.v78-growth-hero h1,.v78-growth-hero h2 {
  color:#fff!important;
}

/* Known dark-on-dark regression in Seller Academy callout. */
.academy-do-now,
.academy-do-now h2,
.academy-do-now h3,
.academy-do-now b,
.academy-do-now strong {color:#fff!important}
.academy-do-now p,
.academy-do-now li,
.academy-do-now small {color:#e4d9e9!important}

.social-vs-tamu>div.recommended h2,
.social-vs-tamu>div.recommended h3,
.social-vs-tamu>div.recommended b,
.social-vs-tamu>div.recommended strong,
.seo-sell-compare article:last-child h2,
.seo-sell-compare article:last-child h3,
.seo-sell-compare article:last-child b,
.seo-sell-compare article:last-child strong,
.seo-fees-note h2,
.seo-fees-note h3,
.payment-safety-callout h2,
.payment-safety-callout h3 {color:#fff!important}

/* Desktop live-product cabinet: one large product + three secondary products, all visible. */
.hero-live-cabinet{
  grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr) minmax(0,.82fr)!important;
  grid-template-rows:44px minmax(0,1fr) minmax(0,1fr)!important;
}
.hero-live-cabinet .cabinet-top{grid-column:1/-1!important;grid-row:1!important}
.hero-live-cabinet .hero-slot-1{grid-column:1!important;grid-row:2/4!important}
.hero-live-cabinet .hero-slot-2{grid-column:2!important;grid-row:2!important}
.hero-live-cabinet .hero-slot-3{grid-column:3!important;grid-row:2!important}
.hero-live-cabinet .hero-slot-4{grid-column:2/4!important;grid-row:3!important}

/* Signature cube always remains a true 2×2 cabinet, even when catalogue has fewer products. */
.live-signature-cube .signature-cube-inner{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
}
.live-signature-cube .signature-cube-inner>button,
.live-signature-cube .signature-product-empty{
  width:100%;height:100%;min-width:0;min-height:0;
}
.signature-product-empty{
  display:grid;place-items:center;align-content:center;gap:6px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  color:#d8cce1;text-align:center;
}
.signature-product-empty span{font-size:34px;color:#c084fc}
.signature-product-empty small{font-size:9px;letter-spacing:.06em;color:#cfc3d8}

@media(max-width:900px){
  .hero-live-cabinet{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:34px minmax(0,1.35fr) minmax(0,.85fr) minmax(0,.7fr)!important;
    min-height:560px!important;height:560px!important;
  }
  .hero-live-cabinet .cabinet-top{grid-column:1/-1!important;grid-row:1!important}
  .hero-live-cabinet .hero-slot-1{grid-column:1/-1!important;grid-row:2!important}
  .hero-live-cabinet .hero-slot-2{grid-column:1!important;grid-row:3!important}
  .hero-live-cabinet .hero-slot-3{grid-column:2!important;grid-row:3!important}
  .hero-live-cabinet .hero-slot-4{grid-column:1/-1!important;grid-row:4!important}
}
