
/* =========================================================
   THE BACON BIN — REV273C FUNCTIONALITY / OPERATIONS
   Feature-only UI. No cart transport, checkout or payment CSS.
   ========================================================= */

.bb-feature-section{
  width:min(1280px,calc(100% - 44px));margin:34px auto 54px;padding:24px;
  border:1px solid rgba(239,227,202,.075);border-radius:14px;
  background:linear-gradient(145deg,rgba(14,16,19,.56),rgba(5,7,9,.48));
  box-shadow:0 24px 70px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter:blur(14px) saturate(1.08);-webkit-backdrop-filter:blur(14px) saturate(1.08)
}
.bb-feature-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:17px}
.bb-feature-head h2{margin:5px 0 0;font-size:clamp(24px,3vw,38px);letter-spacing:.025em}
.bb-feature-head p{max-width:520px;margin:0;color:#969ba3;font-size:12px;line-height:1.6}
.bb-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bb-feature-card{display:grid;grid-template-columns:92px 1fr;gap:13px;min-width:0;padding:11px;
  border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(4,6,8,.58);
  text-decoration:none!important;transition:transform .28s cubic-bezier(.22,1,.36,1),border-color .28s,box-shadow .28s}
.bb-feature-card:hover{transform:translateY(-3px);border-color:rgba(226,50,45,.35);box-shadow:0 15px 34px rgba(0,0,0,.24)}
.bb-feature-card img{width:92px;height:92px;object-fit:contain;background:#090b0e;border-radius:7px}
.bb-feature-card small{display:block;color:#d84a43;font-size:9px;letter-spacing:.13em;font-weight:800}
.bb-feature-card b{display:block;margin:5px 0;color:#f2f0eb;font-size:13px;line-height:1.3}
.bb-feature-card span{color:#9b9fa6;font-size:11px}
.bb-sold-archive-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:#d8d5ce!important;font-size:10px;
  font-weight:900;letter-spacing:.12em;text-decoration:none!important;border-bottom:1px solid rgba(226,50,45,.45);padding-bottom:4px}
.bb-sold-archive-link:hover{color:#fff!important;border-color:#e43b35}

.bb-share-product{margin-top:8px}
.bb-enlarge-product{position:absolute;right:14px;bottom:14px;z-index:4;border:1px solid rgba(255,255,255,.14);
  background:rgba(4,6,8,.78);color:#fff;padding:9px 12px;border-radius:7px;font:800 10px/1 sans-serif;letter-spacing:.1em;cursor:pointer;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.product-photo-stage{position:relative}

.bb-lightbox{position:fixed;inset:0;z-index:20000;display:none;align-items:center;justify-content:center;padding:28px;background:rgba(0,0,0,.94)}
.bb-lightbox.open{display:flex}.bb-lightbox img{max-width:min(94vw,1600px);max-height:88vh;object-fit:contain;filter:none}
.bb-lightbox button{position:absolute;width:46px;height:46px;border:1px solid rgba(255,255,255,.16);border-radius:50%;
  background:rgba(6,8,10,.82);color:#fff;font-size:24px;cursor:pointer;backdrop-filter:blur(10px)}
.bb-lightbox-close{right:20px;top:18px}.bb-lightbox-prev{left:22px;top:50%;transform:translateY(-50%)}.bb-lightbox-next{right:22px;top:50%;transform:translateY(-50%)}
.bb-lightbox-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:#b5b8bd;font-size:10px;letter-spacing:.12em}

.bb-recent-searches{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.bb-recent-searches>span{color:#787d84;font-size:9px;font-weight:900;letter-spacing:.13em}
.bb-recent-searches button{min-height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#0a0c0f;color:#c9cbd0;
  font-size:10px;cursor:pointer}.bb-recent-searches button:hover{border-color:rgba(226,50,45,.4);color:#fff}
.bb-recent-searches .bb-clear-searches{border-color:transparent;color:#7f838a;background:transparent}

.bb-save-later{min-height:33px;padding:0 12px;border:1px solid rgba(255,255,255,.10);background:#0a0c0e;color:#d8d9dc;border-radius:4px;
  font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}
.bb-save-later:hover{border-color:rgba(226,50,45,.42);color:#fff}

.bb-watchlist-panel{margin-top:28px}.bb-watch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bb-watch-card{display:grid;grid-template-columns:82px 1fr;gap:12px;padding:11px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#07090b}
.bb-watch-card img{width:82px;height:82px;object-fit:contain;background:#0b0d10;border-radius:6px}
.bb-watch-card h3{margin:4px 0 5px;font-size:13px}.bb-watch-card small{color:#db4c46;font-size:9px;font-weight:900;letter-spacing:.1em}
.bb-watch-actions{display:flex;gap:8px;margin-top:9px}.bb-watch-actions a,.bb-watch-actions button{min-height:30px;padding:0 9px;border:1px solid rgba(255,255,255,.08);
  background:#0b0d10;color:#ddd;font-size:9px;font-weight:900;letter-spacing:.08em;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer}
.bb-watch-actions button{color:#a5a8ad}.bb-watch-empty{padding:18px;border:1px dashed rgba(255,255,255,.08);color:#858991;text-align:center}

.bb-order-tracking{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.06);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bb-order-tracking small{color:#8f949c}.bb-order-tracking a{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid rgba(226,50,45,.35);
  color:#eee!important;text-decoration:none!important;font-size:9px;font-weight:900;letter-spacing:.08em}

.bb-sold-archive-main{width:min(1280px,calc(100% - 44px));margin:48px auto 70px}
.bb-sold-hero{padding:32px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(145deg,rgba(13,15,18,.6),rgba(5,7,9,.45));border-radius:12px}
.bb-sold-hero h1{margin:7px 0 8px;font-size:clamp(42px,6vw,76px);line-height:.88}.bb-sold-hero p{max-width:720px;color:#9ca0a7;line-height:1.65}
.bb-sold-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:20px}
.bb-sold-card{border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#07090b;overflow:hidden}
.bb-sold-card a{text-decoration:none!important}.bb-sold-card img{width:100%;height:230px;object-fit:contain;background:#090b0e;padding:10px}
.bb-sold-card div{padding:14px}.bb-sold-card small{color:#d84943;font-size:9px;font-weight:900;letter-spacing:.1em}.bb-sold-card h2{margin:7px 0 6px;font-size:15px;line-height:1.3}
.bb-sold-card p{margin:0;color:#8f949b;font-size:11px}.bb-sold-empty{margin-top:20px;padding:34px;text-align:center;border:1px dashed rgba(255,255,255,.09);color:#8e929a}
.bb-sold-empty b{display:block;color:#eee;font-size:18px;margin-bottom:7px}

@media(max-width:900px){.bb-feature-grid,.bb-sold-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-watch-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){
  .bb-feature-section,.bb-sold-archive-main{width:min(100% - 26px,1280px)}
  .bb-feature-head{align-items:start;flex-direction:column;gap:6px}
  .bb-feature-grid,.bb-sold-grid,.bb-watch-grid{grid-template-columns:1fr}
  .bb-lightbox{padding:12px}.bb-lightbox-prev{left:8px}.bb-lightbox-next{right:8px}
  .bb-feature-card{grid-template-columns:78px 1fr}.bb-feature-card img{width:78px;height:78px}
}


/* =========================================================
   Rev273D — PRODUCT GALLERY + CART CONTROL CLEANUP
   Visual/interaction cleanup only. No cart transport, session,
   checkout handoff, WooCommerce mutation or PayPal code changes.
   ========================================================= */

/* ONE enlargement control:
   Keep the main-image zoom cursor/click behavior from shop.js.
   Remove both redundant text buttons ("FULL SCREEN" and "VIEW FULL SIZE"). */
.product-page .bb-gallery-full,
.product-page .bb-enlarge-product,
.product-page .bb-lightbox{
  display:none!important;
}
.product-page .product-photo-stage,
.product-page .bb-main-product-image-v262{
  cursor:zoom-in!important;
}

/* Thumbnail shelf should size itself to the number of photos instead of
   drawing a giant full-width rectangle. It caps itself and scrolls only
   when there are genuinely too many thumbnails to fit. */
.product-page .product-thumbs{
  left:50%!important;
  right:auto!important;
  width:max-content!important;
  max-width:calc(100% - 144px)!important;
  height:auto!important;
  min-height:76px!important;
  box-sizing:border-box!important;
  transform:translateX(-50%)!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:8px 10px!important;
}

/* Absolutely lock both sets of photo-navigation arrows in place.
   Hover/focus only changes light/border — never position. */
.product-page .bb-gallery-nav,
.product-page .bb-gallery-nav:hover,
.product-page .bb-gallery-nav:focus,
.product-page .bb-gallery-nav:focus-visible,
.product-page .bb-gallery-nav:active{
  top:50%!important;
  transform:translateY(-50%)!important;
  translate:none!important;
  margin:0!important;
  animation:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,filter .16s ease!important;
  box-shadow:none!important;
}
.product-page .bb-gallery-nav:hover,
.product-page .bb-gallery-nav:focus-visible{
  filter:brightness(1.12)!important;
  border-color:rgba(227,59,53,.68)!important;
  box-shadow:none!important;
}

.product-page .bb-photo-zoom__nav,
.product-page .bb-photo-zoom__nav:hover,
.product-page .bb-photo-zoom__nav:focus,
.product-page .bb-photo-zoom__nav:focus-visible,
.product-page .bb-photo-zoom__nav:active{
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  translate:none!important;
  margin:0!important;
  animation:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,filter .16s ease!important;
  box-shadow:none!important;
}
.product-page .bb-photo-zoom__nav:hover,
.product-page .bb-photo-zoom__nav:focus-visible{
  filter:brightness(1.12)!important;
  border-color:rgba(227,59,53,.68)!important;
  box-shadow:none!important;
}

/* Cart controls: stop "Save for Later" from inheriting the tiny +/- width.
   Let the action controls breathe and wrap cleanly only when necessary. */
.cart-item-controls{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.cart-item-controls > button:not(.bb-save-later):not(.cart-remove){
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  min-height:32px!important;
}
.cart-item-controls .cart-details-link,
.cart-item-controls .bb-save-later,
.cart-item-controls .cart-remove{
  width:auto!important;
  min-width:0!important;
  min-height:34px!important;
  height:34px!important;
  margin-left:0!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.065em!important;
  box-sizing:border-box!important;
}
.cart-item-controls .bb-save-later{
  min-width:112px!important;
  border-color:rgba(255,255,255,.15)!important;
  background:#111419!important;
  color:#e1e3e6!important;
}
.cart-item-controls .bb-save-later:hover{
  border-color:rgba(227,59,53,.55)!important;
  background:#181b20!important;
  color:#fff!important;
}

/* Important action labels were reading a little too tiny.
   Increase only primary commerce/action controls, not every small UI button. */
.product-page .shop-buy{
  font-size:13.5px!important;
  letter-spacing:.065em!important;
  min-height:60px!important;
}
.product-page .shop-wish,
.product-page .bb-share-product{
  font-size:11.5px!important;
  letter-spacing:.065em!important;
  min-height:54px!important;
}
.cart-summary [data-bb-checkout]{
  font-size:13px!important;
  letter-spacing:.075em!important;
  min-height:60px!important;
}
.bb-mini-cart footer button{
  font-size:12px!important;
  letter-spacing:.07em!important;
}

/* Phone gallery shelf still auto-sizes, but can use nearly the whole width. */
@media(max-width:720px){
  .product-page .product-thumbs{
    left:50%!important;
    right:auto!important;
    width:max-content!important;
    max-width:calc(100% - 24px)!important;
    min-height:72px!important;
    transform:translateX(-50%)!important;
  }
  .cart-item-controls .cart-details-link,
  .cart-item-controls .bb-save-later,
  .cart-item-controls .cart-remove{
    min-height:36px!important;
    height:36px!important;
    padding:0 11px!important;
  }
}


/* =========================================================
   Rev273E — SHOP SEARCH OVERLAY + DISNEY UNIVERSE
   ========================================================= */

/* Shop-only search bug:
   Shop's environment rule changes every direct body child to position:relative.
   The global search overlay is dynamically appended at the bottom of <body>,
   so focusing its field was scrolling the browser to that physical location.
   Restore the overlay's intended viewport geometry. */
body.shop-landing-page > .bb-search-overlay{
  position:fixed!important;
  inset:0!important;
  z-index:20000!important;
  margin:0!important;
  transform:none!important;
}

/* Disney Shop By Universe tile — same behavior as the established animated cards. */
.catalog-page .disney-animated-tile{
  position:relative!important;
  overflow:hidden!important;
  background:#030607!important;
}
.catalog-page .disney-animated-tile>img,
.catalog-page .disney-animated-tile>.universe-hover-video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.catalog-page .disney-animated-tile>img{
  z-index:1!important;
  opacity:1!important;
  transition:opacity .22s cubic-bezier(.22,1,.36,1)!important;
  filter:brightness(.91) contrast(1.12) saturate(1.06)!important;
}
.catalog-page .disney-animated-tile>.universe-hover-video{
  z-index:2!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .22s cubic-bezier(.22,1,.36,1)!important;
  filter:brightness(.93) contrast(1.10) saturate(1.04)!important;
}
.catalog-page .disney-animated-tile:hover>img,
.catalog-page .disney-animated-tile:focus-visible>img{
  opacity:0!important;
}
.catalog-page .disney-animated-tile:hover>.universe-hover-video,
.catalog-page .disney-animated-tile:focus-visible>.universe-hover-video{
  opacity:1!important;
}
@media(hover:none),(prefers-reduced-motion:reduce){
  .catalog-page .disney-animated-tile>img{opacity:1!important}
  .catalog-page .disney-animated-tile>.universe-hover-video{display:none!important}
}

/* Disney category environment:
   background has its feather baked into the image against #050505, so no
   hard-edge mask or backdrop blur is needed. */
html body.category-page.category-disney{
  background:#050505!important;
}
html body.category-page.category-disney::before{
  top:0!important;
  height:1180px!important;
  background-image:url("images/category-pages/disney-bg-v273f.webp")!important;
  background-repeat:no-repeat!important;
  background-position:center 28px!important;
  background-size:auto 1100px!important;
  opacity:.44!important;
  filter:brightness(.88) saturate(1.05) contrast(1.05)!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
html body.category-page.category-disney::after{
  background:
    radial-gradient(ellipse 72% 64% at 50% 32%,transparent 0%,transparent 44%,rgba(5,5,5,.12) 61%,rgba(5,5,5,.48) 82%,#050505 100%),
    linear-gradient(180deg,rgba(5,5,5,.22) 0%,rgba(5,5,5,.02) 23%,rgba(5,5,5,.04) 55%,rgba(5,5,5,.55) 86%,#050505 100%)!important;
  opacity:1!important;
}
.category-disney .category-title-logo{
  width:min(520px,64vw)!important;
  max-height:190px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:drop-shadow(0 8px 26px rgba(0,216,255,.16)) brightness(1.03)!important;
}
.category-disney .bb-disney-empty{
  grid-column:1/-1;
  padding:42px 26px;
  border:1px dashed rgba(255,255,255,.10);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(13,15,18,.50),rgba(5,7,9,.40));
  color:#9499a1;
  text-align:center;
}
.category-disney .bb-disney-empty strong{
  display:block;
  color:#f1efeb;
  font-size:18px;
  margin-bottom:8px;
}
@media(max-width:700px){
  html body.category-page.category-disney::before{
    height:820px!important;
    background-position:center 54px!important;
    background-size:auto 760px!important;
    opacity:.58!important;
    filter:brightness(.94) saturate(1.08) contrast(1.05)!important;
  }
  .category-disney .category-title-logo{
    width:min(430px,82vw)!important;
    max-height:145px!important;
  }
}


/* =========================================================
   Rev273F — DISNEY CATEGORY FINAL ART PASS
   Uses the user-supplied white Disney PNG and new character artwork.
   Shop tile animation remains unchanged from Rev273E.
   ========================================================= */

html body.category-page.category-disney::before{
  top:0!important;
  height:1120px!important;
  background-image:url("images/category-pages/disney-bg-v273f.webp")!important;
  background-repeat:no-repeat!important;
  /* Keep the left side calmer for the category title/logo. */
  background-position:72% 54px!important;
  background-size:auto 900px!important;
  opacity:.42!important;
  filter:brightness(.90) saturate(1.07) contrast(1.04)!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}

/* Very long, smooth shading into the site's #050505 black.
   No blur on the artwork itself. */
html body.category-page.category-disney::after{
  background:
    radial-gradient(
      ellipse 74% 66% at 68% 34%,
      transparent 0%,
      transparent 40%,
      rgba(5,5,5,.05) 51%,
      rgba(5,5,5,.13) 61%,
      rgba(5,5,5,.28) 72%,
      rgba(5,5,5,.50) 82%,
      rgba(5,5,5,.76) 92%,
      #050505 100%
    ),
    linear-gradient(
      90deg,
      #050505 0%,
      rgba(5,5,5,.88) 10%,
      rgba(5,5,5,.54) 21%,
      rgba(5,5,5,.22) 34%,
      rgba(5,5,5,.06) 47%,
      transparent 60%,
      rgba(5,5,5,.06) 78%,
      rgba(5,5,5,.32) 90%,
      #050505 100%
    ),
    linear-gradient(
      180deg,
      rgba(5,5,5,.30) 0%,
      rgba(5,5,5,.08) 18%,
      transparent 42%,
      rgba(5,5,5,.08) 62%,
      rgba(5,5,5,.34) 76%,
      rgba(5,5,5,.68) 88%,
      #050505 100%
    )!important;
  opacity:1!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

/* User-supplied white Disney wordmark. */
.category-disney .category-title-logo{
  width:min(500px,58vw)!important;
  height:auto!important;
  max-height:160px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:
    drop-shadow(0 4px 14px rgba(0,0,0,.72))
    drop-shadow(0 0 16px rgba(255,255,255,.06))!important;
  opacity:.98!important;
}

@media(max-width:700px){
  html body.category-page.category-disney::before{
    height:820px!important;
    background-position:center 66px!important;
    background-size:auto 690px!important;
    opacity:.58!important;
    filter:brightness(.96) saturate(1.08) contrast(1.035)!important;
  }

  html body.category-page.category-disney::after{
    background:
      radial-gradient(
        ellipse 92% 68% at 50% 32%,
        transparent 0%,
        transparent 42%,
        rgba(5,5,5,.08) 56%,
        rgba(5,5,5,.30) 72%,
        rgba(5,5,5,.62) 87%,
        #050505 100%
      ),
      linear-gradient(
        180deg,
        rgba(5,5,5,.18) 0%,
        transparent 30%,
        rgba(5,5,5,.08) 60%,
        rgba(5,5,5,.44) 80%,
        #050505 100%
      )!important;
  }

  .category-disney .category-title-logo{
    width:min(390px,78vw)!important;
    max-height:122px!important;
  }
}
