/* =========================================================
   Rev272R — VISUAL RESTORE ONLY
   Intentionally does not modify shop.js, Woo cart/session logic,
   checkout transport, payment code, account transport, or .htaccess.
   ========================================================= */

/* ---------- HOME: supplied character-toy montage beside the pulp comic ---------- */
.home-pulp-top-v259{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.home-pulp-top-v259 .home-pulp-copy{position:relative!important;z-index:6!important}
.home-pulp-top-v259 .home-pulp-poster{position:relative!important;z-index:5!important}
.home-character-montage-v272r{
  position:absolute;
  z-index:2;
  pointer-events:none;
  user-select:none;
  right:-5.5vw;
  top:16px;
  width:min(55vw,920px);
  margin:0;
  opacity:.56;
  transform:translateZ(0);
  filter:brightness(.76) saturate(.72) contrast(1.07);
  mix-blend-mode:normal;
}
.home-character-montage-v272r img{display:block;width:100%;height:auto}
.home-character-montage-v272r::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(4,4,5,.42),transparent 20%,transparent 76%,rgba(4,4,5,.32)),
             linear-gradient(180deg,rgba(4,4,5,.10),transparent 46%,rgba(4,4,5,.58));
}
@media(max-width:1180px){
  .home-character-montage-v272r{right:-13vw;top:56px;width:min(68vw,850px);opacity:.45}
}
@media(max-width:820px){.home-character-montage-v272r{display:none!important}}

