/* One.v2.48 — Owner-controlled Trending Products rail on every public screen size. */
.mobile-trending-label::before{
  content:"🔥";
  display:inline-block;
  flex:0 0 auto;
  margin-right:7px;
  font-size:1.15em;
  line-height:1;
}
.mobile-trending-label{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media (min-width:821px){
  body.reference-storefront-v415 .mobile-market-trending,
  body .mobile-market-trending{
    display:grid!important;
    grid-template-columns:154px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-height:66px!important;
    height:66px!important;
    margin:10px 0 8px!important;
    padding:6px 10px!important;
    overflow:hidden!important;
    visibility:visible!important;
    opacity:1!important;
    border:1px solid #d6dfd8!important;
    border-radius:12px!important;
    background:linear-gradient(90deg,#f7faf6 0%,#fffdf6 100%)!important;
    box-shadow:0 8px 22px rgba(0,78,52,.06)!important;
  }
  body.reference-storefront-v415 .mobile-trending-label,
  body .mobile-trending-label{
    width:154px!important;
    min-width:154px!important;
    min-height:52px!important;
    height:52px!important;
    padding:7px 12px!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,#00663f,#004d31)!important;
    color:#fff!important;
    font:900 13px/1 Arial,sans-serif!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }
  body.reference-storefront-v415 .mobile-trending-track,
  body .mobile-trending-track{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
    width:100%!important;
    height:54px!important;
    overflow:hidden!important;
    visibility:visible!important;
    opacity:1!important;
    scroll-behavior:auto!important;
    scroll-snap-type:none!important;
    scrollbar-width:none!important;
    overscroll-behavior-x:contain!important;
    will-change:scroll-position!important;
  }
  body .mobile-trending-track::-webkit-scrollbar{display:none!important}
  body.reference-storefront-v415 .mobile-trending-card,
  body .mobile-trending-card{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-rows:21px 18px!important;
    align-items:center!important;
    column-gap:9px!important;
    row-gap:0!important;
    flex:0 0 226px!important;
    width:226px!important;
    min-width:226px!important;
    max-width:226px!important;
    min-height:52px!important;
    height:52px!important;
    margin:0!important;
    padding:4px 10px 4px 5px!important;
    border:1px solid #dfe5df!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#073f2e!important;
    box-shadow:0 3px 10px rgba(0,53,36,.06)!important;
    overflow:hidden!important;
    text-align:left!important;
  }
  body .mobile-trending-card img{
    grid-row:1/3!important;
    width:44px!important;
    height:44px!important;
    border-radius:8px!important;
    object-fit:cover!important;
    background:#f4f6f2!important;
  }
  body .mobile-trending-card b{
    align-self:end!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#073f2e!important;
    font:800 12px/1.1 Arial,sans-serif!important;
  }
  body .mobile-trending-card span{
    align-self:start!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#bd7200!important;
    font:900 12px/1.1 Arial,sans-serif!important;
  }
  body .mobile-trending-card.is-loading{
    grid-template-columns:28px minmax(0,1fr)!important;
    flex-basis:240px!important;
    width:240px!important;
    min-width:240px!important;
    max-width:240px!important;
  }
}
@media (max-width:820px){
  .mobile-trending-label::before{margin-right:4px;font-size:10px}
}
/* Owner visibility switches always win over older mobile visibility guards. */
html body .mobile-market-trending.trending-settings-hidden,
html body.reference-storefront-v415 .mobile-market-trending.trending-settings-hidden,
html body.oneza-mobile-black-active .mobile-market-trending.trending-settings-hidden{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
html::after{content:"One.v2.48-trending-owner-settings";display:none}
/* One.v2.48 — prevent active Trending thumbnails/cards from flashing during product gallery rotation. */
.mobile-market-trending,
.mobile-trending-track,
.mobile-trending-card,
.mobile-trending-card img{
  animation:none!important;
  transition:none!important;
  backface-visibility:hidden;
}
.mobile-trending-card img{
  opacity:1!important;
  visibility:visible!important;
  contain:paint;
}
html::before{content:"One.v2.48-active-selling-no-blink";display:none}
