/* V51 — minimal scoped override, loaded AFTER the existing home-category-shelf.css.
   Keeps legacy shelf artwork and card look while distributing three real industries. */
.tlb-shelf51 .tlb-shelf48__shops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  width: 100%;
  min-width: 0;
}
.tlb-shelf51 .tlb-shelf48__shop { min-width: 0; width: 100%; max-width: none; }
.tlb-shelf51 .tlb-shelf48__scene { display: block; overflow: hidden; }
.tlb-shelf51 .tlb-shelf48__scene img { display: block; max-width: 100%; }
.tlb-shelf51__fallback { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 150px; background: #fff2f8; color: #ce0083; font-size: 32px; }
@media (max-width: 720px) {
  .tlb-shelf51 .tlb-shelf48__shops { grid-template-columns: repeat(3, minmax(210px, 1fr)); min-width: 690px; }
  .tlb-shelf51 .tlb-shelf48__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* V52 white-and-pink commerce polish — isolated to category shelf. */
.tlb-shelf51.tlb-shelf48{width:min(1360px,calc(100% - 32px));margin:24px auto 36px;padding:20px 0;background:#fff;color:#222;}
.tlb-shelf51 .tlb-shelf48__head{padding:0 0 18px;margin-bottom:14px;border-bottom:1px solid #eaeaea;}
.tlb-shelf51 .tlb-shelf48__head h2{color:#222;font-size:22px;font-weight:650;}
.tlb-shelf51 .tlb-shelf48__head p{font-size:13px;color:#666;}
.tlb-shelf51 .tlb-shelf48__all{background:#fff;border-color:#eaeaea;color:#FF05A5!important;font-size:12px;}
.tlb-shelf51 .tlb-shelf48__stage{min-width:0;padding-bottom:0;}
.tlb-shelf51 .tlb-shelf48__shops{gap:16px;padding:0;}
.tlb-shelf51 .tlb-shelf48__shop{height:230px;overflow:hidden;transition:none;}
.tlb-shelf51 .tlb-shelf48__shop:hover{transform:none;}
.tlb-shelf51 .tlb-shelf48__scene{inset:0;border:1px solid #ededed;background:#fff;}
.tlb-shelf51 .tlb-shelf48__scene img{object-fit:cover;height:100%;width:100%;}
.tlb-shelf51 .tlb-shelf48__pill{position:absolute;left:0;bottom:0;width:100%;min-height:40px;border:0;border-top:1px solid #eee;background:rgba(255,255,255,.96);color:#222;font-size:13px;font-weight:650;display:flex;align-items:center;justify-content:center;padding:9px 12px;white-space:normal;}
.tlb-shelf51 .tlb-shelf48__ledge{display:none;}
.tlb-shelf51 .tlb-shelf48__more{padding:14px 0 0;margin:16px 0 0;border-top:1px solid #eee;font-size:12px;}
.tlb-shelf51 .tlb-shelf48__more a{color:#FF05A5;}
@media(max-width:740px){.tlb-shelf51.tlb-shelf48{width:calc(100% - 24px);padding:14px 0;margin:16px auto 28px}.tlb-shelf51 .tlb-shelf48__head{gap:10px}.tlb-shelf51 .tlb-shelf48__shop{height:190px}.tlb-shelf51 .tlb-shelf48__stage{min-width:0}.tlb-shelf51 .tlb-shelf48__shops{grid-template-columns:repeat(3, minmax(205px,1fr));min-width:639px;gap:10px}.tlb-shelf51 .tlb-shelf48__scroll{overflow-x:auto}}
