/* Shop navigation only. Account, cart, forms and the chat launcher are unchanged. */
.tb-shop,.tb-shop * { box-sizing:border-box; }
/* The legacy reset colors every span/header. Restore inheritance inside this dialog. */
.tb-shop :where(div,nav,header,footer,span,strong,section) { color:inherit; }
.drawer.tb-shop { position:fixed; inset:0; z-index:2147482500; margin:0; padding:0; visibility:hidden; pointer-events:none; font-family:Arial,sans-serif; transition:visibility 0s linear .28s; }
.drawer.tb-shop.active { visibility:visible; pointer-events:auto; transition-delay:0s; }
.drawer.tb-shop:not(.active) .bl-shop-sub { display:none !important; }
#tbShopDrawer .drawer__backdrop { position:absolute; inset:0; z-index:0; display:block; background:rgb(10 15 25 / 65%); opacity:0; transition:opacity .28s ease; }
#tbShopDrawer.active .drawer__backdrop { opacity:1; }
#tbShopDrawer .drawer__wrapper { position:absolute; inset:0 auto 0 0; z-index:1; display:flex; flex-direction:row; width:auto; max-width:100%; height:100%; transform:translateX(-100%); background:transparent; pointer-events:none; transition:transform .28s cubic-bezier(.22,.61,.36,1); }
#tbShopDrawer.active .drawer__wrapper { transform:translateX(0); }
#tbShopDrawer.active .drawer__wrapper { overflow:hidden; }
#tbShopDrawer .bl-shop-sub { left:auto; z-index:1; transition:none; }
.tb-shop .drawer__component { position:relative; inset:auto; flex:none; display:flex; flex-direction:column; width:340px; max-width:100vw; height:100%; padding:0; margin:0; overflow:hidden; transform:none; border:0; box-shadow:none; pointer-events:auto; }
.tb-shop .tb-shop-main { background:#12131e; color:#fff; }
.tb-shop .tb-shop-panel { width:380px; background:#fff; color:#111827; }
.tb-shop .bl-shop-sub:not(.active) { display:none !important; }
.tb-shop .bl-shop-sub.active { display:flex; }
.tb-shop-heading,.tb-shop-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; flex:none; min-height:68px; padding:12px 20px; border-bottom:1px solid rgb(255 255 255 / 14%); }
.tb-shop-panel-heading { border-color:#e5e7eb; }
.tb-shop .tb-shop-brand { display:block; min-width:0; color:#fff; text-decoration:none; }
.tb-shop .tb-shop-brand img { display:block; width:190px; max-width:100%; height:36px; object-fit:contain; object-position:left center; }
.tb-shop .tb-shop-close { position:static; display:grid; place-items:center; flex:none; width:44px; height:44px; min-width:44px; padding:10px; border:0; border-radius:4px; background:transparent; color:inherit; cursor:pointer; opacity:1; }
.tb-shop .tb-shop-close:hover { background:rgb(128 128 128 / 12%); }
.tb-shop-close svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; }
.tb-shop .tb-shop-scroll { flex:1; min-height:0; padding:8px 20px 20px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#888b96 transparent; }
.tb-shop .tb-shop-navigation { display:grid; }
.tb-shop .bl-shop__secondary-action { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:68px; padding:14px 0; text-align:left; background:none; color:inherit; border:0; border-bottom:1px solid #32333f; cursor:pointer; }
.tb-shop .bl-shop__secondary-action strong { display:block; font-size:19px; line-height:1.25; font-weight:700; }
.tb-shop .bl-shop__secondary-action small { display:block; margin-top:4px; font-size:12px; line-height:1.4; color:#b9becb; }
.tb-shop .bl-shop__secondary-action > span:last-child { flex:none; font-size:20px; color:#a2a9ff; }
.tb-shop .bl-shop__secondary-action[aria-expanded=true] strong,.tb-shop .bl-shop__secondary-action:hover strong { color:#b8bfff; }
.tb-shop-category-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:22px 0 12px; }
/* Company page heading styles use important colors; keep both drawer themes readable. */
#tbShopDrawer .tb-shop-category-heading h2 { margin:0; font-size:14px; color:#fff !important; font-weight:700; }
.tb-shop-category-heading a { font-size:12px; color:#c5caff; text-underline-offset:4px; }
.tb-shop-mini-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.tb-shop-mini-grid a { display:flex; align-items:center; gap:7px; min-width:0; padding:8px; border:1px solid #343643; border-radius:4px; color:white; text-decoration:none; font-size:11px; line-height:1.4; }
.tb-shop-mini-grid a:hover { background:#1c1e2e; }
.tb-shop-mini-grid img { display:block; flex:none; width:36px; height:40px; object-fit:contain; background:#fff; border-radius:2px; }
.tb-shop-wholesale { display:block; margin-top:18px; font-size:12px; line-height:1.6; color:#c4c8d2; text-decoration:none; }
.tb-shop-wholesale span { display:block; color:white; font-weight:700; }
.tb-shop-bottom { flex:none; padding:12px 20px; border-top:1px solid #343643; }
.tb-shop-bottom a,.tb-shop-browse { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:12px 14px; background:#fff; color:#111827; font-size:14px; font-weight:700; text-decoration:none; }
#tbShopDrawer .tb-shop-bottom > a { color:#111827; }
.tb-shop .bl-shop-tray__back-btn { display:flex; align-items:center; gap:8px; min-height:44px; border:0; background:transparent; padding:8px 0; font:400 14px Arial,sans-serif; color:#111827; cursor:pointer; }
.tb-shop .tb-shop-panel .tb-shop-scroll { padding-top:20px; }
#tbShopDrawer .tb-shop-panel h2 { margin:0 0 14px; color:#111827 !important; font-size:20px; font-weight:700; line-height:1.3; }
.tb-shop-card-list { display:grid; gap:0; }
.tb-shop .tb-shop-card { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 0; border:0; border-bottom:1px solid #e5e7eb; border-radius:0; color:#111827; text-decoration:none; font-size:14px; font-weight:400; line-height:1.45; }
.tb-shop .tb-shop-card:hover { color:#454bd0; }
.tb-shop-arrow { flex:none; color:#6366f1; }
.tb-shop-product-grid { display:grid; gap:0; }
.tb-shop-product-grid a { display:flex; align-items:center; gap:12px; min-width:0; padding:12px 0; border-bottom:1px solid #e5e7eb; color:#111827; text-decoration:none; font-size:13px; font-weight:400; line-height:1.45; }
.tb-shop-product-grid img { display:block; flex:none; width:64px; height:64px; object-fit:contain; background:#fff; }
#tbShopDrawer .tb-shop-browse { margin-top:20px; color:#fff; background:#12131e; }
.tb-shop :is(a,button):focus-visible { outline:2px solid #828bff; outline-offset:2px; }
@media(max-width:800px) {
  .tb-shop .drawer__component { width:min(380px,100vw); }
  #tbShopDrawer .tb-shop-panel { position:absolute; inset:0; z-index:2; width:min(380px,100vw); }
}
@media(prefers-reduced-motion:reduce) { .drawer.tb-shop,#tbShopDrawer .drawer__wrapper,#tbShopDrawer .drawer__backdrop,.tb-shop * { scroll-behavior:auto; transition:none; } }
