/* Turmeric B1G4 | Thanksgiving header + hero
   Only the copy and the hero background change. The header and every hero component keep the live
   markup and classes, so the live stylesheets (and Tailwind CDN) style them exactly as today.
   Everything below is scoped to .th-hero, so nothing leaks into the rest of the page.
   Background: DaVinci harvest-table background (turmeric-thanksgiving-A). */

.th-hero {
  --th-bg-desktop: url("/assets/images/turmeric-thanksgiving/turmeric-thanksgiving-A-desktop.webp");
  --th-bg-mobile: url("/assets/images/turmeric-thanksgiving/turmeric-thanksgiving-A-mobile.webp");
  position: relative;
  z-index: 0;
}

/* Full-bleed background behind the 1180px hero grid. .wrapper-main (overflow: hidden) clips the 100vw layer,
   so there is no horizontal scroll. Desktop: cover, centred, which keeps the copy column on DaVinci's calm,
   cream-washed zone (about 19 to 52% of the image width). The image bottom edge fades to the page cream
   (#ECE7D3), so the hero meets the live marquee bar the same way the plain live hero does. No extra scrim needed. */
.th-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background: var(--th-bg-desktop) center center / cover no-repeat;
}

/* Headline line 2 in the live italic accent, on its own line. */
.th-hero .hero-title { text-wrap: balance; }
.th-hero .hero-title .italic-highlight { display: block; }

/* Below 1001px the live hero stacks into one column: DaVinci's mobile crop, cover, anchored centre bottom. */
@media (max-width: 1000px) {
  .th-hero::before { background: var(--th-bg-mobile) center bottom / cover no-repeat; }
}

/* The live "Buy 1 / Get 4 / FREE" box is absolutely positioned top right of the offer card.
   The new offer headers can be longer than the live "New batch just arrived", so keep them clear of it. */
.th-hero .offer-card p.uppercase { padding-right: 76px; }
