/*
 * TradeFlow 0.5.2
 * Finalna, odseparowana warstwa produktu. Ładowana po historycznym arkuszu,
 * aby aplikacja zachowywała się jak samodzielny SaaS, a nie moduł motywu WP.
 */

body.tradeflow-app-shell{
  --tf-shell:#eef3f8;
  --tf-surface:#ffffff;
  --tf-surface-soft:#f7f9fc;
  --tf-ink:#10243d;
  --tf-muted:#6f8197;
  --tf-line:#dbe5ef;
  --tf-navy:#071a35;
  --tf-navy-2:#0b315c;
  --tf-blue:#287df0;
  --tf-orange:#ff8733;
  min-width:320px;
  overflow-x:hidden;
  background:var(--tf-shell)!important;
  color:var(--tf-ink);
  font-family:"Segoe UI Variable","Segoe UI",Inter,-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.tradeflow-app-shell .hs-b2b-app{
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 92% 0,rgba(40,125,240,.07),transparent 26%),
    linear-gradient(145deg,#f4f7fb,#edf3f8 54%,#f6f8fb)!important;
  box-shadow:none!important;
}

body.tradeflow-app-shell .hs-b2b-app,
body.tradeflow-app-shell .hs-b2b-app *{
  scrollbar-width:thin;
  scrollbar-color:#b9c8d8 transparent;
}

body.tradeflow-app-shell .tf-ui-icon,
body.tradeflow-app-shell .tf-nav-icon svg{
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.tradeflow-app-shell .hs-b2b-account-icon .tf-ui-icon{
  width:21px;
  height:21px;
}

body.tradeflow-app-shell .hs-b2b-favorite-button .tf-ui-icon{
  width:17px;
  height:17px;
}

body.tradeflow-app-shell .hs-b2b-payment-icon .tf-ui-icon{
  width:24px;
  height:24px;
}

body.tradeflow-app-shell .hs-b2b-empty>span .tf-ui-icon{
  width:34px;
  height:34px;
}

body.tradeflow-app-shell .hs-b2b-dashboard-tile>span:first-child::before{
  content:none!important;
}

body.tradeflow-app-shell .hs-b2b-dashboard-tile>span:first-child{
  font-size:0!important;
}

body.tradeflow-app-shell .hs-b2b-primary-button,
body.tradeflow-app-shell .hs-b2b-secondary-button,
body.tradeflow-app-shell .hs-b2b-light-button{
  min-height:46px;
  border-radius:12px!important;
  font-size:12px;
  font-weight:800!important;
  letter-spacing:-.01em;
}

body.tradeflow-app-shell .hs-b2b-primary-button{
  border:1px solid rgba(255,255,255,.20)!important;
  background:linear-gradient(135deg,#ff7d2a,#ff9a49)!important;
  box-shadow:0 13px 28px rgba(255,126,42,.25)!important;
}

body.tradeflow-app-shell .hs-b2b-secondary-button{
  border:1px solid rgba(30,83,137,.22)!important;
  background:linear-gradient(145deg,#0a2443,#0d345f)!important;
  box-shadow:0 9px 20px rgba(8,38,72,.15)!important;
}

body.tradeflow-app-shell .hs-b2b-light-button{
  border:1px solid #d9e4ef!important;
  background:#f6f9fc!important;
  color:#29425f!important;
}

body.tradeflow-app-shell .hs-b2b-content-card,
body.tradeflow-app-shell .hs-b2b-product-card,
body.tradeflow-app-shell .hs-b2b-account-card,
body.tradeflow-app-shell .hs-b2b-cart-card,
body.tradeflow-app-shell .hs-b2b-order-card,
body.tradeflow-app-shell .hs-b2b-settings-card{
  border:1px solid rgba(203,218,233,.88)!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 14px 34px rgba(18,49,83,.065)!important;
}

@media(min-width:851px){
  body.tradeflow-app-shell .hs-b2b-app{
    display:grid!important;
    grid-template-columns:266px minmax(0,1fr)!important;
    grid-template-rows:94px minmax(calc(100vh - 94px),auto)!important;
  }

  body.tradeflow-app-shell .hs-b2b-topbar{
    position:relative!important;
    top:auto!important;
    z-index:80!important;
    isolation:isolate;
    grid-column:1/-1!important;
    grid-row:1!important;
    align-self:start!important;
    width:auto!important;
    min-height:68px!important;
    height:68px!important;
    margin:14px 18px 10px!important;
    padding:7px 9px 7px 12px!important;
    overflow:hidden!important;
    border:1px solid rgba(177,199,220,.64)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.86)!important;
    color:var(--tf-ink)!important;
    box-shadow:0 16px 38px rgba(18,48,82,.095),inset 0 1px 0 rgba(255,255,255,.98)!important;
    backdrop-filter:blur(22px) saturate(135%);
  }

  body.tradeflow-app-shell .hs-b2b-topbar::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:-90px;
    left:90px;
    width:360px;
    height:190px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(45,133,239,.12),transparent 68%);
    pointer-events:none;
  }

  body.tradeflow-app-shell .hs-b2b-brand{
    flex:0 0 auto!important;
    width:204px!important;
    min-height:52px!important;
    padding:5px 12px!important;
    border:1px solid rgba(152,184,213,.55)!important;
    border-radius:13px!important;
    background:linear-gradient(145deg,#e6f0f7,#cfdeea)!important;
    box-shadow:0 8px 20px rgba(15,49,84,.10),inset 0 1px 0 rgba(255,255,255,.96)!important;
  }

  body.tradeflow-app-shell .hs-b2b-brand-logo{
    width:174px!important;
    max-height:41px!important;
  }

  body.tradeflow-app-shell .hs-b2b-workspace-context{
    display:flex!important;
    align-items:center;
    gap:10px;
    min-width:0;
    margin-left:21px;
    padding-left:21px;
    border-left:1px solid #d6e2ed;
  }

  body.tradeflow-app-shell .hs-b2b-workspace-context>span:last-child{
    display:grid;
    gap:2px;
  }

  body.tradeflow-app-shell .hs-b2b-workspace-context small{
    color:#8494a7;
    font-size:8px;
    font-weight:850;
    letter-spacing:.12em;
  }

  body.tradeflow-app-shell .hs-b2b-workspace-context strong{
    color:#243a54;
    font-size:12px;
    font-weight:800;
  }

  body.tradeflow-app-shell .hs-b2b-workspace-status-dot{
    flex:0 0 9px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#2ec58b;
    box-shadow:0 0 0 5px rgba(46,197,139,.10),0 0 13px rgba(46,197,139,.30);
  }

  body.tradeflow-app-shell .hs-b2b-demo-company{
    min-height:50px!important;
    gap:10px!important;
    margin-left:auto!important;
    padding:6px 7px 6px 14px!important;
    border:0!important;
    border-radius:13px!important;
    background:rgba(241,246,251,.80)!important;
    box-shadow:inset 0 0 0 1px rgba(204,218,232,.75)!important;
  }

  body.tradeflow-app-shell .hs-b2b-demo-company-name{
    color:#2d425b!important;
    font-size:12px!important;
    font-weight:800!important;
  }

  body.tradeflow-app-shell .hs-b2b-demo-company-avatar{
    width:36px!important;
    height:36px!important;
    background:linear-gradient(145deg,#e7f1ff,#d8e8ff)!important;
    color:#1769d8!important;
    box-shadow:inset 0 0 0 1px #c4daf5!important;
  }

  body.tradeflow-app-shell .hs-b2b-logout{
    min-height:34px!important;
    padding:0 10px!important;
    border:0!important;
    border-left:1px solid #d5e0eb!important;
    border-radius:0!important;
    background:transparent!important;
    color:#607188!important;
    box-shadow:none!important;
    font-size:10px!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav{
    position:relative!important;
    inset:auto!important;
    z-index:30!important;
    grid-column:1!important;
    grid-row:2!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    width:auto!important;
    max-width:none!important;
    min-height:calc(100% - 18px)!important;
    margin:0 10px 18px 18px!important;
    padding:23px 14px!important;
    gap:7px!important;
    overflow:hidden!important;
    border:1px solid rgba(104,171,248,.17)!important;
    border-radius:20px!important;
    background:
      radial-gradient(circle at 16% 0,rgba(67,157,255,.22),transparent 27%),
      radial-gradient(circle at 12% 100%,rgba(255,135,51,.08),transparent 28%),
      linear-gradient(155deg,#06182f,#0b315b 74%,#071d39)!important;
    box-shadow:0 25px 58px rgba(8,31,61,.18),inset 0 1px 0 rgba(255,255,255,.07)!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav::before{
    content:"NAWIGACJA"!important;
    display:block!important;
    margin:0 11px 9px!important;
    color:#7290b0!important;
    font-size:8px!important;
    font-weight:900!important;
    letter-spacing:.15em!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button{
    position:relative;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:47px!important;
    padding:0 13px!important;
    gap:11px!important;
    border:0!important;
    border-radius:11px!important;
    background:transparent!important;
    color:#b6cadf!important;
    box-shadow:none!important;
    font-size:12px!important;
    font-weight:760!important;
    transition:background-color .18s ease,color .18s ease,transform .18s ease!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .hs-mobile-only{
    display:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .hs-desktop-only{
    display:flex!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button:hover{
    transform:translateX(2px)!important;
    background:rgba(255,255,255,.065)!important;
    color:#fff!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button.active{
    background:linear-gradient(90deg,rgba(45,126,239,.30),rgba(45,126,239,.13))!important;
    color:#fff!important;
    box-shadow:inset 3px 0 0 #5ca5ff,0 9px 22px rgba(0,0,0,.10)!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button>span:not(.hs-b2b-cart-badge){
    display:grid!important;
    place-items:center!important;
    flex:0 0 28px!important;
    width:28px!important;
    height:28px!important;
    border-radius:8px!important;
    background:rgba(77,156,244,.12)!important;
    color:#78b7ff!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button.active>span:not(.hs-b2b-cart-badge){
    background:rgba(80,164,255,.19)!important;
    color:#fff!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button{
    margin-top:7px!important;
    background:rgba(255,255,255,.045)!important;
    color:#e8f3ff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button:hover,
  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button.active{
    background:linear-gradient(90deg,rgba(255,135,51,.20),rgba(255,135,51,.08))!important;
    box-shadow:inset 3px 0 0 #ff8733,0 9px 22px rgba(0,0,0,.10)!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button .hs-b2b-cart-badge{
    top:50%!important;
    right:12px!important;
    left:auto!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    transform:translateY(-50%)!important;
    border:2px solid #17395e!important;
    background:#ff8733!important;
    box-shadow:0 5px 14px rgba(255,135,51,.32)!important;
  }

  body.tradeflow-app-shell .hs-b2b-main{
    grid-column:2!important;
    grid-row:2!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:calc(100vh - 94px)!important;
    margin:0!important;
    padding:0 22px 34px 8px!important;
    background:transparent!important;
  }

  body.tradeflow-app-shell #hs-b2b-content{
    width:100%;
    max-width:1680px;
    margin:0 auto;
  }

  body.tradeflow-app-shell .hs-b2b-hero{
    position:relative;
    min-height:154px!important;
    margin:0!important;
    padding:29px 34px!important;
    overflow:hidden!important;
    border:1px solid rgba(90,164,246,.22)!important;
    border-radius:22px!important;
    background:
      radial-gradient(circle at 82% 5%,rgba(67,157,255,.27),transparent 32%),
      radial-gradient(circle at 68% 115%,rgba(255,135,51,.13),transparent 25%),
      linear-gradient(135deg,#071a35,#0b315c)!important;
    color:#fff!important;
    box-shadow:0 25px 56px rgba(8,31,61,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
  }

  body.tradeflow-app-shell .hs-b2b-hero h1{
    margin:6px 0 7px!important;
    color:#fff!important;
    font-size:40px!important;
    line-height:1.05!important;
    letter-spacing:-.045em!important;
  }

  body.tradeflow-app-shell .hs-b2b-hero p{
    color:#c7d8ea!important;
    font-size:14px!important;
  }

  body.tradeflow-app-shell .hs-b2b-hero .hs-b2b-eyebrow{
    color:#74b5ff!important;
  }

  body.tradeflow-app-shell .hs-b2b-new-order-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    min-width:190px!important;
    min-height:56px!important;
  }

  body.tradeflow-app-shell .hs-b2b-new-order-button .tf-ui-icon{
    width:20px;
    height:20px;
  }

  body.tradeflow-app-shell .hs-b2b-demo-guide{
    margin:16px 0!important;
    border-radius:20px!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:12px!important;
    margin-top:16px!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile{
    min-width:0!important;
    min-height:166px!important;
    padding:20px 20px 22px!important;
    border:1px solid rgba(205,219,233,.90)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:0 13px 32px rgba(20,50,83,.06)!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile>span:first-child{
    width:44px!important;
    height:44px!important;
    border-radius:12px!important;
    background:#eaf3ff!important;
    color:#287df0!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile:nth-child(2)>span:first-child,
  body.tradeflow-app-shell .hs-b2b-dashboard-tile:nth-child(5)>span:first-child{
    background:#fff0e6!important;
    color:#ee792b!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile strong{
    color:#122842!important;
    font-size:15px!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile small{
    color:#718399!important;
    font-size:11px!important;
    line-height:1.5!important;
  }

  body.tradeflow-app-shell .hs-b2b-account-strip{
    margin-top:14px!important;
    padding:16px 20px!important;
    border:1px solid rgba(205,219,233,.86)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.76)!important;
    box-shadow:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-page-heading{
    min-height:auto!important;
    margin:0 0 13px!important;
    padding:14px 6px 19px!important;
    overflow:visible!important;
    border:0!important;
    border-bottom:1px solid rgba(205,218,232,.75)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-page-heading::after{
    display:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-page-heading h1{
    margin:4px 0 0!important;
    color:#0b213b!important;
    font-size:36px!important;
    letter-spacing:-.045em!important;
  }

  body.tradeflow-app-shell .hs-b2b-client-price-badge{
    min-width:145px!important;
    padding:13px 16px!important;
    border:1px solid #d6e2ee!important;
    border-radius:15px!important;
    background:rgba(255,255,255,.84)!important;
    box-shadow:0 12px 28px rgba(20,50,83,.07)!important;
  }

  body.tradeflow-app-shell .hs-b2b-quick-links-catalog{
    width:max-content!important;
    max-width:100%!important;
    margin:11px 0 13px!important;
    padding:6px!important;
    gap:6px!important;
    border:1px solid #d9e4ee!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.72)!important;
    box-shadow:0 9px 22px rgba(20,50,83,.04)!important;
  }

  body.tradeflow-app-shell .hs-b2b-quick-links-catalog button{
    min-height:37px!important;
    padding:0 14px!important;
    border-radius:9px!important;
  }

  body.tradeflow-app-shell .hs-b2b-search{
    min-height:61px!important;
    padding:7px 8px 7px 17px!important;
    border:1px solid #d5e1ed!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.95)!important;
    box-shadow:0 13px 31px rgba(20,50,83,.06)!important;
  }

  body.tradeflow-app-shell .hs-b2b-search button{
    width:46px!important;
    height:46px!important;
    border-radius:11px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-list{
    grid-template-columns:repeat(2,minmax(360px,1fr))!important;
    gap:13px!important;
    margin-top:15px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-card{
    min-height:126px!important;
    grid-template-columns:78px minmax(0,1fr) auto!important;
    gap:14px!important;
    padding:15px!important;
    border-radius:16px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-card img{
    width:78px!important;
    height:78px!important;
    border-radius:12px!important;
    background:#f2f6fa!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-info h3{
    margin-bottom:5px!important;
    font-size:14px!important;
    line-height:1.3!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-meta{
    gap:4px 8px!important;
    font-size:10px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-price{
    font-size:13px!important;
  }

  body.tradeflow-app-shell .hs-b2b-account-icon{
    background:linear-gradient(145deg,#eaf3ff,#deecff)!important;
    color:#2678e7!important;
  }
}

@media(min-width:851px) and (max-width:1240px){
  body.tradeflow-app-shell .hs-b2b-dashboard-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-list{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:850px){
  body.tradeflow-app-shell .hs-b2b-app{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:68px 1fr auto!important;
    min-height:100dvh!important;
  }

  body.tradeflow-app-shell .hs-b2b-topbar{
    position:sticky!important;
    top:0!important;
    z-index:100!important;
    grid-column:1!important;
    grid-row:1!important;
    min-height:68px!important;
    height:68px!important;
    margin:0!important;
    padding:9px 13px!important;
    border:0!important;
    border-bottom:1px solid #dbe5ef!important;
    border-radius:0!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 9px 24px rgba(18,48,82,.065)!important;
    backdrop-filter:blur(18px);
  }

  body.tradeflow-app-shell .hs-b2b-brand{
    width:164px!important;
    min-height:48px!important;
    padding:5px 9px!important;
    border:1px solid #d4e1ec!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,#e6f0f7,#cfdeea)!important;
    box-shadow:0 7px 17px rgba(16,49,83,.09)!important;
  }

  body.tradeflow-app-shell .hs-b2b-brand-logo{
    width:143px!important;
    max-height:38px!important;
  }

  body.tradeflow-app-shell .hs-b2b-workspace-context,
  body.tradeflow-app-shell .hs-b2b-demo-company-name,
  body.tradeflow-app-shell .hs-b2b-logout{
    display:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-demo-company{
    margin-left:auto!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-demo-company-avatar{
    width:38px!important;
    height:38px!important;
    background:#e8f2ff!important;
    color:#1f6fd8!important;
    box-shadow:inset 0 0 0 1px #c7dcf6!important;
  }

  body.tradeflow-app-shell .hs-b2b-main{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    min-height:calc(100dvh - 68px)!important;
    margin:0!important;
    padding:15px 12px 92px!important;
    background:transparent!important;
  }

  body.tradeflow-app-shell .hs-b2b-hero{
    min-height:0!important;
    padding:23px 20px!important;
    border:1px solid rgba(90,164,246,.20)!important;
    border-radius:20px!important;
    background:
      radial-gradient(circle at 86% 0,rgba(67,157,255,.24),transparent 34%),
      linear-gradient(145deg,#071a35,#0b315b)!important;
    box-shadow:0 20px 45px rgba(8,31,61,.16)!important;
  }

  body.tradeflow-app-shell .hs-b2b-hero h1{
    color:#fff!important;
    font-size:30px!important;
    letter-spacing:-.04em!important;
  }

  body.tradeflow-app-shell .hs-b2b-hero p{
    color:#c9d9ea!important;
  }

  body.tradeflow-app-shell .hs-b2b-new-order-button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:100%!important;
    margin-top:20px!important;
  }

  body.tradeflow-app-shell .hs-b2b-new-order-button .tf-ui-icon{
    width:19px;
    height:19px;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile{
    min-height:112px!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    padding:17px 45px 17px 17px!important;
    border-radius:17px!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile>span:first-child{
    width:44px!important;
    height:44px!important;
    border-radius:12px!important;
    background:#eaf3ff!important;
    color:#287df0!important;
  }

  body.tradeflow-app-shell .hs-b2b-dashboard-tile strong{
    font-size:15px!important;
  }

  body.tradeflow-app-shell .hs-b2b-page-heading{
    min-height:auto!important;
    padding:10px 4px 17px!important;
    border:0!important;
    border-bottom:1px solid #dce5ef!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-page-heading h1{
    font-size:29px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-list{
    grid-template-columns:1fr!important;
    gap:11px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-card{
    border-radius:16px!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav{
    position:fixed!important;
    z-index:150!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    width:100%!important;
    min-height:72px!important;
    height:72px!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    border:0!important;
    border-top:1px solid #d7e2ed!important;
    border-radius:0!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 -10px 30px rgba(16,42,67,.10)!important;
    backdrop-filter:blur(18px);
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav::before{
    display:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:3px!important;
    min-width:0!important;
    min-height:72px!important;
    padding:5px 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#65778d!important;
    box-shadow:none!important;
    font-size:9px!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button:nth-child(2),
  body.tradeflow-app-shell .hs-b2b-bottom-nav button:nth-child(3),
  body.tradeflow-app-shell .hs-b2b-bottom-nav .hs-desktop-only{
    display:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .hs-mobile-only{
    display:flex!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button{
    margin-top:0!important;
    background:transparent!important;
    color:#65778d!important;
    box-shadow:none!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button.active{
    background:#eef5ff!important;
    color:#176ad8!important;
    box-shadow:inset 0 3px 0 #287df0!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav .cart-button .hs-b2b-cart-badge{
    top:5px!important;
    right:auto!important;
    left:calc(50% + 8px)!important;
    min-width:20px!important;
    height:20px!important;
    padding:0 5px!important;
    transform:none!important;
    border:2px solid #fff!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button.active{
    background:#eef5ff!important;
    color:#176ad8!important;
    box-shadow:inset 0 3px 0 #287df0!important;
  }

  body.tradeflow-app-shell .hs-b2b-bottom-nav button>span:not(.hs-b2b-cart-badge){
    display:grid!important;
    place-items:center!important;
    width:26px!important;
    height:26px!important;
    background:transparent!important;
    color:inherit!important;
  }

  body.tradeflow-app-shell .tf-nav-icon svg{
    width:20px;
    height:20px;
  }

  body.tradeflow-app-shell .hs-b2b-account-card,
  body.tradeflow-app-shell .hs-b2b-order-card,
  body.tradeflow-app-shell .hs-b2b-settings-card{
    border-radius:18px!important;
  }
}

body.tradeflow-login-shell .hs-b2b-login{
  background:
    radial-gradient(circle at 80% 8%,rgba(48,140,255,.19),transparent 31%),
    radial-gradient(circle at 12% 90%,rgba(255,135,51,.09),transparent 26%),
    linear-gradient(145deg,#06162c,#0a2b50)!important;
}

/* TradeFlow 0.5.2 — szybki podgląd produktu i domknięcie ścieżki zamówienia */
body.tradeflow-app-shell.hs-b2b-product-preview-open{
  overflow:hidden!important;
}

body.tradeflow-app-shell .hs-b2b-product-image-static{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  cursor:pointer!important;
}

body.tradeflow-app-shell .hs-b2b-product-image-static img{
  transition:transform .22s ease!important;
}

body.tradeflow-app-shell .hs-b2b-product-image-static:hover img{
  transform:scale(1.055)!important;
}

body.tradeflow-app-shell .hs-b2b-product-title-static button{
  display:inline!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
}

body.tradeflow-app-shell .hs-b2b-product-title-static button:hover{
  color:#176ad8!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview{
  position:fixed!important;
  z-index:1000!important;
  inset:0!important;
  display:flex!important;
  justify-content:flex-end!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-backdrop{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background:rgba(3,18,37,.62)!important;
  backdrop-filter:blur(7px)!important;
  cursor:pointer!important;
  animation:tfPreviewFade .2s ease both;
}

body.tradeflow-app-shell .hs-b2b-product-preview-panel{
  position:relative!important;
  z-index:1!important;
  width:min(570px,94vw)!important;
  height:100dvh!important;
  overflow:auto!important;
  border:0!important;
  border-left:1px solid rgba(116,174,234,.28)!important;
  border-radius:28px 0 0 28px!important;
  outline:0!important;
  background:
    radial-gradient(circle at 92% 2%,rgba(53,137,239,.13),transparent 26%),
    #f5f8fc!important;
  box-shadow:-30px 0 80px rgba(2,20,43,.30)!important;
  animation:tfPreviewSlide .28s cubic-bezier(.2,.78,.24,1) both;
}

body.tradeflow-app-shell .hs-b2b-product-preview-header{
  position:sticky!important;
  z-index:4!important;
  top:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:78px!important;
  padding:16px 22px!important;
  border-bottom:1px solid rgba(211,224,238,.84)!important;
  background:rgba(248,251,254,.90)!important;
  backdrop-filter:blur(16px)!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-header>div{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-header strong{
  color:#0d2948!important;
  font-size:16px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-close{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  padding:0!important;
  border:1px solid #d6e2ee!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#34516f!important;
  box-shadow:0 7px 20px rgba(18,50,84,.07)!important;
  font-size:25px!important;
  line-height:1!important;
  cursor:pointer!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-visual{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  min-height:290px!important;
  margin:20px 22px 0!important;
  overflow:hidden!important;
  border:1px solid #dbe6f1!important;
  border-radius:22px!important;
  background:
    linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.94)),
    radial-gradient(circle at 50% 50%,#dbeaff,transparent 64%)!important;
  box-shadow:0 16px 42px rgba(19,54,91,.08)!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-visual img{
  width:auto!important;
  max-width:72%!important;
  height:220px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 18px 20px rgba(20,48,78,.16))!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-visual>span{
  position:absolute!important;
  top:16px!important;
  left:16px!important;
  padding:7px 10px!important;
  border:1px solid #bfe7cf!important;
  border-radius:999px!important;
  background:#ecfbf3!important;
  color:#16804d!important;
  font-size:10px!important;
  font-weight:850!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-visual>span.unavailable{
  border-color:#f2c8c4!important;
  background:#fff2f1!important;
  color:#b43b32!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-content{
  padding:22px 22px 30px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-brand{
  margin-bottom:7px!important;
  color:#287df0!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-content h2{
  margin:0!important;
  color:#0b2542!important;
  font-size:27px!important;
  line-height:1.17!important;
  letter-spacing:-.025em!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-description{
  margin:11px 0 0!important;
  color:#667b92!important;
  font-size:13px!important;
  line-height:1.6!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-meta{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1px!important;
  margin:21px 0!important;
  overflow:hidden!important;
  border:1px solid #dce6f0!important;
  border-radius:17px!important;
  background:#dce6f0!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-meta>div{
  min-width:0!important;
  padding:12px 14px!important;
  background:#fff!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-meta dt{
  margin-bottom:4px!important;
  color:#8192a5!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-meta dd{
  min-width:0!important;
  margin:0!important;
  overflow-wrap:anywhere!important;
  color:#183451!important;
  font-size:11px!important;
  font-weight:760!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-price{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:19px!important;
  border:1px solid rgba(45,126,239,.18)!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#eaf3ff,#f7fbff)!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-price>div{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-price span{
  color:#68809a!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-price strong{
  color:#0b2746!important;
  font-size:22px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-price small,
body.tradeflow-app-shell .hs-b2b-product-preview-price s{
  color:#6f8195!important;
  font-size:11px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-saving{
  align-items:flex-end!important;
  text-align:right!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-saving b{
  margin-top:3px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#dff8eb!important;
  color:#138755!important;
  font-size:9px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-badges{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:12px 0 0!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-badges span{
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#edf3f9!important;
  color:#50677e!important;
  font-size:9px!important;
  font-weight:800!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-badges .flyer,
body.tradeflow-app-shell .hs-b2b-product-preview-badges .sale{
  background:#fff0e5!important;
  color:#d66314!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-badges .deposit{
  background:#fff8df!important;
  color:#9a6b00!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-badges .featured{
  background:#eeeaff!important;
  color:#6548c7!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-actions{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:10px!important;
  margin-top:22px!important;
  padding-top:20px!important;
  border-top:1px solid #dce5ef!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-favorite{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:43px!important;
  border:1px solid #d5e1ed!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#526b84!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-favorite.active{
  border-color:#bcd6fa!important;
  background:#edf5ff!important;
  color:#176bd9!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-favorite svg{
  width:17px!important;
  height:17px!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-add{
  display:grid!important;
  grid-template-columns:auto 76px!important;
  align-items:center!important;
  gap:8px!important;
  min-height:48px!important;
  padding:5px 6px 5px 13px!important;
  border:1px solid #d4e0ec!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#667b92!important;
  font-size:10px!important;
  font-weight:800!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-add input{
  width:76px!important;
  height:36px!important;
  padding:0 8px!important;
  border:1px solid #cfdeec!important;
  border-radius:10px!important;
  background:#f8fbfe!important;
  color:#112d4b!important;
  font-size:14px!important;
  font-weight:850!important;
  text-align:center!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-actions>.hs-b2b-primary-button{
  min-height:48px!important;
  white-space:nowrap!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-quantity{
  display:grid!important;
  grid-template-columns:42px 56px 42px!important;
  align-items:center!important;
  min-height:48px!important;
  overflow:hidden!important;
  border:1px solid #d2dfec!important;
  border-radius:14px!important;
  background:#fff!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-quantity button{
  height:100%!important;
  border:0!important;
  background:#eef4fa!important;
  color:#173653!important;
  font-size:18px!important;
  font-weight:800!important;
}

body.tradeflow-app-shell .hs-b2b-product-preview-quantity strong{
  text-align:center!important;
  color:#102b48!important;
  font-size:14px!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 0 18px!important;
  padding:10px!important;
  border:1px solid #d9e5f0!important;
  border-radius:17px!important;
  background:#f3f7fb!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary>div{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:64px!important;
  padding:10px!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary span{
  margin-bottom:5px!important;
  color:#7b8da1!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary strong{
  color:#173451!important;
  font-size:13px!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary .total{
  background:linear-gradient(135deg,#0a2b50,#124477)!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary .total span{
  color:#9fc2e4!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-summary .total strong{
  color:#fff!important;
  font-size:16px!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-email{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  margin:17px auto 0!important;
  color:#62788f!important;
  font-size:11px!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-email svg{
  width:17px!important;
  height:17px!important;
  color:#287df0!important;
}

body.tradeflow-app-shell .hs-b2b-order-success-site{
  padding:7px 10px!important;
  border:1px solid #d5e2ee!important;
  border-radius:9px!important;
  background:#f7faff!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin-top:18px!important;
  padding:22px 24px!important;
  border:1px solid rgba(80,151,229,.24)!important;
  border-radius:19px!important;
  background:
    radial-gradient(circle at 85% 0,rgba(52,143,246,.17),transparent 35%),
    linear-gradient(135deg,#081d39,#0c3763)!important;
  box-shadow:0 18px 42px rgba(10,43,77,.13)!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip>div:first-child{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip strong{
  color:#fff!important;
  font-size:16px!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip small{
  color:#b9cee2!important;
  font-size:11px!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip>div:last-child{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip a{
  display:flex!important;
  align-items:center!important;
  min-height:39px!important;
  padding:0 13px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
  text-decoration:none!important;
}

body.tradeflow-app-shell .hs-b2b-account-contact-strip a:first-child{
  border-color:#ff8733!important;
  background:#ff8733!important;
}

@keyframes tfPreviewFade{
  from{opacity:0}
  to{opacity:1}
}

@keyframes tfPreviewSlide{
  from{opacity:0;transform:translateX(55px)}
  to{opacity:1;transform:translateX(0)}
}

@media(max-width:850px){
  body.tradeflow-app-shell .hs-b2b-product-preview{
    align-items:flex-end!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-panel{
    width:100%!important;
    height:min(92dvh,920px)!important;
    border:0!important;
    border-top:1px solid rgba(116,174,234,.28)!important;
    border-radius:25px 25px 0 0!important;
    animation-name:tfPreviewRise!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-header{
    min-height:66px!important;
    padding:11px 16px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-close{
    width:40px!important;
    height:40px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-visual{
    min-height:210px!important;
    margin:14px 15px 0!important;
    border-radius:18px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-visual img{
    height:160px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-content{
    padding:18px 16px 100px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-content h2{
    font-size:22px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-price{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:10px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-saving{
    align-items:flex-start!important;
    text-align:left!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-actions{
    grid-template-columns:1fr!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-favorite{
    grid-column:auto!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-actions>.hs-b2b-primary-button,
  body.tradeflow-app-shell .hs-b2b-product-preview-add,
  body.tradeflow-app-shell .hs-b2b-product-preview-quantity{
    width:100%!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-add{
    grid-template-columns:1fr 92px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-add input{
    width:92px!important;
  }

  body.tradeflow-app-shell .hs-b2b-product-preview-quantity{
    grid-template-columns:1fr 70px 1fr!important;
  }

  body.tradeflow-app-shell .hs-b2b-order-success-summary{
    grid-template-columns:1fr 1fr!important;
  }

  body.tradeflow-app-shell .hs-b2b-order-success-summary .total{
    grid-column:1/-1!important;
  }

  body.tradeflow-app-shell .hs-b2b-order-success-email{
    align-items:flex-start!important;
    text-align:left!important;
  }

  body.tradeflow-app-shell .hs-b2b-account-contact-strip,
  body.tradeflow-app-shell .hs-b2b-account-contact-strip>div:last-child{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  body.tradeflow-app-shell .hs-b2b-account-contact-strip a{
    justify-content:center!important;
  }
}

@keyframes tfPreviewRise{
  from{opacity:0;transform:translateY(45px)}
  to{opacity:1;transform:translateY(0)}
}
