/* Active catalogue listings only. Home, product detail and quotation print retain their own layouts. */
@media screen {
  body.customer-shop.world-trade-design.world-catalog-listing { color:#e6edf7; }
  body.customer-shop.world-trade-design.world-catalog-listing main.wrap { width:100%!important; max-width:none!important; margin-left:0!important; margin-right:0!important; padding-left:0!important; padding-right:clamp(12px,2vw,28px)!important; }
  body.customer-shop.world-trade-design.world-catalog-listing .work { display:grid; grid-template-columns:200px minmax(0,1fr)!important; gap:16px; align-items:start; margin-left:0; padding-left:0; }
  body.customer-shop.world-trade-design.world-catalog-listing .catalog { background:transparent; color:#e6edf7; padding-top:0; }
  body.customer-shop.world-trade-design.world-catalog-listing .catalog-head h2 { color:#f8fafc; font-size:22px; }
  body.customer-shop.world-trade-design.world-catalog-listing :is(.catalog-head p,.catalog-breadcrumb,#shopBrandLabel,#fullPager,#grid>[role]) { color:#bac8dc; }
  body.customer-shop.world-trade-design.world-catalog-listing #shopBrandLabel { color:#c7d4e6!important; font-size:12px; flex-wrap:wrap; gap:8px; }
  body.customer-shop.world-trade-design.world-catalog-listing :is(#sort,#shopBrand) { background:#151e2b; border:1px solid #33445e; color:#e9f0fa; border-radius:6px; min-height:40px; }
  body.customer-shop.world-trade-design.world-catalog-listing :is(#fullPager button,#grid>[role] button) { background:#15243a; border:1px solid #375274; color:#eef5ff; border-radius:6px; }
  body.customer-shop.world-trade-design.world-catalog-listing #fullPager button:disabled { color:#8598b2; opacity:.7; }
  body.customer-shop.world-trade-design.world-catalog-listing .shop-empty { background:#111b2a; border-color:#293c57; color:#dbe7f7; border-radius:8px; }
  body.customer-shop.world-trade-design.world-catalog-listing .shop-empty a { color:#83b6ff; }

  body.customer-shop.world-trade-design .world-catalog-sidebar-shell[hidden] { display:none!important; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) .world-catalog-sidebar-shell { display:block; min-width:0; width:200px; margin-left:0; padding-left:0; position:sticky; top:calc(var(--site-header-height,130px) + 16px); }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar:not([hidden]) { display:block!important; position:static; width:100%; min-width:0; max-height:calc(100dvh - var(--site-header-height,130px) - 32px); overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:12px 12px 12px 0; padding-left:0; margin:0; margin-left:0; border:1px solid #ffffff14; border-left:0; border-radius:0 8px 8px 0; background:#111925d9; backdrop-filter:blur(12px); box-shadow:none; color:#c3d0e1; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar[hidden],
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar [hidden] { display:none!important; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar h2 { display:block; color:#F8FAFC; font-size:16px; font-weight:750; line-height:1.4; margin:0 0 10px; padding:0 0 10px; border-bottom:1px solid #ffffff14; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar .shop-side-group { margin:0; padding:3px 0; border:0; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar .shop-side-group h3 { margin:0; padding:0; color:#e3edf9; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar :is(a,.family-button,.customer-type-button) { display:flex; align-items:center; min-height:44px; width:100%; padding:9px 8px; background:transparent; border:1px solid transparent; border-radius:5px; color:#E6EDF7; font-size:16px; line-height:1.45; text-align:left; text-decoration:none; font-weight:650; white-space:normal; overflow-wrap:anywhere; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar .shop-side-group h3 a { color:#F8FAFC; font-weight:750; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar .customer-type-button { padding-left:16px; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar :is([aria-current="page"],[data-current-group="true"]) { color:#A9CEFF; background:#0b315b; border-color:#154d83; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar a:hover { color:#fff; background:#1a2a40; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) .world-catalog-sidebar-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:44px; border:1px solid #334764; border-radius:7px; padding:10px 12px; color:#dceaff; background:#15243a; text-align:left; font:inherit; font-size:16px; font-weight:700; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) .world-catalog-sidebar-toggle::after { content:'⌄'; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) .world-catalog-sidebar-toggle[aria-expanded="true"]::after { content:'⌃'; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) .world-catalog-sidebar-toggle[hidden] { display:none!important; }

  body.customer-shop.world-trade-design.world-catalog-listing #grid.shop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:12px; align-items:stretch; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:start; gap:10px; min-width:0; padding:10px; border:1px solid #C8CED6; border-radius:8px; background:#E8EBEE; box-shadow:none; color:#263241; transform:none; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card:hover { border-color:#82b4fb; box-shadow:0 5px 20px #00000024; transform:none; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-media { position:relative; display:flex; align-items:center; justify-content:center; width:100%; height:auto; min-height:0; aspect-ratio:1; padding:0; margin:0; border:0; border-radius:6px; background:#F3F4F6; overflow:hidden; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-media>:is(img,svg) { position:static; inset:auto; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center; padding:6px; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-photo-placeholder { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:2px; width:100%; height:100%; padding:4px; color:#475569; text-align:center; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-photo-placeholder img { display:block; width:68%; height:22px; max-height:22px; flex:0 0 22px; object-fit:contain; opacity:1; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-photo-placeholder>span { font-size:12px; line-height:1.3; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-body { display:flex; flex-direction:column; align-self:stretch; min-width:0; padding:0; gap:4px; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-card-badge { display:block; align-self:flex-start; max-width:100%; padding:2px 5px; color:#3D5066; background:#DCE2E8; border-radius:3px; font-size:12px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-title { min-height:0; margin:0; color:#263241; font-size:14px; font-weight:750; line-height:1.4; overflow-wrap:anywhere; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-title>a { min-height:0; color:inherit; text-decoration:none; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-spec { margin:0; font-size:12px; line-height:1.4; font-weight:500; color:#475569!important; overflow-wrap:anywhere; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-card-actions { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:6px 8px; margin-top:auto; padding-top:4px; min-width:0; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-price { min-width:0; margin:0; color:#263241; font-size:14px; font-weight:750; line-height:1.45; overflow-wrap:anywhere; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-price-inquiry { color:#263241; font-size:14px; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-price small { display:block; margin-top:2px; font-size:12px; font-weight:500; color:#475569!important; line-height:1.4; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-detail { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:auto; min-width:80px; min-height:36px; margin:0 0 0 auto; padding:7px 10px; border:0; border-radius:6px; background:#075ECF; color:#fff; text-decoration:none; white-space:nowrap; font-size:12px; font-weight:700; line-height:1.4; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-detail:hover { background:#0052cc; color:#fff; }
  body.customer-shop.world-trade-design.world-catalog-listing #grid .product-safety-hold { margin:4px 0; padding:6px; font-size:12px; }
  body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) :is(#familySidebar a,.world-catalog-sidebar-toggle,#grid a,#shopBrand,#sort):focus-visible { outline:3px solid #69a7ff; outline-offset:3px; }

  @media (max-width:1359px) {
    body.customer-shop.world-trade-design.world-catalog-listing #grid.shop-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card { grid-template-columns:64px minmax(0,1fr); }
  }
  @media (max-width:999px) {
    body.customer-shop.world-trade-design.world-catalog-listing #grid.shop-grid { grid-template-columns:minmax(0,1fr)!important; }
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card { grid-template-columns:80px minmax(0,1fr); }
  }
  @media (max-width:1000px) {
    body.customer-shop.world-trade-design.world-catalog-listing .work { grid-template-columns:minmax(0,1fr)!important; }
    body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) .world-catalog-sidebar-shell { position:static; width:100%; }
    body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar:not([hidden]) { max-height:340px; margin-top:8px; }
    body.customer-shop.world-trade-design:is(.world-catalog-listing,.customer-item-page) #familySidebar a { min-height:44px; }
    body.customer-shop.world-trade-design.world-catalog-listing #grid.shop-grid { grid-template-columns:minmax(0,1fr)!important; }
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card { grid-template-columns:80px minmax(0,1fr); }
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-detail { min-height:44px; }
    body.customer-shop.world-trade-design.world-catalog-listing .catalog-head h2 { font-size:20px; }
  }
  @media (max-width:380px) {
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card { grid-template-columns:64px minmax(0,1fr); gap:10px; }
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-card-actions { flex-wrap:wrap; }
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card .shop-card-detail { margin-left:auto; }
  }
  @media (prefers-reduced-motion:reduce) {
    body.customer-shop.world-trade-design.world-catalog-listing #grid .shop-wide-card { transition:none; }
  }
}
