/* RSmark per-page backgrounds. Audi = car/badge pages, LYNX = deodorant pages. White wash keeps text readable. */
html:has(link[rel="canonical"][href*="232274"],link[rel="canonical"][href*="lynx-xl-200ml"],link[rel="canonical"][href*="/page/smell-nice"]) body,html:has(link[rel="canonical"][href*="232274"],link[rel="canonical"][href*="lynx-xl-200ml"],link[rel="canonical"][href*="/page/smell-nice"]) main,html:has(link[rel="canonical"][href*="232274"],link[rel="canonical"][href*="lynx-xl-200ml"],link[rel="canonical"][href*="/page/smell-nice"]) [role="main"]{background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/mediagenerationlynxbackground0b152072c98834c56b3302e45c8dc4056.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
html:has(link[rel="canonical"][href*="/page/cars"],link[rel="canonical"][href*="grill-badges"],link[rel="canonical"][href*="centre-caps"],link[rel="canonical"][href*="valve-caps"],link[rel="canonical"][href*="439938"],link[rel="canonical"][href*="153193"],link[rel="canonical"][href*="585622"],link[rel="canonical"][href*="989217"]) body,html:has(link[rel="canonical"][href*="/page/cars"],link[rel="canonical"][href*="grill-badges"],link[rel="canonical"][href*="centre-caps"],link[rel="canonical"][href*="valve-caps"],link[rel="canonical"][href*="439938"],link[rel="canonical"][href*="153193"],link[rel="canonical"][href*="585622"],link[rel="canonical"][href*="989217"]) main,html:has(link[rel="canonical"][href*="/page/cars"],link[rel="canonical"][href*="grill-badges"],link[rel="canonical"][href*="centre-caps"],link[rel="canonical"][href*="valve-caps"],link[rel="canonical"][href*="439938"],link[rel="canonical"][href*="153193"],link[rel="canonical"][href*="585622"],link[rel="canonical"][href*="989217"]) [role="main"]{background-image:linear-gradient(rgba(255,255,255,0.78),rgba(255,255,255,0.78)),url("https://cdn.freewebstore.com/origin/1075600/mediagenerationaudibackground0611c5eef7c8343529f2347231e211787.webp?v=1796305836656")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
html:has(link[rel="canonical"][href*="/product/"]) main:has(a[href*="grill-badges"]:not(:only-child),a[href*="centre-caps"]:not(:only-child),a[href*="valve-caps"]:not(:only-child),a[href*="439938"]:not(:only-child),a[href*="153193"]:not(:only-child),a[href*="585622"]:not(:only-child),a[href*="989217"]:not(:only-child)){background-image:linear-gradient(rgba(255,255,255,0.78),rgba(255,255,255,0.78)),url("https://cdn.freewebstore.com/origin/1075600/mediagenerationaudibackground0611c5eef7c8343529f2347231e211787.webp?v=1796305836656")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
html:has(link[rel="canonical"][href*="/product/"]) main:has(a[href*="232274"]:not(:only-child),a[href*="lynx-xl-200ml"]:not(:only-child)){background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/mediagenerationlynxbackground0b152072c98834c56b3302e45c8dc4056.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
html:has(link[rel="canonical"][href*="/product/"]) body,html:has(link[rel="canonical"][href*="/product/"]) html{background-image:none!important;background-color:#ffffff!important;}

/* Category names: show stored case, e.g. LYNX 250ml */
main h1, main h2 a[href*="/browse/cat"], main h4 a[href*="/browse/cat"], main a[href*="/browse/cat"] { text-transform: none !important; }

/* Category grid headings and /category/ links: same stored-case treatment */
main h2:has(> a[href*="/category/"]), main h4:has(> a[href*="/category/"]), main a[href*="/category/"] h2, main a[href*="/category/"] h4, main h2 a[href*="/category/"], main h4 a[href*="/category/"], main a[href*="/category/"] { text-transform: none !important; }

/* Category grid headings (h2) on the Smell Nice page and category pages: show stored case */
html:has(link[rel="canonical"][href*="/page/smell-nice"]) main h2, html:has(link[rel="canonical"][href*="/category/"]) main h2, html:has(link[rel="canonical"][href*="232274"]) main h2, main a[href*="/browse/cat"] h2, main a[href*="/browse/cat"] h4 { text-transform: none !important; }
/* Candles & Gifts category and Yankee Candle product: candle background under a white wash */
html:has(link[rel="canonical"][href*="744541"])body,html:has(link[rel="canonical"][href*="744541"])main,html:has(link[rel="canonical"][href*="744541"])[role="main"]{background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/candlesbackgroundred.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
html:has(link[rel="canonical"][href*="/product/"])main:has(a[href*="744541"]:not(:only-child),a[href*="yankee-candle-home-inspiration-gift-set-up-to-218-hours-of-fragrance"]:not(:only-child)){background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/candlesbackgroundred.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
html:has(link[rel="canonical"][href*="yankee-candle-home-inspiration-gift-set-up-to-218-hours-of-fragrance"])body,html:has(link[rel="canonical"][href*="yankee-candle-home-inspiration-gift-set-up-to-218-hours-of-fragrance"])html{background-image:none!important;background-color:#ffffff!important;}
/* Candles & Gifts browse category: same candle background, scoped via the category link inside main */
html:has(link[rel="canonical"][href*="/browse/"])main:has(a[href*="744541"]:not(:only-child)),html:has(link[rel="canonical"][href*="/browse/"])body:has(main a[href*="744541"]){background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/candlesbackgroundred.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
/* Candles & Gifts browse category: candle background on main, via its breadcrumb link followed by the heading */
main:has(>a[href*="744541"]+h1){background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/candlesbackgroundred.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}
/* Candles & Gifts category: candle background on any main containing a link to this category */
main:has(a[href*="744541"]){background-image:linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)),url("https://cdn.freewebstore.com/origin/1075600/candlesbackgroundred.webp")!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-repeat:no-repeat!important;}