/* THE BACON BIN — REV275I
   Footer simplification + cart/contact feathering + About archival photo release.
   Loads after Rev275H. */

:root{--bb-i-red:#e33b35}

/* =========================================================
   1) SITEWIDE FOOTER — cleaner left column, slightly smaller logo.
   The old tagline is also removed by the companion JS after shop.js builds it.
   ========================================================= */
html body:not(.bb-cabinet-embed) .bb-footer-brand{
  justify-self:start!important;
  align-self:start!important;
  text-align:left!important;
  min-width:0!important;
}
html body:not(.bb-cabinet-embed) .bb-footer-brand>p{
  display:none!important;
  margin:0!important;
}
html body:not(.bb-cabinet-embed) footer.bb-modern-footer .bb-footer-brand img.bb-footer-official-logo,
html body:not(.bb-cabinet-embed) footer.shop-footer .bb-footer-brand img.bb-footer-official-logo,
html body:not(.bb-cabinet-embed) footer.home-footer .bb-footer-brand img.bb-footer-official-logo,
html body:not(.bb-cabinet-embed) .bb-footer-brand img.bb-footer-official-logo{
  width:clamp(232px,18.4vw,278px)!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
}
html body:not(.bb-cabinet-embed) .bb-footer-socials{
  margin-top:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  flex-wrap:wrap!important;
}
html body:not(.bb-cabinet-embed) .bb-footer-socials .bb-social-rail{
  margin:0!important;
  justify-content:flex-start!important;
}

/* =========================================================
   2) CART — lower visual presence + smoother optical feather.
   The artwork stays high resolution; darkness is separated from the image.
   ========================================================= */
html body#bb-test-font-lock.cart-page::before{
  left:50%!important;
  right:auto!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:none!important;
  transform:translateX(-50%)!important;
  background-position:center 15%!important;
  background-size:cover!important;
  opacity:.78!important;
  filter:brightness(.265) saturate(.78) contrast(1.025)!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
html body#bb-test-font-lock.cart-page::after{
  left:0!important;
  right:0!important;
  width:100%!important;
  background:
    radial-gradient(ellipse 61% 55% at 50% 30%,rgba(5,5,5,.12) 0%,rgba(5,5,5,.16) 25%,rgba(5,5,5,.23) 40%,rgba(5,5,5,.35) 54%,rgba(5,5,5,.50) 66%,rgba(5,5,5,.66) 76%,rgba(5,5,5,.80) 85%,rgba(5,5,5,.91) 93%,#050505 100%),
    linear-gradient(90deg,#050505 0%,rgba(5,5,5,.94) 2%,rgba(5,5,5,.82) 5%,rgba(5,5,5,.65) 9%,rgba(5,5,5,.47) 14%,rgba(5,5,5,.31) 20%,rgba(5,5,5,.19) 27%,rgba(5,5,5,.11) 35%,rgba(5,5,5,.075) 43%,rgba(5,5,5,.075) 57%,rgba(5,5,5,.11) 65%,rgba(5,5,5,.19) 73%,rgba(5,5,5,.31) 80%,rgba(5,5,5,.47) 86%,rgba(5,5,5,.65) 91%,rgba(5,5,5,.82) 95%,rgba(5,5,5,.94) 98%,#050505 100%),
    linear-gradient(180deg,rgba(5,5,5,.60) 0%,rgba(5,5,5,.47) 7%,rgba(5,5,5,.34) 16%,rgba(5,5,5,.24) 28%,rgba(5,5,5,.19) 42%,rgba(5,5,5,.21) 56%,rgba(5,5,5,.31) 68%,rgba(5,5,5,.48) 79%,rgba(5,5,5,.68) 88%,rgba(5,5,5,.86) 95%,#050505 100%)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body#bb-test-font-lock.cart-page .cart-shell{
  width:min(1500px,calc(100% - 48px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:clamp(18px,2.2vw,34px)!important;
  padding-right:clamp(18px,2.2vw,34px)!important;
  box-sizing:border-box!important;
}

/* =========================================================
   3) ABOUT — release the Spider-Man childhood photo from its tile.
   It becomes a loose archival image with a feathered lower edge.
   ========================================================= */
html body#bb-test-font-lock.about-page .bb-about275a-memory-strip{
  position:relative!important;
  overflow:visible!important;
  align-items:center!important;
  column-gap:clamp(16px,2vw,30px)!important;
}
html body#bb-test-font-lock.about-page .bb-about275a-memory-strip figure:nth-child(2){
  z-index:4!important;
  align-self:center!important;
  justify-self:center!important;
  width:min(96%,390px)!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:translateY(-14px) rotate(-1.25deg)!important;
}
html body#bb-test-font-lock.about-page .bb-about275a-memory-strip figure:nth-child(2)::after{
  display:none!important;
}
html body#bb-test-font-lock.about-page .bb-about275a-memory-strip figure:nth-child(2) img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  filter:brightness(.94) contrast(1.025) saturate(.92) drop-shadow(0 24px 28px rgba(0,0,0,.38))!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 68%,rgba(0,0,0,.98) 74%,rgba(0,0,0,.91) 80%,rgba(0,0,0,.76) 85%,rgba(0,0,0,.56) 90%,rgba(0,0,0,.34) 94%,rgba(0,0,0,.15) 97%,transparent 100%)!important;
  mask-image:linear-gradient(to bottom,#000 0%,#000 68%,rgba(0,0,0,.98) 74%,rgba(0,0,0,.91) 80%,rgba(0,0,0,.76) 85%,rgba(0,0,0,.56) 90%,rgba(0,0,0,.34) 94%,rgba(0,0,0,.15) 97%,transparent 100%)!important;
}
html body#bb-test-font-lock.about-page .bb-about275a-memory-strip figure:nth-child(2) figcaption{
  display:none!important;
}

/* =========================================================
   4) CONTACT — smoother, longer edge dissolve on communicator artwork.
   ========================================================= */
html body#bb-test-font-lock.contact-page .bb-contact-shell::before{
  width:min(1040px,92vw)!important;
  top:12px!important;
  opacity:.155!important;
  filter:brightness(.88) saturate(.82) contrast(1.015)!important;
  -webkit-mask-image:radial-gradient(ellipse 82% 78% at 50% 44%,#000 0 34%,rgba(0,0,0,.995) 42%,rgba(0,0,0,.965) 50%,rgba(0,0,0,.89) 58%,rgba(0,0,0,.77) 66%,rgba(0,0,0,.62) 73%,rgba(0,0,0,.46) 80%,rgba(0,0,0,.31) 86%,rgba(0,0,0,.18) 91%,rgba(0,0,0,.09) 95%,rgba(0,0,0,.03) 98%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 82% 78% at 50% 44%,#000 0 34%,rgba(0,0,0,.995) 42%,rgba(0,0,0,.965) 50%,rgba(0,0,0,.89) 58%,rgba(0,0,0,.77) 66%,rgba(0,0,0,.62) 73%,rgba(0,0,0,.46) 80%,rgba(0,0,0,.31) 86%,rgba(0,0,0,.18) 91%,rgba(0,0,0,.09) 95%,rgba(0,0,0,.03) 98%,transparent 100%)!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  transform:translateX(-50%) translateZ(0)!important;
}

@media(max-width:900px){
  html body#bb-test-font-lock.cart-page .cart-shell{width:calc(100% - 28px)!important;padding-left:0!important;padding-right:0!important}
  html body#bb-test-font-lock.contact-page .bb-contact-shell::before{width:min(900px,104vw)!important;opacity:.13!important}
}
@media(max-width:680px){
  html body#bb-test-font-lock.cart-page::before{opacity:.72!important;filter:brightness(.24) saturate(.76) contrast(1.02)!important;background-position:center 7%!important}
  html body#bb-test-font-lock.about-page .bb-about275a-memory-strip figure:nth-child(2){width:min(88%,360px)!important;transform:translateY(-6px) rotate(-.6deg)!important;margin:6px auto 2px!important}
  html body#bb-test-font-lock.contact-page .bb-contact-shell::before{width:122vw!important;top:62px!important;opacity:.105!important}
}
@media(max-width:620px){
  html body:not(.bb-cabinet-embed) .bb-footer-official-logo{width:min(245px,78vw)!important}
}