/* ---------- CART: richer image, longer pixel-smooth bottom feather ---------- */
body.cart-page::before{
  top:30px!important;
  height:min(66vw,760px)!important;
  background-image:
    linear-gradient(to bottom,rgba(5,5,5,.03) 0%,rgba(5,5,5,.06) 42%,rgba(5,5,5,.18) 60%,rgba(5,5,5,.55) 79%,#050505 100%),
    linear-gradient(to right,#050505 0%,rgba(5,5,5,.08) 10%,rgba(5,5,5,.04) 90%,#050505 100%),
    url("images/cart-static-background.webp")!important;
  background-position:center top!important;
  background-size:cover!important;
  opacity:.68!important;
  filter:brightness(1.02) saturate(1.18) contrast(1.045)!important;
}
body.cart-page::after{
  top:30px!important;
  height:min(66vw,760px)!important;
  background:radial-gradient(ellipse 78% 64% at 50% 35%,transparent 24%,rgba(5,5,5,.06) 54%,rgba(5,5,5,.42) 78%,#050505 100%)!important;
}
@media(max-width:680px){
  body.cart-page::before,body.cart-page::after{height:500px!important;top:26px!important}
  body.cart-page::before{opacity:.53!important;background-size:auto 500px!important;filter:brightness(1.05) saturate(1.16) contrast(1.035)!important}
}

/* ---------- UTILITY / FOOTER PAGES: one consistent premium page language ---------- */
body.info-page,
body.account-page,
body.newsletter-page,
body.wishlist-page{
  position:relative!important;
  isolation:isolate!important;
  background:#050506!important;
}
body.info-page::before,
body.account-page::before,
body.newsletter-page::before,
body.wishlist-page::before{
  content:"";position:fixed;z-index:-2;pointer-events:none;
  inset:84px 0 0;
  background:
    linear-gradient(90deg,#050506 0%,rgba(5,5,6,.72) 18%,rgba(5,5,6,.38) 50%,rgba(5,5,6,.72) 82%,#050506 100%),
    linear-gradient(180deg,rgba(5,5,6,.54),rgba(5,5,6,.30) 38%,#050506 96%),
    url("images/home-wall-static-after.webp") center 34%/cover no-repeat;
  opacity:.27;
  filter:saturate(.78) brightness(.64) contrast(1.04);
}
body.info-page .bb-info-shell,
body.account-page .bb-info-shell,
body.newsletter-page .bb-info-shell{
  position:relative!important;z-index:1!important;
}
body.info-page .bb-info-shell>h1,
body.account-page .bb-info-shell>h1,
body.newsletter-page .bb-info-shell>h1,
body.wishlist-page .catalog-heading h2{
  font-family:"Bahnschrift SemiCondensed",Bahnschrift,"Arial Narrow",Arial,sans-serif!important;
  font-weight:850!important;
  font-style:normal!important;
  text-transform:uppercase!important;
  letter-spacing:-.045em!important;
  line-height:.90!important;
  color:#f5f2ec!important;
  -webkit-text-fill-color:#f5f2ec!important;
  text-shadow:0 14px 40px rgba(0,0,0,.48)!important;
}
body.info-page .bb-info-shell>h1::after,
body.account-page .bb-info-shell>h1::after,
body.newsletter-page .bb-info-shell>h1::after,
body.wishlist-page .catalog-heading h2::after{
  content:""!important;display:block!important;width:72px;height:3px;margin-top:16px;
  background:linear-gradient(90deg,#e33a33,rgba(227,58,51,0))!important;
  box-shadow:0 0 18px rgba(227,58,51,.20)!important;
}
body.info-page .bb-legal-copy,
body.info-page .bb-faq details,
body.account-page :is(.bb-account-card,.bb-profile-command,.bb-profile-editor,.bb-account-orders,.bb-collector-journal),
body.newsletter-page .bb-preference-card,
body.wishlist-page :is(.wishlist-section,.wishlist-empty,.wishlist-card){
  border:1px solid rgba(255,255,255,.09)!important;
  background:
    radial-gradient(circle at 94% 2%,rgba(225,54,47,.085),transparent 31%),
    linear-gradient(145deg,rgba(15,17,20,.93),rgba(6,7,9,.955))!important;
  box-shadow:0 28px 72px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.025)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
}
body.info-page .bb-legal-copy,
body.account-page .bb-account-card,
body.newsletter-page .bb-preference-card,
body.wishlist-page .wishlist-section{border-radius:18px!important}
body.info-page .bb-faq details{border-radius:14px!important}
body.info-page .bb-legal-copy h2,
body.info-page .bb-faq summary,
body.newsletter-page .bb-preference-card h2,
body.account-page :is(.bb-profile-copy h2,.bb-profile-editor h2,.bb-account-orders h2){
  font-family:"Bahnschrift SemiCondensed",Bahnschrift,"Arial Narrow",Arial,sans-serif!important;
  font-weight:800!important;
  letter-spacing:-.022em!important;
}
body.wishlist-page .catalog-section{position:relative;z-index:1;max-width:1500px;margin:0 auto}
body.wishlist-page .wishlist-section{margin-top:clamp(34px,5vw,74px);padding:clamp(30px,5vw,66px)!important}
body.newsletter-page .bb-preference-layout{gap:20px!important}
body.newsletter-page .bb-preference-card{border-radius:16px!important}
@media(max-width:680px){
  body.info-page::before,body.account-page::before,body.newsletter-page::before,body.wishlist-page::before{opacity:.18;background-position:56% 20%}
  body.info-page .bb-legal-copy,body.account-page .bb-account-card,body.newsletter-page .bb-preference-card,body.wishlist-page .wishlist-section{border-radius:13px!important}
}

/* ---------- ABOUT: make the archival photos read as one montage ---------- */
body.about-page .origin-collage{isolation:isolate!important}
body.about-page .origin-photo-one,
body.about-page .origin-photo-two{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.about-page .origin-photo-one::after,
body.about-page .origin-photo-two::after{display:none!important}
body.about-page .origin-photo-one img,
body.about-page .origin-photo-two img{
  filter:saturate(.90) contrast(1.035) brightness(.86) drop-shadow(0 24px 34px rgba(0,0,0,.48))!important;
  -webkit-mask-image:radial-gradient(ellipse 82% 78% at 50% 49%,#000 0 48%,rgba(0,0,0,.94) 60%,rgba(0,0,0,.62) 76%,rgba(0,0,0,.20) 90%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 82% 78% at 50% 49%,#000 0 48%,rgba(0,0,0,.94) 60%,rgba(0,0,0,.62) 76%,rgba(0,0,0,.20) 90%,transparent 100%)!important;
}
body.about-page .origin-photo-one{width:72%!important;right:-1%!important;top:-1%!important;transform:rotate(.65deg)!important;z-index:2!important}
body.about-page .origin-photo-two{width:66%!important;left:2%!important;bottom:-1%!important;transform:rotate(-.7deg)!important;z-index:3!important}
body.about-page .origin-family-vignette{left:-2%!important;top:5%!important;width:29%!important;z-index:7!important}
body.about-page .origin-photo-cutout{width:31%!important;height:76%!important;right:0!important;bottom:-3%!important;z-index:8!important}
body.about-page .origin-date-stamp{z-index:9!important}
body.about-page .origin-caption{z-index:10!important}
@media(max-width:820px){
  body.about-page .origin-photo-one{width:88%!important;right:-4%!important;top:1%!important}
  body.about-page .origin-photo-two{width:82%!important;left:-4%!important;bottom:0!important}
  body.about-page .origin-family-vignette{left:0!important;top:4%!important;width:31%!important}
  body.about-page .origin-photo-cutout{width:38%!important;height:69%!important;right:-2%!important}
}
@media(max-width:560px){
  body.about-page .origin-photo-one{width:96%!important;right:-10%!important}
  body.about-page .origin-photo-two{width:91%!important;left:-9%!important}
  body.about-page .origin-family-vignette{width:35%!important}
  body.about-page .origin-photo-cutout{width:44%!important;height:63%!important}
}

/* ---------- CATEGORY PAGES: MOBILE ONLY visibility lift; desktop untouched ---------- */
@media(max-width:700px){
  body.category-page::before{
    filter:brightness(1.24) saturate(1.07) contrast(1.025)!important;
  }
  body.category-page:is(
    .category-tmnt,.category-gi-joe,.category-transformers,.category-star-wars,
    .category-hot-wheels,.category-anime,.category-marvel,.category-dc,
    .category-horror,.category-skateboarding,.category-vintage-toys,
    .category-video-games,.category-action-figures,.category-collectibles
  )::before{opacity:.36!important}
  body.category-page.category-horror::before{opacity:.32!important}
  body.category-page.category-gi-joe::before{opacity:.30!important}
  body.category-page.category-star-wars::before{opacity:.31!important}
  body.category-page.category-tmnt::before{opacity:.38!important}
  body.category-page.category-motu::before,
  body.category-page.category-aliens::before{filter:brightness(1.12) saturate(1.04) contrast(1.02)!important}
}

/* ---------- ARCADE: circuitry artwork smaller, quieter, feathered ---------- */
body.arcade-hub-page .bb-arcade-poster-main::after{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  top:8px!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  width:min(88vw,1500px)!important;
  height:520px!important;
  transform:translateX(-50%)!important;
  pointer-events:none!important;
  background:url("images/arcade-rev272i/arcade-circuit-ceiling-v272i.webp") center top/1450px auto no-repeat!important;
  opacity:.36!important;
  filter:brightness(.94) saturate(.62) contrast(.98)!important;
  mix-blend-mode:screen!important;
  -webkit-mask-image:radial-gradient(ellipse 76% 72% at 50% 27%,#000 0 42%,rgba(0,0,0,.82) 58%,rgba(0,0,0,.36) 76%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 76% 72% at 50% 27%,#000 0 42%,rgba(0,0,0,.82) 58%,rgba(0,0,0,.36) 76%,transparent 100%)!important;
}
body.arcade-hub-page .bb-arcade-page-logo{z-index:12!important}
body.arcade-hub-page .bb-arcade-poster{z-index:2!important}
@media(max-width:1100px){
  body.arcade-hub-page .bb-arcade-poster-main::after{width:94vw!important;height:450px!important;background-size:1200px auto!important;opacity:.31!important}
}
@media(max-width:680px){
  body.arcade-hub-page .bb-arcade-poster-main::after{width:100vw!important;height:350px!important;background-size:930px auto!important;opacity:.24!important;filter:brightness(.92) saturate(.56) contrast(.98)!important}
}
