/* v0.13.337 — "Vitrina": the seller's showcase blocks on the store page (web, Android WebView). Shelf cards reuse the
   product page feed cards (product-feed.css). */
.tbsc{display:grid;gap:10px;margin-top:10px}
.tbsc-preview{margin:10px 0 0;padding:11px 14px;border:1px solid #ffe2a8;border-radius:14px;background:#fff7e6;color:#8a5a00;font-size:13px;font-weight:750;line-height:1.4}
.tbsc-block{position:relative;min-width:0;padding:16px;border:1px solid #e2e9f1;border-radius:20px;background:#fff}
.tbsc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tbsc-head h2{min-width:0;margin:0;overflow:hidden;color:#10233f;font-size:20px;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.tbsc-more{flex:0 0 auto;color:#075bff;font-size:14px;font-weight:750;text-decoration:none;white-space:nowrap}
.tbsc-more:hover{text-decoration:underline}
.tbsc-nav{position:absolute;z-index:3;top:50%;display:grid;width:40px;height:40px;place-items:center;padding:0 0 3px;border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 4px 16px rgba(10,30,60,.18);color:#10233f;font:inherit;font-size:26px;line-height:1;cursor:pointer;transform:translateY(-50%)}
.tbsc-nav.is-prev{left:8px}.tbsc-nav.is-next{right:8px}
.tbsc-nav[hidden]{display:none!important}
.tbsc-nav:focus-visible,.tbsc-dots button:focus-visible{outline:2px solid #075bff;outline-offset:2px}
/* banner: 3:1 pictures, swipe / arrows / dots */
.tbsc-banner{padding:0;overflow:hidden;border:0;background:#eef2f7}
.tbsc-slides{display:flex;overflow-x:auto;border-radius:20px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tbsc-slides::-webkit-scrollbar{display:none}
.tbsc-slide{display:block;flex:0 0 100%;aspect-ratio:var(--tbsc-ratio,3/1);background:#eef2f7;scroll-snap-align:start}
.tbsc-slide img{display:block;width:100%;height:100%;object-fit:cover}
.tbsc-dots{position:absolute;right:0;bottom:10px;left:0;display:flex;justify-content:center;gap:6px;pointer-events:none}
.tbsc-dots button{width:8px;height:8px;padding:0;border:0;border-radius:4px;background:rgba(255,255,255,.62);box-shadow:0 1px 3px rgba(0,0,0,.18);cursor:pointer;pointer-events:auto;transition:width .2s ease}
.tbsc-dots button.is-active{width:20px;background:#fff}
/* v0.13.343: banners one under the other (two in a row on a computer), each picture in its own proportions */
.tbsc-banner.is-stack{display:grid;align-items:start;gap:10px;overflow:visible;background:transparent}
.tbsc-banner.is-stack .tbsc-slide{overflow:hidden;border-radius:20px}
@media(min-width:761px){.tbsc-banner.is-stack.has-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}.tbsc-banner.is-stack.has-pairs .tbsc-slide:not(.is-half){grid-column:1/-1}.tbsc-banner.is-stack .tbsc-slide:not(.is-half),.tbsc-banner[style*="--tbsc-ratio"] .tbsc-slide{width:100%;max-height:440px}}
/* v0.13.343: picture tiles uploaded by the seller (2 in a row on a phone, 4 on a computer) */
.tbsc-promo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tbsc-promo-tile{display:grid;align-content:start;min-width:0;gap:7px;color:#10233f;text-decoration:none}
.tbsc-promo-img{display:block;overflow:hidden;aspect-ratio:1;border-radius:16px;background:#f5f7fa}
.tbsc-promo-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
a.tbsc-promo-tile:hover .tbsc-promo-img img{transform:scale(1.03)}
.tbsc-promo-tile b{overflow:hidden;font-size:14px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.tbsc-banner.is-stack{gap:8px}.tbsc-banner.is-stack .tbsc-slide{border-radius:18px}.tbsc-promo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tbsc-promo-img{border-radius:14px}.tbsc-promo-tile b{font-size:13px}}
/* shelves (feed cards in a horizontal row) */
.pfeed-section.tbsc-cards{position:relative;margin:0}
.tbsc-track{display:grid;grid-auto-columns:calc((100% - 56px) / 5);grid-auto-flow:column;gap:14px;overflow-x:auto;padding-bottom:2px;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tbsc-track::-webkit-scrollbar{display:none}
.tbsc-track>*{scroll-snap-align:start}
.tbsc-shelf .tbsc-nav{top:34%}
.tbsc-shelf .tbsc-nav.is-prev{left:-6px}.tbsc-shelf .tbsc-nav.is-next{right:-6px}
@media(hover:none){.tbsc-nav{display:none!important}}
@media(max-width:1100px){.tbsc-track{grid-auto-columns:calc((100% - 42px) / 4)}}
@media(max-width:760px){
  .tbsc-block{padding:14px;border-radius:18px}
  .tbsc-banner{padding:0}
  .tbsc-slides{border-radius:18px}
  .tbsc-head{margin-bottom:10px}
  .tbsc-head h2{font-size:17px}
  .tbsc-track{grid-auto-columns:calc((100% - 10px) / 2.2);gap:10px}
}
/* category tiles */
.tbsc-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.tbsc-tile{display:grid;min-width:0;gap:4px;padding:10px;border-radius:16px;background:#f5f7fa;color:#10233f;text-decoration:none;transition:background .15s ease}
.tbsc-tile:hover{background:#edf2f8}
.tbsc-tile-img{display:block;overflow:hidden;aspect-ratio:1;border-radius:12px;background:#fff}
.tbsc-tile-img img{display:block;width:100%;height:100%;object-fit:cover}
.tbsc-tile b{overflow:hidden;font-size:14px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.tbsc-tile small{color:#7c8ca0;font-size:12px}
@media(max-width:760px){.tbsc-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tbsc-tile{padding:7px;border-radius:14px}.tbsc-tile b{font-size:12px}.tbsc-tile small{font-size:11px}}
/* text */
.tbsc-text-body p{margin:0 0 10px;color:#33445c;font-size:15px;line-height:1.6}
.tbsc-text-body p:last-child{margin-bottom:0}
/* pinned reviews */
.tbsc-review-track{grid-auto-columns:calc((100% - 28px) / 3)}
@media(max-width:760px){.tbsc-review-track{grid-auto-columns:84%}}
.tbsc-review{display:flex;min-width:0;flex-direction:column;gap:8px;padding:14px;border-radius:16px;background:#f5f7fa}
.tbsc-stars{color:#ffab18;font-size:16px;letter-spacing:1px;line-height:1}
.tbsc-stars i{color:#d5dce5;font-style:normal}
.tbsc-review p{margin:0;color:#1d2d44;font-size:14px;line-height:1.5}
.tbsc-review small{color:#7c8ca0;font-size:12px}
.tbsc-review-product{display:flex;min-width:0;align-items:center;gap:8px;margin-top:auto;color:#10233f;font-size:12px;font-weight:700;text-decoration:none}
.tbsc-review-product img{width:36px;height:36px;flex:0 0 auto;border-radius:8px;background:#fff;object-fit:cover}
.tbsc-review-product span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbsc-all-title{margin:18px 0 0;color:#10233f;font-size:22px;font-weight:850}
@media(max-width:760px){.tbsc-all-title{margin-top:14px;font-size:18px}}
/* store grid category chip (store-filters.js) */
.tb-store-filters .tb-store-cat-chip{background:#e8f0ff!important;color:#075bff!important;font-weight:750}
@media(prefers-reduced-motion:reduce){.tbsc-slides,.tbsc-track{scroll-behavior:auto}.tbsc-dots button{transition:none}}
/* dark theme */
html[data-theme="dark"] .tbsc-block{border-color:#2c3847;background:#151c26}
html[data-theme="dark"] .tbsc-banner{background:#1b2430}
html[data-theme="dark"] .tbsc-banner.is-stack{background:transparent}
html[data-theme="dark"] .tbsc-promo-tile{color:#edf3fa}
html[data-theme="dark"] .tbsc-promo-img{background:#202936}
html[data-theme="dark"] .tbsc-head h2,html[data-theme="dark"] .tbsc-all-title,html[data-theme="dark"] .tbsc-tile,html[data-theme="dark"] .tbsc-review-product{color:#edf3fa}
html[data-theme="dark"] .tbsc-tile,html[data-theme="dark"] .tbsc-review{background:#202936}
html[data-theme="dark"] .tbsc-tile:hover{background:#29364a}
html[data-theme="dark"] .tbsc-tile-img{background:#1b2430}
html[data-theme="dark"] .tbsc-text-body p,html[data-theme="dark"] .tbsc-review p{color:#c9d5e3}
html[data-theme="dark"] .tbsc-nav{background:rgba(32,41,54,.94);color:#edf3fa}
html[data-theme="dark"] .tbsc-preview{border-color:#5a4520;background:#2b2414;color:#f5c66b}
html[data-theme="dark"] .tb-store-filters .tb-store-cat-chip{background:#1d2b40!important;color:#9fc0ff!important}
