:root {
  --hs-navy: #102a43;
  --hs-navy-light: #173f67;
  --hs-orange: #f28c28;
  --hs-orange-dark: #d87413;
  --hs-bg: #f4f7fb;
  --hs-text: #1f2937;
  --hs-muted: #6b7280;
  --hs-line: #dfe6ee;
  --hs-white: #fff;
  --hs-shadow: 0 12px 34px rgba(16, 42, 67, .10);
}

/* TradeFlow 0.4.1 — firma po NIP, osobne punkty i kontakty */
.hs-b2b-company-group-note{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:3px 13px;
  align-items:center;
  margin:16px 0;
  padding:15px 17px;
  border:1px solid #cfe0f2;
  border-radius:15px;
  background:linear-gradient(135deg,#f3f8ff,#edf5ff);
}
.hs-b2b-company-group-note>span{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#0e3157;color:#8fc6ff;font-size:9px;font-weight:900;text-align:center;text-transform:uppercase}
.hs-b2b-company-group-note strong{color:#102c4a;font-size:17px;letter-spacing:.04em}
.hs-b2b-company-group-note small{color:#607991;font-size:10px;line-height:1.45}
.hs-b2b-contact-edit-form{display:grid;grid-template-columns:1fr 1fr auto;gap:11px;align-items:end;margin-top:17px;padding-top:17px;border-top:1px solid #e1e8ef}
.hs-b2b-contact-edit-form label{min-width:0}.hs-b2b-contact-edit-form label>span{display:block;margin-bottom:6px;color:#63778e;font-size:10px;font-weight:800}
.hs-b2b-contact-edit-form input{width:100%;min-height:44px!important}
.hs-b2b-contact-edit-form button{min-height:44px!important;white-space:nowrap}
.hs-b2b-contact-edit-form>small{grid-column:1/-1;color:#788b9e;font-size:9px;line-height:1.45}
.hs-b2b-register-grid label small{display:block;margin-top:5px;color:#91a6bf;font-size:9px;line-height:1.4}

@media(max-width:850px){
  .hs-b2b-company-group-note{grid-template-columns:46px 1fr;padding:13px}
  .hs-b2b-company-group-note>span{width:46px;height:46px}
  .hs-b2b-contact-edit-form{grid-template-columns:1fr}
  .hs-b2b-contact-edit-form button{width:100%}
}

.hs-b2b-app,
.hs-b2b-app * {
  box-sizing: border-box;
}

.hs-b2b-app {
  min-height: 100vh;
  margin: 0;
  padding: 0 0 86px;
  background: var(--hs-bg);
  color: var(--hs-text);
  font-family: Inter, Arial, sans-serif;
}

.hs-b2b-app button,
.hs-b2b-app input {
  font: inherit;
}

.hs-b2b-app button {
  cursor: pointer;
}

.hs-b2b-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 11px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, var(--hs-navy), var(--hs-navy-light));
  color: white;
  box-shadow: 0 7px 22px rgba(16, 42, 67, .2);
}

.hs-b2b-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
}

.hs-b2b-brand strong,
.hs-b2b-brand small {
  display: block;
}

.hs-b2b-brand small {
  margin-top: 2px;
  opacity: .76;
}

.hs-b2b-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: var(--hs-orange);
  color: white;
  font-weight: 900;
}

.hs-b2b-brand-mark-small {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.hs-b2b-logout {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: white !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.hs-b2b-main {
  width: min(1180px, 100%);
  min-height: 70vh;
  margin: 0 auto;
  padding: 22px 16px 34px;
}

.hs-b2b-loader {
  position: fixed;
  z-index: 300;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 15px;
  border-radius: 12px;
  background: var(--hs-navy);
  color: white;
  box-shadow: var(--hs-shadow);
}

.hs-b2b-hero,
.hs-b2b-draft-card,
.hs-b2b-cart-summary,
.hs-b2b-empty,
.hs-b2b-account-strip {
  border: 1px solid var(--hs-line);
  border-radius: 19px;
  background: white;
  box-shadow: var(--hs-shadow);
}

.hs-b2b-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px;
}

.hs-b2b-hero h1,
.hs-b2b-page-heading h1 {
  margin: 4px 0 6px;
  color: var(--hs-navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.hs-b2b-hero p {
  margin: 0;
  color: var(--hs-muted);
}

.hs-b2b-eyebrow {
  color: var(--hs-orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hs-b2b-primary-button,
.hs-b2b-secondary-button,
.hs-b2b-light-button {
  border: 0;
  border-radius: 12px;
  padding: 13px 17px;
  font-weight: 850;
}

.hs-b2b-primary-button {
  background: var(--hs-orange);
  color: white;
}

.hs-b2b-primary-button:hover {
  background: var(--hs-orange-dark);
}

.hs-b2b-secondary-button {
  background: var(--hs-navy);
  color: white;
}

.hs-b2b-light-button {
  background: #eaf1f7;
  color: var(--hs-navy);
}

.hs-b2b-primary-button.full {
  width: 100%;
}

.hs-b2b-draft-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 17px;
  padding: 20px;
  border: 2px solid rgba(242, 140, 40, .34);
  background: #fffaf4;
}

.hs-b2b-draft-card h2 {
  margin: 4px 0 6px;
  color: var(--hs-navy);
  font-size: 21px;
}

.hs-b2b-draft-card p,
.hs-b2b-draft-card small {
  margin: 0;
  color: var(--hs-muted);
}

.hs-b2b-draft-card small {
  display: block;
  margin-top: 5px;
}

.hs-b2b-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.hs-b2b-dashboard-tile {
  display: grid;
  gap: 7px;
  min-height: 145px;
  padding: 20px;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: white;
  color: var(--hs-navy);
  text-align: left;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .06);
}

.hs-b2b-dashboard-tile > span {
  font-size: 27px;
}

.hs-b2b-dashboard-tile strong {
  font-size: 16px;
}

.hs-b2b-dashboard-tile small {
  color: var(--hs-muted);
  line-height: 1.4;
}

.hs-b2b-account-strip {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding: 17px 20px;
}

.hs-b2b-account-strip span {
  color: var(--hs-muted);
}

.hs-b2b-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.hs-b2b-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 8px 10px 8px 15px;
  border: 1px solid var(--hs-line);
  border-radius: 15px;
  background: white;
}

.hs-b2b-search input {
  width: 100%;
  border: 0;
  padding: 10px;
  outline: 0;
  background: transparent;
}

.hs-b2b-search button {
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 11px;
  background: var(--hs-navy);
  color: white;
}

.hs-b2b-product-list {
  display: grid;
  gap: 11px;
  margin-top: 15px;
}

.hs-b2b-product-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--hs-line);
  border-radius: 16px;
  background: white;
}

.hs-b2b-product-card img {
  width: 72px;
  height: 72px;
  border-radius: 13px;
  object-fit: contain;
  background: #edf2f7;
}

.hs-b2b-product-info h3 {
  margin: 0 0 6px;
  color: var(--hs-navy);
  font-size: 16px;
}

.hs-b2b-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin-bottom: 7px;
  color: var(--hs-muted);
  font-size: 12px;
}

.hs-b2b-product-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.hs-b2b-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hs-b2b-quantity button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: #eaf1f7;
  color: var(--hs-navy);
  font-weight: 900;
}

.hs-b2b-quantity span {
  min-width: 34px;
  text-align: center;
  font-weight: 900;
}

.hs-b2b-save-notice {
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid #cce6d8;
  border-radius: 13px;
  background: #eef8f3;
  color: #17633f;
}

.hs-b2b-cart-list {
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: white;
}

.hs-b2b-cart-row {
  display: grid;
  grid-template-columns: 1fr auto minmax(90px, auto);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--hs-line);
}

.hs-b2b-cart-row:last-child {
  border-bottom: 0;
}

.hs-b2b-cart-row h3 {
  margin: 0 0 5px;
  color: var(--hs-navy);
  font-size: 15px;
}

.hs-b2b-cart-row small,
.hs-b2b-cart-row > div > strong {
  display: block;
}

.hs-b2b-cart-row small {
  margin-bottom: 5px;
  color: var(--hs-muted);
}

.hs-b2b-cart-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 17px;
  padding: 17px 20px;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: white;
}

.hs-b2b-cart-search h2 {
  margin: 0;
  color: var(--hs-navy);
  font-size: 18px;
}

.hs-b2b-cart-summary {
  width: min(460px, 100%);
  margin: 17px 0 0 auto;
  padding: 20px;
}

.hs-b2b-cart-summary > div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}

.hs-b2b-cart-summary .total {
  margin: 8px 0 14px;
  padding-top: 15px;
  border-top: 1px solid var(--hs-line);
  color: var(--hs-navy);
  font-size: 19px;
}

.hs-b2b-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 45px 20px;
  text-align: center;
}

.hs-b2b-empty > span {
  font-size: 42px;
}

.hs-b2b-empty h2 {
  margin: 0;
  color: var(--hs-navy);
}

.hs-b2b-bottom-nav {
  position: fixed;
  z-index: 120;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 73px;
  border-top: 1px solid var(--hs-line);
  background: white;
  box-shadow: 0 -8px 25px rgba(16, 42, 67, .08);
}

.hs-b2b-bottom-nav button {
  position: relative;
  border: 0;
  background: white;
  color: var(--hs-muted);
  font-size: 11px;
  font-weight: 800;
}

.hs-b2b-bottom-nav button.active {
  color: var(--hs-orange-dark);
}

.hs-b2b-bottom-nav button > span:not(.hs-b2b-cart-badge) {
  display: block;
  margin-bottom: 4px;
  font-size: 21px;
}

.hs-b2b-bottom-nav .scanner {
  transform: translateY(-10px);
}

.hs-b2b-bottom-nav .scanner > span {
  display: grid !important;
  place-items: center;
  width: 51px;
  height: 51px;
  margin: 0 auto 3px !important;
  border-radius: 50%;
  background: var(--hs-orange);
  color: white;
  box-shadow: 0 8px 17px rgba(242, 140, 40, .35);
}

.hs-b2b-cart-badge {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: calc(50% + 8px);
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 12px;
  background: #b42318;
  color: white;
  font-size: 10px;
}

.hs-b2b-toast {
  position: fixed;
  z-index: 400;
  right: 18px;
  bottom: 92px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 16px;
  border-radius: 12px;
  background: #17633f;
  color: white;
  box-shadow: var(--hs-shadow);
}

.hs-b2b-toast.error {
  background: #b42318;
}

.hs-b2b-toast.info {
  background: var(--hs-navy);
}

.hs-b2b-login {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 140, 40, .25), transparent 28%),
    linear-gradient(145deg, #0c2237, #17436d);
}

.hs-b2b-login-card {
  width: min(430px, 100%);
  padding: 32px;
  border-radius: 24px;
  background: white;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.hs-b2b-login-card h1 {
  margin: 15px 0 5px;
  color: var(--hs-navy);
}

.hs-b2b-login-card p {
  margin: 0 0 22px;
  color: var(--hs-muted);
}

.hs-b2b-login-card a {
  display: inline-block;
  text-decoration: none !important;
}

.hs-b2b-system-message {
  margin: 20px;
  padding: 18px;
  border: 1px solid #f0c7c3;
  border-radius: 13px;
  background: #fff5f4;
  color: #8b2118;
}

@media (max-width: 720px) {
  .hs-b2b-hero,
  .hs-b2b-draft-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hs-b2b-hero .hs-b2b-primary-button,
  .hs-b2b-draft-card .hs-b2b-secondary-button {
    width: 100%;
  }

  .hs-b2b-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hs-b2b-product-card {
    grid-template-columns: 58px 1fr;
  }

  .hs-b2b-product-card img {
    width: 58px;
    height: 58px;
  }

  .hs-b2b-product-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    width: 100%;
    align-items: center;
  }

  .hs-b2b-cart-row {
    grid-template-columns: 1fr auto;
  }

  .hs-b2b-cart-row > strong {
    grid-column: 1 / -1;
    text-align: right;
  }
}

@media (max-width: 430px) {
  .hs-b2b-main {
    padding: 17px 11px 30px;
  }

  .hs-b2b-topbar {
    padding: 10px 12px;
  }

  .hs-b2b-dashboard-tile {
    min-height: 132px;
    padding: 15px;
  }

  .hs-b2b-hero {
    padding: 20px;
  }

  .hs-b2b-account-strip,
  .hs-b2b-cart-search {
    align-items: flex-start;
    flex-direction: column;
  }
}


.hs-b2b-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-b2b-quick-links-catalog {
  margin: 0 0 12px;
}

.hs-b2b-cart-links {
  margin: 14px 0 2px;
  justify-content: flex-end;
}

.hs-b2b-quick-links button,
.hs-b2b-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #d7e0e9;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--hs-navy) !important;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(16, 42, 67, .04);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.hs-b2b-quick-links button:hover,
.hs-b2b-quick-links a:hover,
.hs-b2b-quick-links button.active {
  border-color: rgba(242, 140, 40, .55);
  background: #fff8ef;
  color: var(--hs-orange-dark) !important;
}


/* HS B2B 2.0 v0.1.2 */
.hs-b2b-quick-links,
.hs-b2b-cart-links {
  justify-content: center;
}

.hs-b2b-quick-links .pill-promotions {
  border-color: #cfe6d7;
  background: #eef8f1;
  color: #237a45 !important;
}

.hs-b2b-quick-links .pill-hits {
  border-color: #f1dfb8;
  background: #fff7e7;
  color: #c87708 !important;
}

.hs-b2b-quick-links .pill-flyer {
  border-color: #cfe0f2;
  background: #eef5fc;
  color: #2468a8 !important;
}

.hs-b2b-order-note {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .05);
}

.hs-b2b-order-note label {
  display: block;
  margin-bottom: 10px;
}

.hs-b2b-order-note label strong,
.hs-b2b-order-note label span {
  display: block;
}

.hs-b2b-order-note label strong {
  color: var(--hs-navy);
  font-size: 17px;
}

.hs-b2b-order-note label span,
.hs-b2b-order-note small {
  margin-top: 4px;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hs-b2b-order-note textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--hs-line);
  border-radius: 13px;
  background: #fbfdff;
  color: var(--hs-text);
  outline: none;
}

.hs-b2b-order-note textarea:focus {
  border-color: var(--hs-orange);
  box-shadow: 0 0 0 4px rgba(242, 140, 40, .12);
}


/* HS B2B 2.0 v0.1.5 — katalog z gazetkami */
.hs-b2b-catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.hs-b2b-catalog-main {
  min-width: 0;
}

.hs-b2b-flyer-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 13px;
}

.hs-b2b-flyer-sidebar > h2 {
  margin: 0 0 2px;
  color: var(--hs-navy);
  font-size: 19px;
}

.hs-b2b-flyer-card {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: white;
  color: var(--hs-navy);
  text-align: left;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .06);
}

.hs-b2b-flyer-card:hover {
  border-color: rgba(242, 140, 40, .5);
  box-shadow: 0 10px 25px rgba(16, 42, 67, .11);
}

.hs-b2b-flyer-type {
  color: var(--hs-orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hs-b2b-flyer-card > strong {
  font-size: 15px;
}

.hs-b2b-flyer-card > small {
  color: var(--hs-muted);
  text-align: center;
}

.hs-b2b-flyer-preview {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 11px;
  background: #f1f5f9;
}

.hs-b2b-flyer-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.hs-b2b-flyer-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #64748b;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .08em;
  background: linear-gradient(145deg, #fff, #eef2f7);
}

.hs-b2b-flyer-modal[hidden] {
  display: none !important;
}

.hs-b2b-flyer-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.hs-b2b-flyer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 39, .72);
  backdrop-filter: blur(3px);
}

.hs-b2b-flyer-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1100px, 96vw);
  height: min(900px, 94vh);
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.hs-b2b-flyer-modal-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--hs-navy);
  color: white;
}

.hs-b2b-flyer-modal-panel h2 {
  margin: 0;
  font-size: 18px;
}

.hs-b2b-flyer-modal-panel header button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: white;
  font-size: 26px;
  line-height: 1;
}

.hs-b2b-flyer-modal-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

body.hs-b2b-modal-open {
  overflow: hidden;
}

/* Osobna strona Gazetki */
.hs-b2b-flyers-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 24px 16px 50px;
}

.hs-b2b-flyers-page-header {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--hs-line);
  border-radius: 19px;
  background: white;
  box-shadow: var(--hs-shadow);
}

.hs-b2b-flyers-page-header h1 {
  margin: 4px 0 5px;
  color: var(--hs-navy);
  font-size: clamp(28px, 4vw, 42px);
}

.hs-b2b-flyers-page-header p {
  margin: 0;
  color: var(--hs-muted);
}

.hs-b2b-flyer-full {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--hs-line);
  border-radius: 19px;
  background: white;
  box-shadow: var(--hs-shadow);
}

.hs-b2b-flyer-full-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.hs-b2b-flyer-full-heading h2 {
  margin: 3px 0 0;
  color: var(--hs-navy);
}

.hs-b2b-flyer-full-heading a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef5fc;
  color: #2468a8 !important;
  font-weight: 800;
  text-decoration: none !important;
}

.hs-b2b-flyer-full iframe {
  width: 100%;
  height: 1100px;
  border: 1px solid var(--hs-line);
  border-radius: 14px;
  background: #f3f6f9;
}

@media (max-width: 1023px) {
  .hs-b2b-catalog-layout {
    display: block;
  }

  .hs-b2b-flyer-sidebar {
    display: none;
  }
}

@media (max-width: 700px) {
  .hs-b2b-flyer-full {
    padding: 11px;
  }

  .hs-b2b-flyer-full-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hs-b2b-flyer-full iframe {
    height: 76vh;
  }
}


/* HS B2B 2.0 v0.1.6 — strona wyboru gazetek */
.hs-b2b-flyers-page-header {
  text-align: center;
}

.hs-b2b-flyers-page-header p {
  max-width: 760px;
  margin: 8px auto 0;
  line-height: 1.6;
}

.hs-b2b-flyers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.hs-b2b-flyer-choice {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 15px;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 20px;
  background: white;
  color: var(--hs-text) !important;
  text-decoration: none !important;
  box-shadow: var(--hs-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hs-b2b-flyer-choice:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 140, 40, .55);
  box-shadow: 0 18px 38px rgba(16, 42, 67, .14);
}

.hs-b2b-flyer-choice-heading {
  text-align: center;
}

.hs-b2b-flyer-choice-heading h2 {
  margin: 5px 0 7px;
  color: var(--hs-navy);
  font-size: 24px;
}

.hs-b2b-flyer-choice-heading p {
  margin: 0;
  color: var(--hs-muted);
  line-height: 1.5;
}

.hs-b2b-flyer-choice-preview {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 14px;
  background: #f4f7fb;
}

.hs-b2b-flyer-choice-preview img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center top;
  background: #ffffff;
}

.hs-b2b-flyer-choice-placeholder {
  display: flex;
  min-height: 520px;
  padding: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--hs-navy);
  text-align: center;
}

.hs-b2b-flyer-choice-placeholder-icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255, 138, 31, 0.12);
  color: var(--hs-orange-dark);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hs-b2b-flyer-choice-placeholder strong {
  font-size: 20px;
}

.hs-b2b-flyer-choice-placeholder small {
  color: var(--hs-muted);
  font-size: 14px;
}

.hs-b2b-flyer-choice-button {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--hs-orange);
  color: white;
  font-weight: 850;
  text-align: center;
}

.hs-b2b-flyer-choice:hover .hs-b2b-flyer-choice-button {
  background: var(--hs-orange-dark);
}

@media (max-width: 760px) {
  .hs-b2b-flyers-grid {
    grid-template-columns: 1fr;
  }

  .hs-b2b-flyer-choice-preview,
  .hs-b2b-flyer-choice-preview img,
  .hs-b2b-flyer-choice-placeholder {
    min-height: 68vh;
  }

  .hs-b2b-flyer-choice-preview img {
    height: 68vh;
  }

  .hs-b2b-flyer-choice-heading h2 {
    font-size: 21px;
  }
}


/* HS B2B 2.0 v0.1.9 — historia zamówień */
.hs-b2b-orders-list {
  display: grid;
  gap: 15px;
}

.hs-b2b-order-card {
  padding: 18px;
  border: 1px solid var(--hs-line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 7px 22px rgba(16, 42, 67, .06);
}

.hs-b2b-order-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.hs-b2b-order-card-top strong,
.hs-b2b-order-number {
  display: block;
}

.hs-b2b-order-number {
  margin-bottom: 4px;
  color: var(--hs-navy);
  font-size: 18px;
  font-weight: 900;
}

.hs-b2b-order-card-top strong {
  color: var(--hs-muted);
  font-size: 13px;
}

.hs-b2b-order-status {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.hs-b2b-order-status.completed { background: #eef8f1; color: #237a45; }
.hs-b2b-order-status.processing { background: #eef5fc; color: #2468a8; }
.hs-b2b-order-status.pending { background: #fff7e7; color: #b66d08; }
.hs-b2b-order-status.cancelled { background: #fff1f0; color: #a92f27; }

.hs-b2b-order-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.hs-b2b-order-summary-grid > div {
  padding: 12px;
  border-radius: 13px;
  background: #f5f8fb;
}

.hs-b2b-order-summary-grid span,
.hs-b2b-order-summary-grid strong {
  display: block;
}

.hs-b2b-order-summary-grid span {
  margin-bottom: 4px;
  color: var(--hs-muted);
  font-size: 11px;
}

.hs-b2b-order-summary-grid strong {
  color: var(--hs-navy);
}

.hs-b2b-order-details {
  margin-bottom: 14px;
  border-top: 1px solid var(--hs-line);
  border-bottom: 1px solid var(--hs-line);
}

.hs-b2b-order-details summary {
  padding: 13px 0;
  color: var(--hs-navy);
  font-weight: 800;
  cursor: pointer;
}

.hs-b2b-order-items {
  padding: 0 0 12px;
}

.hs-b2b-order-items > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
  color: var(--hs-muted);
  font-size: 13px;
}

.hs-b2b-order-items > div strong {
  color: var(--hs-navy);
  white-space: nowrap;
}

.hs-b2b-order-note-history {
  margin: 10px 0 0;
  padding: 11px 13px;
  border-radius: 11px;
  background: #fff8ef;
  color: var(--hs-text);
  font-size: 13px;
}

.hs-b2b-secondary-button.full {
  width: 100%;
}

@media (max-width: 520px) {
  .hs-b2b-order-card-top {
    flex-direction: column;
  }

  .hs-b2b-order-summary-grid > div {
    padding: 10px 8px;
  }
}


/* HS B2B 2.0 v0.2.2 — wybór adresu dostawy */
.hs-b2b-delivery-address {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .05);
}

.hs-b2b-delivery-address label {
  display: block;
  margin-bottom: 10px;
}

.hs-b2b-delivery-address label strong {
  color: var(--hs-navy);
  font-size: 17px;
}

.hs-b2b-delivery-address select {
  width: 100%;
  min-height: 48px;
  padding: 11px 40px 11px 13px;
  border: 1px solid var(--hs-line);
  border-radius: 13px;
  background: #fbfdff;
  color: var(--hs-text);
  outline: none;
}

.hs-b2b-delivery-address select:focus {
  border-color: var(--hs-orange);
  box-shadow: 0 0 0 4px rgba(242, 140, 40, .12);
}

.hs-b2b-delivery-address small {
  display: block;
  margin-top: 7px;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hs-b2b-address-empty {
  padding: 12px 13px;
  border-radius: 12px;
  background: #fff8ef;
  color: var(--hs-text);
  font-size: 13px;
}

/* HS B2B 2.0 v0.2.3 — marka, krótki opis i kategoria końcowa */
.hs-b2b-product-info {
  min-width: 0;
}

.hs-b2b-product-meta b {
  color: var(--hs-navy);
  font-weight: 800;
}

.hs-b2b-product-description {
  max-width: 720px;
  margin: 6px 0 8px;
  padding: 8px 10px;
  border-left: 3px solid var(--hs-orange);
  border-radius: 0 8px 8px 0;
  background: #fff8ef;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

.hs-b2b-product-price {
  display: inline-block;
  color: var(--hs-navy);
}

.hs-b2b-quick-links .pill-brands {
  border-color: #ddd5f4;
  background: #f5f1ff;
  color: #6445a5 !important;
}

.hs-b2b-quick-links .pill-brands:hover,
.hs-b2b-quick-links .pill-brands.active {
  border-color: #a990df;
  background: #ece4ff;
  color: #51358e !important;
}

.hs-b2b-brands-panel {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid var(--hs-line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .05);
}

.hs-b2b-brands-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hs-b2b-brands-heading strong {
  color: var(--hs-navy);
  font-size: 16px;
}

.hs-b2b-brands-heading button {
  border: 0;
  background: transparent;
  color: var(--hs-orange-dark);
  font-size: 12px;
  font-weight: 800;
}

.hs-b2b-brands-groups {
  display: grid;
  gap: 12px;
  max-height: 390px;
  overflow: auto;
  padding-right: 3px;
}

.hs-b2b-brand-group {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}

.hs-b2b-brand-group > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--hs-navy);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.hs-b2b-brand-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hs-b2b-brand-group button {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--hs-navy);
  font-size: 12px;
  font-weight: 750;
}

.hs-b2b-brand-group button:hover,
.hs-b2b-brand-group button.active {
  border-color: rgba(242, 140, 40, .65);
  background: #fff3e6;
  color: var(--hs-orange-dark);
}

.hs-b2b-brands-panel-selected .hs-b2b-brands-groups {
  max-height: none;
  overflow: visible;
}

.hs-b2b-brands-panel-selected .hs-b2b-brand-group button.active {
  cursor: default;
}

@media (max-width: 720px) {
  .hs-b2b-product-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hs-b2b-product-description {
    margin-top: 7px;
  }

  .hs-b2b-brands-panel {
    padding: 13px;
  }

  .hs-b2b-brand-group {
    grid-template-columns: 26px 1fr;
    gap: 8px;
  }

  .hs-b2b-brand-group > span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
}

/* Konto klienta 0.2.4 */
.hs-b2b-account-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--hs-line);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--hs-shadow);
}

.hs-b2b-account-header h1 {
  margin: 4px 0 4px;
  color: var(--hs-navy);
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.15;
}

.hs-b2b-account-header p {
  margin: 0;
  color: var(--hs-muted);
  overflow-wrap: anywhere;
}

.hs-b2b-account-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: var(--hs-orange);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.hs-b2b-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.hs-b2b-account-card,
.hs-b2b-account-action-card {
  border: 1px solid var(--hs-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .06);
}

.hs-b2b-account-card {
  padding: 20px;
}

.hs-b2b-account-card-wide {
  min-width: 0;
}

.hs-b2b-account-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.hs-b2b-account-card-heading h2 {
  margin: 0 0 3px;
  color: var(--hs-navy);
  font-size: 18px;
}

.hs-b2b-account-card-heading p,
.hs-b2b-account-card-note,
.hs-b2b-account-empty-note {
  margin: 0;
  color: var(--hs-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hs-b2b-account-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff4e8;
  color: var(--hs-orange-dark);
  font-size: 20px;
}

.hs-b2b-account-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.hs-b2b-account-details > div {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1.7fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid #edf1f5;
}

.hs-b2b-account-details dt {
  color: var(--hs-muted);
  font-size: 13px;
  font-weight: 700;
}

.hs-b2b-account-details dd {
  min-width: 0;
  margin: 0;
  color: var(--hs-navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hs-b2b-account-addresses {
  display: grid;
  gap: 9px;
}

.hs-b2b-account-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid #e5ebf1;
  border-radius: 13px;
  background: #f9fbfd;
}

.hs-b2b-account-address.selected {
  border-color: rgba(242, 140, 40, .55);
  background: #fff8ef;
}

.hs-b2b-account-address strong,
.hs-b2b-account-address span {
  display: block;
}

.hs-b2b-account-address strong {
  margin-bottom: 3px;
  color: var(--hs-navy);
  font-size: 14px;
}

.hs-b2b-account-address span {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.4;
}

.hs-b2b-account-address em,
.hs-b2b-account-action-card em {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0df;
  color: var(--hs-orange-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.hs-b2b-account-card-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.hs-b2b-account-action-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 94px;
  padding: 15px;
  color: var(--hs-navy);
  text-align: left;
  text-decoration: none !important;
}

button.hs-b2b-account-action-card {
  font: inherit;
}

.hs-b2b-account-action-card:not(.is-static):hover {
  border-color: rgba(242, 140, 40, .52);
  transform: translateY(-1px);
}

.hs-b2b-account-action-card strong,
.hs-b2b-account-action-card small {
  display: block;
}

.hs-b2b-account-action-card strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.hs-b2b-account-action-card small {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.35;
}

.hs-b2b-account-action-card > b {
  color: var(--hs-orange);
  font-size: 27px;
  line-height: 1;
}

.hs-b2b-account-action-card.is-static {
  opacity: .78;
}

.hs-b2b-account-logout-card {
  color: #8b1d1d !important;
}

.hs-b2b-account-logout-card .hs-b2b-account-icon {
  background: #fff1f1;
  color: #b42318;
}

@media (max-width: 720px) {
  .hs-b2b-account-header {
    padding: 18px;
  }

  .hs-b2b-account-grid {
    grid-template-columns: 1fr;
  }

  .hs-b2b-account-card {
    padding: 16px;
  }

  .hs-b2b-account-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hs-b2b-account-action-card {
    min-height: 86px;
  }
}

/* HS B2B 0.2.5 — skaner EAN */
.hs-b2b-scanner-heading p {
  margin: 6px 0 0;
  color: #617186;
}

.hs-b2b-scanner-panel,
.hs-b2b-scanner-result,
.hs-b2b-manual-ean {
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(16, 42, 67, .07);
  margin-bottom: 18px;
}

.hs-b2b-scanner-camera {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border-radius: 16px;
  background: #071626;
}

.hs-b2b-scanner-camera video {
  width: 100%;
  min-height: 310px;
  height: 52vh;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.hs-b2b-scanner-frame {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 132px;
  transform: translateY(-50%);
  border: 3px solid rgba(255, 255, 255, .95);
  border-radius: 16px;
  box-shadow: 0 0 0 999px rgba(2, 14, 26, .42);
  pointer-events: none;
}

.hs-b2b-scanner-line {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  height: 3px;
  border-radius: 99px;
  background: #ff8a1f;
  box-shadow: 0 0 14px rgba(255, 138, 31, .9);
  animation: hs-b2b-scan-line 1.8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hs-b2b-scan-line {
  from { transform: translateY(-48px); }
  to { transform: translateY(48px); }
}

.hs-b2b-scanner-status {
  margin: 14px 0;
  text-align: center;
  font-weight: 700;
  color: var(--hs-navy);
}

.hs-b2b-scanner-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff3e8;
  color: #8f3f00;
  font-weight: 700;
  line-height: 1.45;
}

.hs-b2b-scanner-success {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e9f8ef;
  color: #16763c;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hs-b2b-scanner-product {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}

.hs-b2b-scanner-product img {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  object-fit: contain;
  background: #f6f9fc;
}

.hs-b2b-scanner-product h2 {
  margin: 0 0 8px;
  color: var(--hs-navy);
  font-size: 21px;
  line-height: 1.25;
}

.hs-b2b-scanner-in-cart {
  margin: 10px 0 0;
  color: #56677a;
}

.hs-b2b-scanner-quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 18px 0 14px;
  padding-top: 16px;
  border-top: 1px solid #e4ebf2;
  font-weight: 800;
  color: var(--hs-navy);
}

.hs-b2b-scanner-quantity strong {
  min-width: 42px;
  text-align: center;
}

.hs-b2b-scanner-add { margin-bottom: 9px; }

.hs-b2b-manual-ean label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
  color: var(--hs-navy);
}

.hs-b2b-manual-ean label small {
  color: #718096;
  font-weight: 500;
}

.hs-b2b-manual-ean > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.hs-b2b-manual-ean input {
  min-width: 0;
  border: 1px solid #cdd9e6;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--hs-navy);
  background: #fff;
}

@media (max-width: 640px) {
  .hs-b2b-scanner-panel,
  .hs-b2b-scanner-result,
  .hs-b2b-manual-ean {
    border-radius: 16px;
    padding: 13px;
  }

  .hs-b2b-scanner-camera,
  .hs-b2b-scanner-camera video {
    min-height: 300px;
    height: 48vh;
  }

  .hs-b2b-scanner-product {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }

  .hs-b2b-scanner-product img {
    width: 76px;
    height: 76px;
  }

  .hs-b2b-scanner-product h2 { font-size: 17px; }
  .hs-b2b-scanner-quantity-row { align-items: center; }
  .hs-b2b-manual-ean > div { grid-template-columns: 1fr; }
  .hs-b2b-manual-ean .hs-b2b-secondary-button { width: 100%; }
}

/* Widok wejściowy przed zalogowaniem */
body:has(.hs-b2b-login) .entry-title,
body:has(.hs-b2b-login) .page-title,
body:has(.hs-b2b-login) .wp-block-post-title {
  display: none !important;
}

body:has(.hs-b2b-login) .site-main,
body:has(.hs-b2b-login) .content-area,
body:has(.hs-b2b-login) .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hs-b2b-login,
.hs-b2b-login * {
  box-sizing: border-box;
}

.hs-b2b-login {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(520px, 68vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 56px 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 140, 40, .28), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(91, 155, 230, .22), transparent 30%),
    linear-gradient(145deg, #0b2238 0%, #123b61 58%, #0f2f4f 100%);
  font-family: Inter, Arial, sans-serif;
}

.hs-b2b-login::before,
.hs-b2b-login::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
}

.hs-b2b-login::before {
  width: 460px;
  height: 460px;
  top: -250px;
  right: -140px;
}

.hs-b2b-login::after {
  width: 360px;
  height: 360px;
  bottom: -220px;
  left: -100px;
}

.hs-b2b-login-card {
  width: min(520px, 100%);
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  background: rgba(255, 255, 255, .97);
  text-align: left;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .30);
  backdrop-filter: blur(10px);
}

.hs-b2b-login-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5ebf1;
}

.hs-b2b-login-brand strong,
.hs-b2b-login-brand span {
  display: block;
}

.hs-b2b-login-brand strong {
  color: var(--hs-navy);
  font-size: 20px;
  line-height: 1.15;
}

.hs-b2b-login-brand span {
  margin-top: 4px;
  color: var(--hs-muted);
  font-size: 14px;
}

.hs-b2b-login-copy {
  padding: 30px 0 25px;
}

.hs-b2b-login-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--hs-orange-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hs-b2b-login-card h1 {
  margin: 0;
  color: var(--hs-navy);
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hs-b2b-login-card p {
  margin: 16px 0 0;
  color: #596779;
  font-size: 16px;
  line-height: 1.65;
}

.hs-b2b-login-button {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(242, 140, 40, .24);
}

.hs-b2b-login-button span {
  font-size: 22px;
  line-height: 1;
  transition: transform .2s ease;
}

.hs-b2b-login-button:hover span {
  transform: translateX(4px);
}

.hs-b2b-login-note {
  display: block;
  margin-top: 17px;
  color: #7b8794;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 640px) {
  .hs-b2b-login {
    min-height: calc(100vh - 150px);
    padding: 28px 16px;
  }

  .hs-b2b-login-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .hs-b2b-login-brand {
    padding-bottom: 20px;
  }

  .hs-b2b-login-copy {
    padding: 25px 0 22px;
  }

  .hs-b2b-login-card h1 {
    font-size: 30px;
  }

  .hs-b2b-login-card p {
    font-size: 15px;
  }
}

/* HS B2B 2.0 v0.2.9 — uproszczony ekran wejściowy */
.hs-b2b-login-card {
  width: min(100%, 500px);
  padding: 38px 36px 32px;
}

.hs-b2b-login-copy {
  padding: 0 0 27px;
}

.hs-b2b-login-card h1 {
  font-size: clamp(30px, 4vw, 38px);
}

.hs-b2b-login-card p {
  margin-top: 15px;
  line-height: 1.6;
}

.hs-b2b-login-note {
  max-width: 360px;
  margin: 18px auto 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hs-b2b-login {
    padding: 42px 20px;
  }

  .hs-b2b-login-card {
    padding: 32px 24px 27px;
  }

  .hs-b2b-login-copy {
    padding-bottom: 24px;
  }

  .hs-b2b-login-card h1 {
    font-size: 29px;
  }
}


/* HS B2B 2.0 v0.2.11 — uporządkowany branding panelu */
.hs-b2b-brand > span:last-child {
  display: flex;
  align-items: center;
}

.hs-b2b-brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.hs-b2b-new-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hs-b2b-new-order-button > span {
  font-size: 19px;
  line-height: 1;
}

.hs-b2b-bottom-nav button {
  transition: color .18s ease, transform .18s ease, background-color .18s ease;
}

.hs-b2b-bottom-nav button:active {
  transform: scale(.97);
}

.hs-b2b-bottom-nav button.active:not(.scanner)::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: 4px;
  left: 28%;
  height: 3px;
  border-radius: 999px;
  background: var(--hs-orange);
}

.hs-b2b-primary-button,
.hs-b2b-secondary-button,
.hs-b2b-dashboard-tile,
.hs-b2b-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover: hover) {
  .hs-b2b-primary-button:hover,
  .hs-b2b-secondary-button:hover {
    transform: translateY(-1px);
  }

  .hs-b2b-dashboard-tile:hover {
    transform: translateY(-2px);
  }
}

/* HS B2B 2.0 v0.2.15 — dopracowany newsletter */
.hs-b2b-flyers-note {
  margin: 16px 0 0;
  color: var(--hs-muted);
  font-size: 13px;
  text-align: center;
}

.hs-b2b-newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 44px;
  margin-top: 32px;
  padding: 38px 40px;
  border: 1px solid rgba(242, 140, 40, .42);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 140, 40, .12), transparent 34%),
    linear-gradient(135deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: var(--hs-shadow);
}

.hs-b2b-newsletter-copy h2 {
  margin: 10px 0 12px;
  color: var(--hs-navy);
  font-size: clamp(27px, 2.55vw, 38px);
  line-height: 1.13;
}

.hs-b2b-newsletter-copy p {
  max-width: 590px;
  margin: 0;
  color: var(--hs-muted);
  line-height: 1.65;
}

.hs-b2b-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px 14px;
  align-items: start;
}

.hs-b2b-newsletter-email {
  min-width: 0;
}

.hs-b2b-newsletter-email input {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--hs-line);
  border-radius: 13px;
  background: #fff;
  color: var(--hs-text);
  font: inherit;
}

.hs-b2b-newsletter-email input:focus {
  outline: 3px solid rgba(242, 140, 40, .18);
  border-color: var(--hs-orange);
}

.hs-b2b-newsletter-form button {
  min-height: 54px;
  padding: 13px 22px;
  border: 0;
  border-radius: 13px;
  background: var(--hs-orange);
  color: #fff;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(242, 140, 40, .24);
}

.hs-b2b-newsletter-form button:hover {
  background: var(--hs-orange-dark);
}

.hs-b2b-newsletter-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 2px;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.55;
}

.hs-b2b-newsletter-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--hs-orange);
}

.hs-b2b-newsletter-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.hs-b2b-newsletter-message {
  padding: 16px 18px;
  border-radius: 13px;
  font-weight: 750;
}

.hs-b2b-newsletter-message.success {
  background: #edf8f1;
  color: #247246;
}

.hs-b2b-newsletter-message.error {
  grid-column: 1 / -1;
  background: #fff1f0;
  color: #a53a32;
}

@media (max-width: 900px) {
  .hs-b2b-newsletter-box {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 26px;
  }
}

@media (max-width: 560px) {
  .hs-b2b-newsletter-box {
    padding: 25px 20px;
  }

  .hs-b2b-newsletter-form {
    grid-template-columns: 1fr;
  }

  .hs-b2b-newsletter-form button,
  .hs-b2b-newsletter-email input {
    width: 100%;
  }
}


/* HS B2B 2.0 v0.2.17 — wybór sposobu płatności */
.hs-b2b-payment-method {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--hs-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .05);
}

.hs-b2b-payment-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.hs-b2b-payment-heading strong {
  color: var(--hs-navy);
  font-size: 17px;
}

.hs-b2b-payment-heading small {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hs-b2b-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hs-b2b-payment-option {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--hs-line);
  border-radius: 15px;
  background: #fbfdff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hs-b2b-payment-option:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 140, 40, .55);
  background: #fffaf4;
}

.hs-b2b-payment-option.selected {
  border-color: var(--hs-orange);
  background: #fff8ef;
  box-shadow: 0 0 0 3px rgba(242, 140, 40, .10);
}

.hs-b2b-payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hs-b2b-payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #edf4fa;
  font-size: 21px;
}

.hs-b2b-payment-option.selected .hs-b2b-payment-icon {
  background: #ffe8cf;
}

.hs-b2b-payment-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.hs-b2b-payment-copy strong {
  color: var(--hs-navy);
  font-size: 15px;
  line-height: 1.3;
}

.hs-b2b-payment-copy small {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hs-b2b-payment-check {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #b9c7d5;
  border-radius: 50%;
  background: #fff;
}

.hs-b2b-payment-option.selected .hs-b2b-payment-check {
  border: 6px solid var(--hs-orange);
}

@media (max-width: 680px) {
  .hs-b2b-payment-options {
    grid-template-columns: 1fr;
  }
}

/* Kaucja zwrotna — HS B2B 0.2.18 */
.hs-b2b-deposit-label {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid #ffd2a3;
  border-radius: 999px;
  background: #fff4e8;
  color: #b85d00 !important;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 1.25;
}

.hs-b2b-cart-summary > div span small {
  color: var(--hs-muted);
  font-size: 11px;
  font-weight: 600;
}


/* Koszyk hurtowy — kompaktowe sterowanie i szybkie usuwanie, HS B2B 0.2.20 */
.hs-b2b-cart-row .hs-b2b-quantity {
  flex-wrap: nowrap;
}

.hs-b2b-remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid #f2c8c8 !important;
  border-radius: 9px;
  background: #fff4f4 !important;
  color: #ba3131 !important;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.hs-b2b-remove-item svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  pointer-events: none;
}

.hs-b2b-remove-item:hover {
  border-color: #df8f8f !important;
  background: #ffe8e8 !important;
  color: #981f1f !important;
  transform: translateY(-1px);
}

@media (min-width: 681px) {
  .hs-b2b-cart-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(90px, auto);
  }

  .hs-b2b-cart-row .hs-b2b-quantity {
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--hs-line);
    border-radius: 12px;
    background: #f8fafc;
  }

  .hs-b2b-cart-row .hs-b2b-qty-button {
    width: 30px;
    height: 30px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #edf3f8;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
  }

  .hs-b2b-cart-row .hs-b2b-qty-button:hover {
    border-color: #c5d6e5;
    background: #e3edf5;
  }

  .hs-b2b-cart-row .hs-b2b-quantity span {
    min-width: 38px;
    padding: 0 3px;
    font-size: 15px;
  }

  .hs-b2b-cart-row .hs-b2b-remove-item {
    width: 30px;
    height: 30px;
    margin-left: 3px;
    border-radius: 8px;
  }
}

@media (max-width: 680px) {
  .hs-b2b-cart-row .hs-b2b-remove-item {
    margin-left: 2px;
  }
}


/* Bezpośrednie wpisywanie ilości hurtowych — HS B2B 0.2.23 */
.hs-b2b-cart-row .hs-b2b-qty-input {
  width: 74px;
  height: 34px;
  padding: 4px 8px;
  border: 1px solid #cfddea !important;
  border-radius: 9px;
  background: #ffffff !important;
  color: var(--hs-navy) !important;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.hs-b2b-cart-row .hs-b2b-qty-input::-webkit-outer-spin-button,
.hs-b2b-cart-row .hs-b2b-qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.hs-b2b-cart-row .hs-b2b-qty-input:hover {
  border-color: #aebfd0 !important;
}

.hs-b2b-cart-row .hs-b2b-qty-input:focus {
  border-color: var(--hs-orange) !important;
  background: #fffdfa !important;
  box-shadow: 0 0 0 3px rgba(247, 147, 30, .14);
}

@media (min-width: 681px) {
  .hs-b2b-cart-row .hs-b2b-qty-input {
    width: 72px;
    height: 30px;
    padding: 3px 7px;
    border-radius: 8px;
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .hs-b2b-cart-row .hs-b2b-qty-input {
    width: 70px;
    min-width: 70px;
    height: 38px;
    font-size: 16px;
  }
}


/* Wpisywanie ilości bezpośrednio podczas kompletowania zamówienia — HS B2B 0.2.24 */
.hs-b2b-product-actions .hs-b2b-catalog-quantity {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.hs-b2b-product-actions .hs-b2b-catalog-qty-input {
  width: 78px;
  height: 34px;
  padding: 4px 8px;
  border: 1px solid #cfddea !important;
  border-radius: 9px;
  background: #ffffff !important;
  color: var(--hs-navy) !important;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.hs-b2b-product-actions .hs-b2b-catalog-qty-input::-webkit-outer-spin-button,
.hs-b2b-product-actions .hs-b2b-catalog-qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.hs-b2b-product-actions .hs-b2b-catalog-qty-input:focus {
  border-color: var(--hs-orange) !important;
  background: #fffdfa !important;
  box-shadow: 0 0 0 3px rgba(247, 147, 30, .14);
}

.hs-b2b-catalog-add-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 9px;
}

.hs-b2b-catalog-add-label {
  display: grid;
  gap: 4px;
  color: var(--hs-muted);
  font-size: 11px;
  font-weight: 700;
}

.hs-b2b-catalog-add-row .hs-b2b-primary-button {
  min-height: 34px;
  padding: 7px 15px;
}

@media (min-width: 681px) {
  .hs-b2b-product-actions .hs-b2b-catalog-qty-input {
    width: 76px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .hs-b2b-product-actions .hs-b2b-catalog-quantity,
  .hs-b2b-catalog-add-row {
    width: 100%;
    justify-content: space-between;
  }

  .hs-b2b-product-actions .hs-b2b-catalog-qty-input {
    width: 86px;
    min-width: 86px;
    height: 40px;
    font-size: 16px;
  }

  .hs-b2b-catalog-add-label {
    flex: 1 1 auto;
  }

  .hs-b2b-catalog-add-row .hs-b2b-primary-button {
    min-height: 40px;
    padding: 9px 18px;
  }
}


/* HS B2B 0.2.28 — poprawione naliczanie VAT i typografia podsumowania */
.hs-b2b-product-pricing { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:8px; }
.hs-b2b-product-pricing .hs-b2b-product-price { margin:0; }
.hs-b2b-vat-badge, .hs-b2b-deposit-badge { display:inline-flex; align-items:center; min-height:25px; padding:5px 9px; border-radius:999px; font-size:11px; font-weight:800; line-height:1; white-space:nowrap; }
.hs-b2b-vat-badge { border:1px solid #d7e0ea; background:#f4f7fb; color:#40566f; }
.hs-b2b-deposit-badge { border:1px solid #ffd19a; background:#fff5e9; color:#b85a00; }
.hs-b2b-price-on-request { color:#0d2f50 !important; }
.hs-b2b-inquiry-button { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:44px; padding:11px 15px; border:1px solid #f7931e; border-radius:12px; background:#fff8f0; color:#c86500 !important; font-size:13px; font-weight:800; text-align:center; text-decoration:none !important; }
.hs-b2b-inquiry-button:hover { background:#f7931e; color:#fff !important; }
.hs-b2b-cart-summary .hs-b2b-summary-gross, .hs-b2b-cart-summary .hs-b2b-summary-total { margin-top:4px; padding-top:14px; border-top:1px solid #dce4ed; }
.hs-b2b-cart-summary .hs-b2b-summary-gross strong { color:#0d2f50; font-size:18px; }
.hs-b2b-cart-summary .hs-b2b-summary-total { margin-top:8px; border-top:2px solid #f7931e; }
.hs-b2b-cart-summary .hs-b2b-summary-total span, .hs-b2b-cart-summary .hs-b2b-summary-total strong { color:#0d2f50; font-size:19px; font-weight:900; }
@media (max-width:600px) { .hs-b2b-product-pricing{gap:6px}.hs-b2b-vat-badge,.hs-b2b-deposit-badge{min-height:23px;padding:5px 8px;font-size:10px}.hs-b2b-cart-summary .hs-b2b-summary-total span,.hs-b2b-cart-summary .hs-b2b-summary-total strong{font-size:17px} }


/* HS B2B 0.2.28 — czytelne polskie znaki w podsumowaniu */
.hs-b2b-cart-summary,
.hs-b2b-cart-summary span,
.hs-b2b-cart-summary strong,
.hs-b2b-cart-summary small {
  font-family: Arial, Helvetica, sans-serif !important;
  font-synthesis: none;
  letter-spacing: normal !important;
}
.hs-b2b-cart-summary .hs-b2b-summary-total span,
.hs-b2b-cart-summary .hs-b2b-summary-total strong {
  font-weight: 700 !important;
}

/* HS B2B 2.0 v0.2.29 — menu u góry na komputerze, na dole na telefonie */
@media (min-width: 769px) {
  .hs-b2b-app {
    padding-bottom: 0;
  }

  .hs-b2b-bottom-nav {
    position: sticky;
    top: 66px;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 95;
    width: 100%;
    min-height: 70px;
    border-top: 0;
    border-bottom: 1px solid var(--hs-line);
    background: #fff;
    box-shadow: 0 7px 22px rgba(16, 42, 67, .08);
  }

  .hs-b2b-bottom-nav button {
    min-height: 70px;
  }

  .hs-b2b-bottom-nav .scanner {
    transform: none;
  }

  .hs-b2b-bottom-nav .scanner > span {
    width: 43px;
    height: 43px;
    margin-bottom: 2px !important;
  }

  .hs-b2b-bottom-nav button.active:not(.scanner)::after {
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .hs-b2b-bottom-nav {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
  }
}


@media (min-width: 1025px){.hs-mobile-only{display:none !important;}}


/* HS B2B 2.0 v0.2.32 — wyśrodkowane, większe menu desktopowe bez skanera */
@media (min-width: 1025px) {
  .hs-b2b-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 78px;
  }

  .hs-b2b-bottom-nav button {
    min-height: 78px;
    font-size: 12px;
    text-align: center;
  }

  .hs-b2b-bottom-nav button > span:not(.hs-b2b-cart-badge) {
    margin-bottom: 5px;
    font-size: 24px;
  }

  .hs-b2b-bottom-nav .cart-button > span:not(.hs-b2b-cart-badge) {
    font-size: 23px;
  }

  .hs-b2b-bottom-nav button.active:not(.scanner)::after {
    right: 24%;
    left: 24%;
    height: 3px;
  }
}


/* HS B2B 2.0 v0.2.34 — filtr Nowości w katalogu */
.hs-b2b-quick-links {
  gap: 8px;
}

.hs-b2b-quick-links .pill-new-products {
  border-color: #d9d0f6;
  background: #f5f1ff;
  color: #6841c7 !important;
}

.hs-b2b-quick-links .pill-new-products:hover,
.hs-b2b-quick-links .pill-new-products.active {
  border-color: #aa91eb;
  background: #ede6ff;
  color: #5630b3 !important;
}

@media (max-width: 1100px) {
  .hs-b2b-quick-links button,
  .hs-b2b-quick-links a {
    padding-right: 13px;
    padding-left: 13px;
  }
}


/* HS B2B 2.0 v0.2.35 — wybór kategorii w katalogu */
.hs-b2b-quick-links .pill-categories {
  border-color: #cfd9e5;
  background: #f7f9fc;
  color: #17375e !important;
}

.hs-b2b-quick-links .pill-categories:hover,
.hs-b2b-quick-links .pill-categories.active {
  border-color: #9fb3c8;
  background: #eaf0f6;
  color: #0b2948 !important;
}

.hs-b2b-categories-panel {
  margin: 14px 0 18px;
  padding: 18px;
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(8, 40, 73, 0.06);
}

.hs-b2b-categories-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hs-b2b-categories-heading strong {
  color: #0b2948;
  font-size: 15px;
}

.hs-b2b-categories-heading button {
  padding: 7px 12px;
  border: 1px solid #dce5ee;
  border-radius: 999px;
  background: #fff;
  color: #5e6f82;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.hs-b2b-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-b2b-category-list button,
.hs-b2b-category-selected button {
  padding: 9px 13px;
  border: 1px solid #dce5ee;
  border-radius: 999px;
  background: #f7f9fc;
  color: #17375e;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.hs-b2b-category-list button:hover,
.hs-b2b-category-list button.active,
.hs-b2b-category-selected button.active {
  border-color: #ffb66d;
  background: #fff0df;
  color: #e87409;
}

.hs-b2b-category-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 700px) {
  .hs-b2b-categories-panel {
    padding: 15px;
  }

  .hs-b2b-category-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hs-b2b-category-list button {
    width: 100%;
    text-align: center;
  }
}


/* HS B2B 2.0 v0.2.36 — Kategorie również w koszyku */
.hs-b2b-cart-links {
  gap: 8px;
}

.hs-b2b-cart-links .pill-categories {
  border-color: #cfd9e5;
  background: #f7f9fc;
  color: #17375e !important;
}

.hs-b2b-cart-links .pill-categories:hover {
  border-color: #9fb3c8;
  background: #eaf0f6;
  color: #0b2948 !important;
}

@media (max-width: 900px) {
  .hs-b2b-cart-links {
    flex-wrap: wrap;
  }
}


/* HS B2B 2.0 v0.2.38 — oznaczenie gazetki/nowości na liście */
.hs-b2b-offer-marker {
  margin: 9px 0 0 !important;
  padding: 8px 11px !important;
  border-left: 3px solid #ff8a1f;
  border-radius: 0 9px 9px 0;
  background: #fff7ee !important;
  color: #6a4b2e !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.4 !important;
}

@media (max-width: 700px) {
  .hs-b2b-offer-marker {
    padding: 7px 9px !important;
    font-size: 11px !important;
  }
}


/* HS B2B 2.0 v0.2.39 — blokada produktów bez stanu */
.hs-b2b-out-of-stock {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid #efb3b3;
  border-radius: 12px;
  background: #fff1f1;
  color: #b42318;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

/* HS B2B 0.2.41 — poprawiony link regulaminu */
.hs-b2b-account-header {
  flex-wrap: wrap;
}

.hs-b2b-account-identity {
  min-width: 220px;
  flex: 1 1 280px;
}

.hs-b2b-account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 8px;
  margin-left: auto;
}

.hs-b2b-account-stats > div {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: rgba(255, 255, 255, .82);
  text-align: center;
}

.hs-b2b-account-stats strong,
.hs-b2b-account-stats span {
  display: block;
}

.hs-b2b-account-stats strong {
  color: var(--hs-navy);
  font-size: 19px;
  line-height: 1.1;
}

.hs-b2b-account-stats span {
  margin-top: 4px;
  color: var(--hs-muted);
  font-size: 11px;
  font-weight: 700;
}

.hs-b2b-product-card {
  position: relative;
}

.hs-b2b-favorite-button {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #e3e9ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  color: #a4afbc;
  box-shadow: 0 4px 14px rgba(16, 42, 67, .09);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.hs-b2b-favorite-button:hover,
.hs-b2b-favorite-button.active {
  border-color: rgba(242, 140, 40, .55);
  color: var(--hs-orange-dark);
  background: #fff7ed;
}

.hs-b2b-settings-heading p {
  margin: 6px 0 0;
  color: var(--hs-muted);
}

.hs-b2b-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.hs-b2b-settings-card {
  padding: 20px;
  border: 1px solid var(--hs-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 42, 67, .06);
}

.hs-b2b-setting-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
  cursor: pointer;
}

.hs-b2b-setting-row strong,
.hs-b2b-setting-row small {
  display: block;
}

.hs-b2b-setting-row strong {
  color: var(--hs-navy);
  font-size: 14px;
}

.hs-b2b-setting-row small {
  margin-top: 3px;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.4;
}

.hs-b2b-setting-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hs-b2b-setting-row i {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #dce3ea;
  transition: .2s ease;
}

.hs-b2b-setting-row i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 42, 67, .22);
  transition: .2s ease;
}

.hs-b2b-setting-row input:checked + i {
  background: var(--hs-orange);
}

.hs-b2b-setting-row input:checked + i::after {
  transform: translateX(20px);
}

.hs-b2b-settings-documents {
  grid-column: 1 / -1;
}

.hs-b2b-settings-documents > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
  color: var(--hs-navy);
  font-weight: 800;
  text-decoration: none !important;
}

.hs-b2b-settings-documents > a b {
  color: var(--hs-orange);
}

@media (max-width: 820px) {
  .hs-b2b-account-stats {
    width: 100%;
    margin-left: 0;
  }

  .hs-b2b-settings-grid {
    grid-template-columns: 1fr;
  }

  .hs-b2b-settings-documents {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hs-b2b-account-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hs-b2b-account-stats > div {
    min-width: 0;
    padding: 9px 6px;
  }

  .hs-b2b-settings-card {
    padding: 16px;
  }
}

/* Cena gazetkowa: cena końcowa, bez dodatkowego rabatu klienta */
.hs-b2b-flyer-price-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3d6;
  color: #7a4a00;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

/* Hierarchiczne kategorie e-Hurt 0.2.51 */
.hs-b2b-category-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 14px;
  color: #64748b;
  font-size: 13px;
}

.hs-b2b-category-breadcrumbs button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 3px 0;
  color: #245f96;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hs-b2b-category-breadcrumbs strong {
  color: #102e4d;
}

.hs-b2b-category-level {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.hs-b2b-category-level > span {
  display: block;
  margin-bottom: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.hs-b2b-category-list-children,
.hs-b2b-category-list-siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hs-b2b-category-list-siblings button.active {
  border-color: #f58a1f;
  background: #fff3e8;
  color: #d96500;
  box-shadow: inset 0 0 0 1px rgba(245, 138, 31, .12);
}

@media (max-width: 680px) {
  .hs-b2b-category-list-children,
  .hs-b2b-category-list-siblings {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hs-b2b-category-list-children button,
  .hs-b2b-category-list-siblings button {
    width: 100%;
    text-align: left;
  }
}


/* e-Hurt 0.2.60 — przy braku produktu wyświetlany jest tylko komunikat „Brak w magazynie” */
.hs-b2b-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid #b9dfc4;
  border-radius: 999px;
  background: #eefaf1;
  color: #23703a;
  font-weight: 700;
  white-space: nowrap;
}
.hs-b2b-stock-badge b { color: inherit; }
.hs-b2b-stock-badge.is-empty {
  border-color: #efc3c3;
  background: #fff2f2;
  color: #a52d2d;
}


/* e-Hurt 0.2.61 — klikalne karty i publiczna karta produktu */
.hs-b2b-product-image-link { position: relative; display: block; text-decoration: none; color: inherit; }
.hs-b2b-product-image-link img { display: block; width: 100%; }
.hs-b2b-product-title-link { color: inherit; text-decoration: none; }
.hs-b2b-product-title-link:hover, .hs-b2b-product-title-link:focus { color: #d96500; text-decoration: underline; text-underline-offset: 3px; }
.hs-ehurt-price-inquiry { display: inline-block; color: #d96500; font-size: 1.15em; font-weight: 800; }
.hs-ehurt-single-ean { display: block; margin-top: 5px; }
.hs-ehurt-meta-label { font-weight: 700; }
.hs-ehurt-product-inquiry { margin: 20px 0; padding: 18px; border: 1px solid #fed7aa; border-radius: 14px; background: #fff7ed; }
.hs-ehurt-product-inquiry strong { display: block; margin-bottom: 5px; font-size: 18px; }
.hs-ehurt-product-inquiry p { margin: 0 0 14px; }

/* e-Hurt 0.2.62 — publiczna Oferta i karta produktu */
.hs-ehurt-public-offer ul.products li.product a.woocommerce-LoopProduct-link,
.hs-ehurt-public-offer ul.products li.product a.woocommerce-loop-product__link,
ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-loop-product__link {
  position: relative;
  z-index: 2;
  display: block;
  pointer-events: auto !important;
  cursor: pointer;
  text-decoration: none;
}

.hs-ehurt-public-offer ul.products li.product img,
ul.products li.product a.woocommerce-loop-product__link img {
  cursor: zoom-in;
}

.hs-ehurt-single-product div.product {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.hs-ehurt-single-product div.product .woocommerce-product-gallery,
.hs-ehurt-single-product div.product .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.hs-ehurt-single-product div.product .woocommerce-product-gallery {
  padding: 18px;
  border: 1px solid #e4eaf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 35, 55, .07);
}

.hs-ehurt-single-product div.product .woocommerce-product-gallery__image img {
  border-radius: 14px;
}

.hs-ehurt-single-product div.product .summary {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid #e4eaf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 35, 55, .07);
}

.hs-ehurt-single-product div.product .product_title {
  margin: 0 0 14px;
  color: #102a43;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.18;
}

.hs-ehurt-single-product div.product .price {
  margin: 16px 0;
  color: #d96500;
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 850;
}

.hs-ehurt-single-product div.product .stock {
  display: inline-flex;
  margin: 8px 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eefaf1;
  color: #23703a;
  font-weight: 800;
}

.hs-ehurt-single-product div.product .stock.out-of-stock {
  background: #fff2f2;
  color: #a52d2d;
}

.hs-ehurt-single-product div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 20px;
}

.hs-ehurt-single-product div.product form.cart .quantity .qty {
  min-height: 48px;
  border: 1px solid #cad5df;
  border-radius: 12px;
}

.hs-ehurt-single-product div.product .single_add_to_cart_button,
.hs-ehurt-product-inquiry .button {
  min-height: 48px;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f28c28 !important;
  color: #fff !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  box-shadow: 0 9px 20px rgba(242, 140, 40, .22);
}

.hs-ehurt-single-product div.product .product_meta {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e6edf3;
  color: #526575;
}

.hs-ehurt-product-inquiry {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffaf3, #fff5e8);
}

.hs-ehurt-public-view div.product form.cart,
.hs-ehurt-public-view div.product .single_add_to_cart_button {
  display: none !important;
}

@media (max-width: 820px) {
  .hs-ehurt-single-product div.product {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hs-ehurt-single-product div.product .woocommerce-product-gallery,
  .hs-ehurt-single-product div.product .summary {
    padding: 16px;
    border-radius: 16px;
  }

  .hs-ehurt-product-inquiry .button {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* e-Hurt 0.2.63 — publiczna Oferta: rzeczywiście klikalne wiersze produktów */
.hs-public-product-clickable {
  cursor: pointer !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hs-public-product-clickable:hover,
.hs-public-product-clickable:focus-visible {
  border-color: #f28c28 !important;
  box-shadow: 0 10px 28px rgba(15, 35, 55, .10) !important;
  outline: none;
}
.hs-public-product-loading {
  opacity: .72;
  pointer-events: none;
}

/* e-Hurt 0.2.63 — spokojniejsza, bardziej proporcjonalna karta produktu */
.hs-ehurt-single-product div.product {
  grid-template-columns: minmax(280px, .92fr) minmax(360px, 1.08fr);
  max-width: 1240px;
  margin-inline: auto;
  gap: clamp(30px, 4vw, 56px);
}
.hs-ehurt-single-product div.product .product_title {
  margin: 0 0 18px !important;
  font-size: clamp(25px, 2.15vw, 36px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.02em;
}
.hs-ehurt-single-product div.product .summary .price {
  margin: 0 0 18px !important;
  font-size: clamp(22px, 1.8vw, 30px) !important;
  line-height: 1.2;
}
.hs-ehurt-single-product div.product form.cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 18px 0 24px !important;
}
.hs-ehurt-single-product div.product form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}
.hs-ehurt-single-product div.product form.cart .qty {
  width: 72px !important;
  min-height: 46px !important;
  text-align: center !important;
  border-radius: 10px !important;
}
.hs-ehurt-single-product div.product form.cart .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 190px !important;
  min-height: 46px !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.hs-ehurt-single-product div.product .stock {
  margin: 8px 0 12px !important;
  font-size: 14px !important;
  font-weight: 700;
}
.hs-ehurt-single-product div.product .product_meta {
  font-size: 13px !important;
  line-height: 1.65 !important;
}
.hs-ehurt-single-product div.product .woocommerce-product-gallery {
  padding: 16px !important;
}
.hs-ehurt-single-product div.product .woocommerce-product-gallery img {
  max-height: 520px;
  width: 100%;
  object-fit: contain;
}
@media (max-width: 760px) {
  .hs-ehurt-single-product div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hs-ehurt-single-product div.product .product_title {
    font-size: 25px !important;
  }
  .hs-ehurt-single-product div.product form.cart {
    flex-wrap: wrap;
  }
  .hs-ehurt-single-product div.product form.cart .single_add_to_cart_button {
    flex: 1 1 210px;
  }
}


/* e-Hurt 0.2.65 — jedna sekcja zapytania i dopracowane produkty podobne */
.hs-ehurt-public-view div.product .summary > .price,
.hs-ehurt-public-view div.product .summary > p.price,
.hs-ehurt-public-view div.product .summary > .stock,
.hs-ehurt-public-view div.product .summary > p.stock,
.hs-ehurt-public-view div.product .summary > .woocommerce-info,
.hs-ehurt-public-view div.product .summary > .woocommerce-message,
.hs-ehurt-public-view div.product .summary > .wc-memberships-member-discount-message {
  display: none !important;
}

.hs-ehurt-single-product .related.products,
.hs-ehurt-single-product .upsells.products {
  clear: both;
  width: 100%;
  margin-top: 30px;
}

.hs-ehurt-single-product .related.products > h2,
.hs-ehurt-single-product .upsells.products > h2 {
  margin: 0 0 16px;
  color: #102a43;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}

.hs-ehurt-single-product .related.products ul.products,
.hs-ehurt-single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
}

.hs-ehurt-single-product .related.products ul.products::before,
.hs-ehurt-single-product .related.products ul.products::after,
.hs-ehurt-single-product .upsells.products ul.products::before,
.hs-ehurt-single-product .upsells.products ul.products::after {
  display: none !important;
}

.hs-ehurt-single-product .related.products ul.products li.product,
.hs-ehurt-single-product .upsells.products ul.products li.product {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 35, 55, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hs-ehurt-single-product .related.products ul.products li.product:hover,
.hs-ehurt-single-product .upsells.products ul.products li.product:hover {
  transform: translateY(-2px);
  border-color: #f3b16f;
  box-shadow: 0 12px 30px rgba(15, 35, 55, .10);
}

.hs-ehurt-single-product .related.products ul.products li.product a,
.hs-ehurt-single-product .upsells.products ul.products li.product a {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.hs-ehurt-single-product .related.products ul.products li.product img,
.hs-ehurt-single-product .upsells.products ul.products li.product img {
  display: block;
  width: 100% !important;
  height: 150px !important;
  margin: 0 0 12px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 10px;
  background: #fff;
}

.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 3.9em;
  margin: 0 !important;
  overflow: hidden;
  color: #102a43;
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hs-ehurt-public-view .related.products ul.products li.product .price,
.hs-ehurt-public-view .related.products ul.products li.product .button,
.hs-ehurt-public-view .related.products ul.products li.product .added_to_cart,
.hs-ehurt-public-view .upsells.products ul.products li.product .price,
.hs-ehurt-public-view .upsells.products ul.products li.product .button,
.hs-ehurt-public-view .upsells.products ul.products li.product .added_to_cart {
  display: none !important;
}

@media (max-width: 820px) {
  .hs-ehurt-single-product .related.products ul.products,
  .hs-ehurt-single-product .upsells.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product,
  .hs-ehurt-single-product .upsells.products ul.products li.product {
    padding: 9px !important;
    border-radius: 12px;
  }

  .hs-ehurt-single-product .related.products ul.products li.product img,
  .hs-ehurt-single-product .upsells.products ul.products li.product img {
    height: 105px !important;
    margin-bottom: 8px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.6em;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 430px) {
  .hs-ehurt-single-product .related.products ul.products,
  .hs-ehurt-single-product .upsells.products ul.products {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product,
  .hs-ehurt-single-product .upsells.products ul.products li.product {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .hs-ehurt-single-product .related.products ul.products li.product img,
  .hs-ehurt-single-product .upsells.products ul.products li.product img {
    width: 92px !important;
    height: 92px !important;
    margin: 0 !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    min-height: auto;
    font-size: 13px !important;
    -webkit-line-clamp: 3;
  }
}


/* e-Hurt 0.2.66 — czytelne produkty podobne na telefonie */
@media (max-width: 600px) {
  .hs-ehurt-single-product .related.products,
  .hs-ehurt-single-product .upsells.products {
    margin-top: 24px;
  }

  .hs-ehurt-single-product .related.products > h2,
  .hs-ehurt-single-product .upsells.products > h2 {
    margin-bottom: 12px;
    font-size: 22px !important;
  }

  .hs-ehurt-single-product .related.products ul.products,
  .hs-ehurt-single-product .upsells.products ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product,
  .hs-ehurt-single-product .upsells.products ul.products li.product {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: visible !important;
    border-radius: 14px;
  }

  .hs-ehurt-single-product .related.products ul.products li.product > a.woocommerce-LoopProduct-link,
  .hs-ehurt-single-product .related.products ul.products li.product > a.woocommerce-loop-product__link,
  .hs-ehurt-single-product .upsells.products ul.products li.product > a.woocommerce-LoopProduct-link,
  .hs-ehurt-single-product .upsells.products ul.products li.product > a.woocommerce-loop-product__link {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    column-gap: 14px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product img,
  .hs-ehurt-single-product .upsells.products ul.products li.product img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 96px !important;
    max-width: 96px !important;
    height: 96px !important;
    max-height: 96px !important;
    margin: 0 !important;
    padding: 4px !important;
    object-fit: contain !important;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    background: #fff;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: -webkit-box !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .price,
  .hs-ehurt-single-product .upsells.products ul.products li.product .price {
    display: block;
    margin: 8px 0 0 110px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .hs-ehurt-public-view .related.products ul.products li.product .price,
  .hs-ehurt-public-view .related.products ul.products li.product .button,
  .hs-ehurt-public-view .related.products ul.products li.product .added_to_cart,
  .hs-ehurt-public-view .upsells.products ul.products li.product .price,
  .hs-ehurt-public-view .upsells.products ul.products li.product .button,
  .hs-ehurt-public-view .upsells.products ul.products li.product .added_to_cart,
  .hs-ehurt-public-view .related.products ul.products li.product [class*="login"],
  .hs-ehurt-public-view .upsells.products ul.products li.product [class*="login"] {
    display: none !important;
  }
}


/* e-Hurt 0.2.67 — profesjonalna sekcja produktów podobnych */
.hs-ehurt-single-product .related.products,
.hs-ehurt-single-product .upsells.products {
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 34px 0 0 !important;
  padding: 0 !important;
}

.hs-ehurt-single-product .related.products > h2,
.hs-ehurt-single-product .upsells.products > h2 {
  margin: 0 0 16px !important;
  color: #102a43 !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.hs-ehurt-single-product .related.products ul.products,
.hs-ehurt-single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hs-ehurt-single-product .related.products ul.products li.product,
.hs-ehurt-single-product .upsells.products ul.products li.product {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 250px !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow: hidden !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15, 35, 55, .06) !important;
  text-align: left !important;
}

.hs-ehurt-single-product .related.products ul.products li.product:hover,
.hs-ehurt-single-product .upsells.products ul.products li.product:hover {
  transform: none !important;
  border-color: #bcccdc !important;
  box-shadow: 0 8px 22px rgba(15, 35, 55, .09) !important;
}

.hs-ehurt-single-product .related.products ul.products li.product > a,
.hs-ehurt-single-product .upsells.products ul.products li.product > a,
.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__link,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.hs-ehurt-single-product .related.products ul.products li.product img,
.hs-ehurt-single-product .upsells.products ul.products li.product img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 132px !important;
  max-height: 132px !important;
  margin: 0 0 14px !important;
  padding: 6px !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #102a43 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: manual !important;
  -webkit-line-clamp: unset !important;
}

.hs-ehurt-single-product .related.products ul.products li.product .price,
.hs-ehurt-single-product .upsells.products ul.products li.product .price {
  display: block !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding-top: 14px !important;
  color: #e86f00 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* W publicznej ofercie nie pokazujemy w podobnych produktach żadnych CTA ani monitów logowania. */
.hs-ehurt-public-view .related.products li.product .price,
.hs-ehurt-public-view .upsells.products li.product .price,
.hs-ehurt-public-view .related.products li.product .button,
.hs-ehurt-public-view .upsells.products li.product .button,
.hs-ehurt-public-view .related.products li.product .added_to_cart,
.hs-ehurt-public-view .upsells.products li.product .added_to_cart,
.hs-ehurt-public-view .related.products li.product [class*="login"],
.hs-ehurt-public-view .upsells.products li.product [class*="login"],
.hs-ehurt-public-view .related.products li.product [class*="price-login"],
.hs-ehurt-public-view .upsells.products li.product [class*="price-login"],
.hs-ehurt-public-view .related.products li.product p:not(.woocommerce-loop-product__title),
.hs-ehurt-public-view .upsells.products li.product p:not(.woocommerce-loop-product__title) {
  display: none !important;
}

@media (max-width: 767px) {
  .hs-ehurt-single-product .related.products,
  .hs-ehurt-single-product .upsells.products {
    margin-top: 28px !important;
  }

  .hs-ehurt-single-product .related.products > h2,
  .hs-ehurt-single-product .upsells.products > h2 {
    margin-bottom: 12px !important;
    font-size: 21px !important;
  }

  .hs-ehurt-single-product .related.products ul.products,
  .hs-ehurt-single-product .upsells.products ul.products {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product,
  .hs-ehurt-single-product .upsells.products ul.products li.product {
    min-height: 0 !important;
    padding: 12px !important;
    border-radius: 8px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product > a,
  .hs-ehurt-single-product .upsells.products ul.products li.product > a,
  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__link,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__link {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    column-gap: 14px !important;
    align-items: center !important;
    height: auto !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product img,
  .hs-ehurt-single-product .upsells.products ul.products li.product img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 88px !important;
    max-width: 88px !important;
    height: 88px !important;
    max-height: 88px !important;
    margin: 0 !important;
    padding: 2px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .price,
  .hs-ehurt-single-product .upsells.products ul.products li.product .price {
    grid-column: 2 !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
  }
}


/* e-Hurt 0.2.68 — finalny, stabilny układ produktów podobnych */
.hs-ehurt-single-product .related.products ul.products,
.hs-ehurt-single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.hs-ehurt-single-product .related.products ul.products li.product,
.hs-ehurt-single-product .upsells.products ul.products li.product {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 270px !important;
  margin: 0 !important;
  padding: 18px !important;
  overflow: hidden !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15, 35, 55, .07) !important;
}

.hs-ehurt-single-product .related.products ul.products li.product > a,
.hs-ehurt-single-product .upsells.products ul.products li.product > a,
.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__link,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__link,
.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-LoopProduct-link,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-LoopProduct-link {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  text-align: center !important;
}

/* Resetuje agresywne style obrazków motywu/lazy-load, które przesuwały zdjęcia na dół karty. */
.hs-ehurt-single-product .related.products li.product picture,
.hs-ehurt-single-product .upsells.products li.product picture,
.hs-ehurt-single-product .related.products li.product [class*="image"],
.hs-ehurt-single-product .upsells.products li.product [class*="image"] {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.hs-ehurt-single-product .related.products ul.products li.product img,
.hs-ehurt-single-product .upsells.products ul.products li.product img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 150px !important;
  height: 140px !important;
  max-height: 140px !important;
  margin: 0 auto 16px !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #102a43 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

.hs-ehurt-single-product .related.products ul.products li.product .price,
.hs-ehurt-single-product .upsells.products ul.products li.product .price {
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 14px 0 0 !important;
  color: #e86f00 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* W sekcji podobnych produktów nie pokazujemy dużych przycisków ani nakładek. Karta jest klikalna. */
.hs-ehurt-single-product .related.products li.product .button,
.hs-ehurt-single-product .upsells.products li.product .button,
.hs-ehurt-single-product .related.products li.product .added_to_cart,
.hs-ehurt-single-product .upsells.products li.product .added_to_cart,
.hs-ehurt-single-product .related.products li.product [class*="login"],
.hs-ehurt-single-product .upsells.products li.product [class*="login"],
.hs-ehurt-single-product .related.products li.product [class*="quick"],
.hs-ehurt-single-product .upsells.products li.product [class*="quick"] {
  display: none !important;
}

@media (max-width: 767px) {
  .hs-ehurt-single-product .related.products ul.products,
  .hs-ehurt-single-product .upsells.products ul.products {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product,
  .hs-ehurt-single-product .upsells.products ul.products li.product {
    min-height: 0 !important;
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product > a,
  .hs-ehurt-single-product .upsells.products ul.products li.product > a,
  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__link,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product img,
  .hs-ehurt-single-product .upsells.products ul.products li.product img {
    width: 118px !important;
    max-width: 118px !important;
    height: 106px !important;
    max-height: 106px !important;
    margin: 0 auto 12px !important;
  }

  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .related.products ul.products li.product .price,
  .hs-ehurt-single-product .upsells.products ul.products li.product .price {
    text-align: center !important;
  }
}

/* e-Hurt 0.2.69 — stabilny, własny układ kart produktów podobnych */
.hs-ehurt-single-product .related.products,
.hs-ehurt-single-product .upsells.products {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hs-ehurt-single-product .related.products ul.products,
.hs-ehurt-single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hs-ehurt-single-product .related.products li.product.hs-related-card-fixed,
.hs-ehurt-single-product .upsells.products li.product.hs-related-card-fixed {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d8e2ec !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(15, 35, 55, .06) !important;
}

.hs-ehurt-single-product .hs-related-card-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 250px !important;
  margin: 0 !important;
  padding: 16px !important;
  color: #102a43 !important;
  text-decoration: none !important;
  text-align: center !important;
}

.hs-ehurt-single-product .hs-related-card-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 132px !important;
  margin: 0 0 14px !important;
  padding: 4px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.hs-ehurt-single-product .hs-related-card-media img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 124px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.hs-ehurt-single-product .hs-related-card-name {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #102a43 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  hyphens: none !important;
}

.hs-ehurt-single-product .hs-related-card-price {
  display: block !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 14px 0 0 !important;
  color: #e86f00 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* Główny przycisk zakupu: bez rozciągania na całą kartę lub ekran. */
.hs-ehurt-single-product div.product form.cart .single_add_to_cart_button.hs-main-cart-button-fixed {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 168px !important;
  max-width: 230px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

@media (max-width: 767px) {
  .hs-ehurt-single-product .related.products,
  .hs-ehurt-single-product .upsells.products {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .hs-ehurt-single-product .related.products > h2,
  .hs-ehurt-single-product .upsells.products > h2 {
    text-align: center !important;
  }

  .hs-ehurt-single-product .related.products ul.products,
  .hs-ehurt-single-product .upsells.products ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 360px) !important;
    margin-inline: auto !important;
    gap: 12px !important;
  }

  .hs-ehurt-single-product .hs-related-card-link {
    min-height: 0 !important;
    padding: 16px !important;
  }

  .hs-ehurt-single-product .hs-related-card-media {
    height: 112px !important;
    margin-bottom: 12px !important;
  }

  .hs-ehurt-single-product .hs-related-card-media img {
    max-height: 104px !important;
  }

  .hs-ehurt-single-product .hs-related-card-name,
  .hs-ehurt-single-product .hs-related-card-price {
    text-align: center !important;
  }

  .hs-ehurt-single-product div.product form.cart {
    align-items: center !important;
    justify-content: center !important;
  }

  .hs-ehurt-single-product div.product form.cart .single_add_to_cart_button.hs-main-cart-button-fixed {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 158px !important;
    max-width: 210px !important;
    min-height: 42px !important;
    padding: 9px 17px !important;
    font-size: 13px !important;
  }
}

/* v0.2.70: czyste, klikalne zdjęcie i nazwa produktu w panelu e-Hurt */
.hs-b2b-product-image-link { display: block; position: relative; cursor: pointer; text-decoration: none !important; }
.hs-b2b-product-image-link img { pointer-events: none; }
.hs-b2b-product-title-link { cursor: pointer; text-decoration: none; color: inherit; }
.hs-b2b-product-title-link:hover, .hs-b2b-product-title-link:focus { text-decoration: underline; text-underline-offset: 3px; }


/* e-Hurt 0.2.73 — lżejsza typografia nazw w sekcji produktów podobnych */
.hs-ehurt-single-product .hs-related-card-name,
.hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
}

@media (max-width: 767px) {
  .hs-ehurt-single-product .hs-related-card-name,
  .hs-ehurt-single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .hs-ehurt-single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
}

/* e-Hurt 0.2.74 — pełna szerokość stopki na pojedynczej karcie produktu */
body.hs-ehurt-single-product #colophon,
body.hs-ehurt-single-product footer.site-footer,
body.hs-ehurt-single-product .site-footer,
body.hs-ehurt-single-product .footer-wrap,
body.hs-ehurt-single-product .site-footer-wrap {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.hs-ehurt-single-product #colophon > *,
body.hs-ehurt-single-product footer.site-footer > *,
body.hs-ehurt-single-product .site-footer > *,
body.hs-ehurt-single-product .footer-wrap > *,
body.hs-ehurt-single-product .site-footer-wrap > * {
  width: 100% !important;
  max-width: none !important;
}

/* Zachowuje bezpieczne marginesy wewnątrz stopki na telefonach. */
@media (max-width: 767px) {
  body.hs-ehurt-single-product #colophon,
  body.hs-ehurt-single-product footer.site-footer,
  body.hs-ehurt-single-product .site-footer,
  body.hs-ehurt-single-product .footer-wrap,
  body.hs-ehurt-single-product .site-footer-wrap {
    overflow-x: clip;
  }
}


/* e-Hurt 0.2.75 — stopka produktu uwolniona ze zwężonego kontenera motywu */
body.hs-ehurt-single-product > #colophon.hs-product-footer-fullwidth,
body.hs-ehurt-single-product > footer.site-footer.hs-product-footer-fullwidth {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  clear: both !important;
}

body.hs-ehurt-single-product > #colophon.hs-product-footer-fullwidth .site-footer-row-container-inner,
body.hs-ehurt-single-product > footer.site-footer.hs-product-footer-fullwidth .site-footer-row-container-inner,
body.hs-ehurt-single-product > #colophon.hs-product-footer-fullwidth .site-container,
body.hs-ehurt-single-product > footer.site-footer.hs-product-footer-fullwidth .site-container,
body.hs-ehurt-single-product > #colophon.hs-product-footer-fullwidth .wp-block-kadence-rowlayout,
body.hs-ehurt-single-product > footer.site-footer.hs-product-footer-fullwidth .wp-block-kadence-rowlayout {
  width: 100% !important;
  max-width: none !important;
}


/* e-Hurt 0.2.77 — profesjonalne karty na stronach kategorii */
.hs-ehurt-public-offer ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  box-sizing: border-box;
  padding: 16px 16px 18px !important;
  border: 1px solid #f6d6b8 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(20, 45, 70, .055) !important;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hs-ehurt-public-offer ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover {
  border-color: #efb57e !important;
  box-shadow: 0 12px 28px rgba(20, 45, 70, .09) !important;
  transform: translateY(-2px);
}

.hs-ehurt-public-offer ul.products li.product img,
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img {
  border-radius: 10px;
}

.hs-ehurt-more-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 14px;
  padding: 7px 18px;
  border: 1px solid #f3bb87;
  border-radius: 999px;
  background: #fff7ef;
  color: #d76500 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none !important;
}

.hs-ehurt-more-link:hover,
.hs-ehurt-more-link:focus {
  border-color: #f58220;
  background: #f58220;
  color: #fff !important;
}

@media (max-width: 767px) {
  .hs-ehurt-public-offer ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product {
    padding: 13px 13px 16px !important;
    border-radius: 14px !important;
  }

  .hs-ehurt-more-link {
    min-width: 92px;
    min-height: 38px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* e-Hurt 0.2.78 — formularz zapytania o konkretny produkt */
.hs-ehurt-open-inquiry {
  cursor: pointer;
}

.hs-ehurt-inquiry-form[hidden] {
  display: none !important;
}

.hs-ehurt-inquiry-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f2cfad;
}

.hs-ehurt-inquiry-product {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #f4d2b2;
  border-radius: 12px;
  background: #fff;
}

.hs-ehurt-inquiry-product > span {
  color: #6d7785;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hs-ehurt-inquiry-product > strong {
  color: #082f55;
  font-size: 15px;
  line-height: 1.35;
}

.hs-ehurt-inquiry-product > small {
  color: #65758a;
  font-size: 12px;
}

.hs-ehurt-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hs-ehurt-inquiry-grid label {
  display: grid;
  gap: 7px;
  color: #102f4f;
  font-size: 13px;
  font-weight: 700;
}

.hs-ehurt-inquiry-grid label > span {
  color: #d95600;
}

.hs-ehurt-inquiry-grid label small {
  color: #738197;
  font-weight: 500;
}

.hs-ehurt-inquiry-grid input,
.hs-ehurt-inquiry-grid textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cad7e5;
  border-radius: 10px;
  background: #fff;
  color: #102f4f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
}

.hs-ehurt-inquiry-grid input {
  min-height: 44px;
  padding: 10px 12px;
}

.hs-ehurt-inquiry-grid textarea {
  min-height: 108px;
  padding: 11px 12px;
  resize: vertical;
}

.hs-ehurt-inquiry-grid input:focus,
.hs-ehurt-inquiry-grid textarea:focus {
  outline: none;
  border-color: #f58220;
  box-shadow: 0 0 0 3px rgba(245, 130, 32, .13);
}

.hs-ehurt-inquiry-message {
  grid-column: 1 / -1;
}

.hs-ehurt-send-inquiry {
  margin-top: 15px !important;
}

.hs-ehurt-inquiry-success,
.hs-ehurt-inquiry-error {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.hs-ehurt-inquiry-success {
  border: 1px solid #a9ddba;
  background: #effaf2;
  color: #176b35;
}

.hs-ehurt-inquiry-error {
  border: 1px solid #efb7b7;
  background: #fff2f2;
  color: #a32e2e;
}

.hs-ehurt-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 640px) {
  .hs-ehurt-inquiry-grid {
    grid-template-columns: 1fr;
  }

  .hs-ehurt-inquiry-message {
    grid-column: auto;
  }

  .hs-ehurt-send-inquiry {
    width: 100%;
    min-height: 46px;
  }
}


/* e-Hurt 0.2.79 — lżejszy przycisk wysyłania formularza */
.hs-ehurt-send-inquiry {
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}


/* e-Hurt 0.2.80 — smukły przycisk formularza zapytania */
.hs-ehurt-send-inquiry {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 88px !important;
  min-height: 38px !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .hs-ehurt-send-inquiry {
    width: auto !important;
    min-width: 88px !important;
    min-height: 38px !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
  }
}


/* e-Hurt 0.2.81 — pełna szerokość stopki na listach kategorii produktów */
body.post-type-archive-product > #colophon.hs-catalog-footer-fullwidth,
body.post-type-archive-product > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_cat > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_cat > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_tag > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_tag > footer.site-footer.hs-catalog-footer-fullwidth {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  clear: both !important;
}

body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-footer-row-container-inner,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-container,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .wp-block-kadence-rowlayout,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-footer-row-container-inner,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-container,
body.tax-product_cat > .hs-catalog-footer-fullwidth .wp-block-kadence-rowlayout,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-footer-row-container-inner,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-container,
body.tax-product_tag > .hs-catalog-footer-fullwidth .wp-block-kadence-rowlayout {
  width: 100% !important;
  max-width: none !important;
}


/* e-Hurt 0.2.82 — stałe paski na stronach produktów */
body.logged-in.woocommerce-page:has(.hs-ehurt-product-nav-shell),
body.logged-in.tax-product_cat:has(.hs-ehurt-product-nav-shell),
body.logged-in.tax-product_tag:has(.hs-ehurt-product-nav-shell) {
  padding-top: 66px !important;
  padding-bottom: 74px !important;
}

.hs-ehurt-product-topbar {
  position: fixed;
  z-index: 99990;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 11px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, var(--hs-navy), var(--hs-navy-light));
  color: #fff;
  box-shadow: 0 7px 22px rgba(16, 42, 67, .2);
}

body.admin-bar .hs-ehurt-product-topbar { top: 32px; }

.hs-ehurt-product-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff !important;
  text-decoration: none !important;
}

.hs-ehurt-product-brand strong { font-size: 18px; line-height: 1; }

.hs-ehurt-product-bottom-nav {
  position: fixed;
  z-index: 99990;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 1fr));
  width: min(620px, calc(100% - 24px));
  min-height: 58px;
  padding: 6px;
  border: 1px solid #dbe5ef;
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 14px 36px rgba(16,42,67,.18);
  backdrop-filter: blur(12px);
}

.hs-ehurt-product-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 7px 5px;
  border-radius: 12px;
  color: #52657a !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
}

.hs-ehurt-product-bottom-nav a > span { font-size: 18px; line-height: 1; }
.hs-ehurt-product-bottom-nav a:hover,
.hs-ehurt-product-bottom-nav a.active {
  background: #eef5fb;
  color: var(--hs-navy) !important;
}

/* e-Hurt 0.2.82 — przyciski na kartach kategorii */
.hs-ehurt-catalog-card {
  display: flex !important;
  flex-direction: column !important;
}

.hs-ehurt-archive-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
}

.hs-ehurt-archive-cart-button,
.hs-ehurt-catalog-card .add_to_cart_button,
.hs-ehurt-catalog-card .ajax_add_to_cart {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  background: #f58220 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  text-align: center !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hs-ehurt-archive-actions .hs-ehurt-more-link { margin: 0 !important; }

@media (max-width: 782px) {
  body.admin-bar .hs-ehurt-product-topbar { top: 46px; }
}

@media (max-width: 640px) {
  body.logged-in.woocommerce-page:has(.hs-ehurt-product-nav-shell),
  body.logged-in.tax-product_cat:has(.hs-ehurt-product-nav-shell),
  body.logged-in.tax-product_tag:has(.hs-ehurt-product-nav-shell) {
    padding-top: 62px !important;
    padding-bottom: 84px !important;
  }

  .hs-ehurt-product-topbar {
    min-height: 62px;
    padding: 9px 12px;
  }

  .hs-ehurt-product-bottom-nav {
    bottom: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: calc(100% - 16px);
    border-radius: 16px;
  }

  .hs-ehurt-product-bottom-nav a {
    padding: 7px 2px;
    font-size: 10px;
  }

  .hs-ehurt-product-bottom-nav a > span { font-size: 17px; }

  .hs-ehurt-archive-actions { justify-content: center; }

  .hs-ehurt-archive-cart-button,
  .hs-ehurt-catalog-card .add_to_cart_button,
  .hs-ehurt-catalog-card .ajax_add_to_cart {
    min-height: 38px !important;
    padding: 8px 13px !important;
    font-size: 12px !important;
  }
}


/* e-Hurt 0.2.83 — komputer: oba paski na górze, bez skanera */
@media (min-width: 641px) {
  body.logged-in.woocommerce-page:has(.hs-ehurt-product-nav-shell),
  body.logged-in.tax-product_cat:has(.hs-ehurt-product-nav-shell),
  body.logged-in.tax-product_tag:has(.hs-ehurt-product-nav-shell) {
    padding-top: 132px !important;
    padding-bottom: 0 !important;
  }

  .hs-ehurt-product-topbar {
    top: 0 !important;
    min-height: 80px !important;
  }

  body.admin-bar .hs-ehurt-product-topbar {
    top: 32px !important;
  }

  .hs-ehurt-product-bottom-nav {
    position: fixed !important;
    z-index: 99989 !important;
    top: 80px !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 max(24px, calc((100vw - 1180px) / 2)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e3eaf1 !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(16,42,67,.08) !important;
    backdrop-filter: none !important;
  }

  body.admin-bar .hs-ehurt-product-bottom-nav {
    top: 112px !important;
  }

  .hs-ehurt-product-bottom-nav a {
    position: relative !important;
    min-height: 52px !important;
    padding: 7px 10px !important;
    border-radius: 0 !important;
  }

  .hs-ehurt-product-bottom-nav a > span {
    font-size: 17px !important;
  }

  .hs-ehurt-product-bottom-nav a.active {
    background: transparent !important;
    color: #f58220 !important;
  }

  .hs-ehurt-product-bottom-nav a.active::after {
    content: "";
    position: absolute;
    left: 24%;
    right: 24%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #f58220;
  }

  .hs-ehurt-mobile-scanner {
    display: none !important;
  }
}

/* Telefon: skaner pozostaje w dolnym pasku */
@media (max-width: 640px) {
  .hs-ehurt-mobile-scanner {
    display: flex !important;
  }
}


/* e-Hurt 0.2.84 — na komputerze paski są pod nagłówkiem strony */
@media (min-width: 641px) {
  body.logged-in.woocommerce-page:has(.hs-ehurt-product-nav-shell),
  body.logged-in.tax-product_cat:has(.hs-ehurt-product-nav-shell),
  body.logged-in.tax-product_tag:has(.hs-ehurt-product-nav-shell) {
    padding-top: 0 !important;
  }

  .hs-ehurt-product-nav-shell {
    position: relative !important;
    z-index: 50;
    width: 100%;
  }

  .hs-ehurt-product-topbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
  }

  body.admin-bar .hs-ehurt-product-topbar {
    top: auto !important;
  }

  .hs-ehurt-product-bottom-nav {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
  }

  body.admin-bar .hs-ehurt-product-bottom-nav {
    top: auto !important;
  }
}


/* e-Hurt 0.2.85 — właściwa wysokość białego paska na komputerze */
@media (min-width: 641px) {
  .hs-ehurt-product-bottom-nav {
    min-height: 78px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hs-ehurt-product-bottom-nav a {
    min-height: 78px !important;
    padding: 10px 12px 11px !important;
    gap: 6px !important;
    font-size: 13px !important;
  }

  .hs-ehurt-product-bottom-nav a > span {
    font-size: 20px !important;
  }

  .hs-ehurt-product-bottom-nav a.active::after {
    left: 18% !important;
    right: 18% !important;
    height: 3px !important;
  }
}


/* e-Hurt 0.2.86 — stabilne akcje kart kategorii */
.hs-ehurt-archive-actions:empty {
  display: none !important;
}

body:not(.logged-in) .hs-ehurt-archive-actions .add_to_cart_button,
body:not(.logged-in) .hs-ehurt-archive-actions .ajax_add_to_cart,
body:not(.logged-in) .hs-ehurt-archive-actions .hs-ehurt-archive-cart-button {
  display: none !important;
}

body.logged-in .hs-ehurt-archive-actions .hs-ehurt-more-link {
  display: none !important;
}


/* e-Hurt 0.2.87 — niższy nagłówek kategorii WooCommerce */
body.tax-product_cat .entry-hero,
body.tax-product_cat .page-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
  min-height: 130px !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

body.tax-product_cat .entry-hero-container-inner,
body.tax-product_cat .entry-header,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .entry-hero-container-inner,
body.post-type-archive-product .entry-header,
body.post-type-archive-product .woocommerce-products-header__title {
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.tax-product_cat h1,
body.post-type-archive-product h1 {
  margin: 0 !important;
  line-height: 1.2 !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .entry-hero,
  body.tax-product_cat .page-header,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .entry-hero,
  body.post-type-archive-product .page-header,
  body.post-type-archive-product .woocommerce-products-header {
    min-height: 96px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}


/* e-Hurt 0.2.88 — delikatniejszy, wyśrodkowany przycisk „Dodaj do koszyka” */
.hs-ehurt-archive-actions {
  justify-content: center !important;
}

.hs-ehurt-archive-cart-button,
.hs-ehurt-catalog-card .add_to_cart_button,
.hs-ehurt-catalog-card .ajax_add_to_cart {
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 172px !important;
  max-width: 220px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 640px) {
  .hs-ehurt-archive-cart-button,
  .hs-ehurt-catalog-card .add_to_cart_button,
  .hs-ehurt-catalog-card .ajax_add_to_cart {
    min-width: 156px !important;
    max-width: 200px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }
}


/* e-Hurt 0.2.89 — usunięcie ogromnej przerwy pod nazwą kategorii */
body.tax-product_cat .entry-hero,
body.tax-product_cat .page-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
  min-height: 84px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
}

body.tax-product_cat .content-area,
body.tax-product_cat #primary,
body.tax-product_cat .site-main,
body.tax-product_cat .woocommerce,
body.post-type-archive-product .content-area,
body.post-type-archive-product #primary,
body.post-type-archive-product .site-main,
body.post-type-archive-product .woocommerce {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.tax-product_cat .woocommerce-notices-wrapper,
body.post-type-archive-product .woocommerce-notices-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering {
  margin-top: 24px !important;
}

body.tax-product_cat ul.products,
body.post-type-archive-product ul.products {
  margin-top: 18px !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .entry-hero,
  body.tax-product_cat .page-header,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .entry-hero,
  body.post-type-archive-product .page-header,
  body.post-type-archive-product .woocommerce-products-header {
    min-height: 68px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  body.tax-product_cat .woocommerce-result-count,
  body.tax-product_cat .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-result-count,
  body.post-type-archive-product .woocommerce-ordering {
    margin-top: 16px !important;
  }

  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    margin-top: 12px !important;
  }
}


/* e-Hurt 0.2.90 — jednakowa szerokość pasków na wszystkich stronach produktów */
@media (min-width: 641px) {
  .hs-ehurt-product-nav-shell,
  .hs-ehurt-product-topbar,
  .hs-ehurt-product-bottom-nav {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
  }

  .hs-ehurt-product-topbar {
    padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
    padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
  }

  .hs-ehurt-product-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
    padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
  }

  .hs-ehurt-product-bottom-nav > a {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Na bardzo szerokich ekranach układ nadal pozostaje zwarty i czytelny */
@media (min-width: 1600px) {
  .hs-ehurt-product-topbar,
  .hs-ehurt-product-bottom-nav {
    padding-left: calc((100vw - 1180px) / 2) !important;
    padding-right: calc((100vw - 1180px) / 2) !important;
  }
}


/* e-Hurt 0.2.91 — bardziej proporcjonalny nagłówek kategorii */
body.tax-product_cat .entry-hero,
body.tax-product_cat .page-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
  min-height: 116px !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

body.tax-product_cat h1,
body.post-type-archive-product h1,
body.tax-product_cat .entry-title,
body.post-type-archive-product .entry-title,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title {
  font-size: clamp(28px, 2.2vw, 38px) !important;
  line-height: 1.15 !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .entry-hero,
  body.tax-product_cat .page-header,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .entry-hero,
  body.post-type-archive-product .page-header,
  body.post-type-archive-product .woocommerce-products-header {
    min-height: 86px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  body.tax-product_cat h1,
  body.post-type-archive-product h1,
  body.tax-product_cat .entry-title,
  body.post-type-archive-product .entry-title,
  body.tax-product_cat .woocommerce-products-header__title,
  body.post-type-archive-product .woocommerce-products-header__title {
    font-size: 27px !important;
  }
}


/* e-Hurt 0.2.92 — taki sam zwarty rozstaw nawigacji w całym panelu */
@media (min-width: 641px) {
  .hs-b2b-bottom-nav {
    box-sizing: border-box !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
    padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
  }

  .hs-b2b-bottom-nav > button {
    width: 100% !important;
    max-width: none !important;
  }

  .hs-b2b-bottom-nav .scanner {
    display: none !important;
  }
}

@media (min-width: 1600px) {
  .hs-b2b-bottom-nav {
    padding-left: calc((100vw - 1180px) / 2) !important;
    padding-right: calc((100vw - 1180px) / 2) !important;
  }
}


/* e-Hurt 0.2.93 — pełna szerokość stopki i wyższy nagłówek kategorii */
body.post-type-archive-product > #colophon.hs-catalog-footer-fullwidth,
body.post-type-archive-product > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_cat > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_cat > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_tag > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_tag > footer.site-footer.hs-catalog-footer-fullwidth {
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  overflow: visible !important;
}

body.post-type-archive-product > .hs-catalog-footer-fullwidth,
body.tax-product_cat > .hs-catalog-footer-fullwidth,
body.tax-product_tag > .hs-catalog-footer-fullwidth {
  box-sizing: border-box !important;
}

/* Samo tło stopki ma dochodzić do obu krawędzi ekranu */
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-footer-wrap,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-footer-row-container,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-footer-wrap,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-footer-row-container,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-footer-wrap,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-footer-row-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}

/* Wyższy, bardziej reprezentacyjny pasek kategorii */
body.tax-product_cat .entry-hero,
body.tax-product_cat .page-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
  min-height: 150px !important;
  padding-top: 38px !important;
  padding-bottom: 38px !important;
  margin-bottom: 0 !important;
}

body.tax-product_cat h1,
body.post-type-archive-product h1,
body.tax-product_cat .entry-title,
body.post-type-archive-product .entry-title,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title {
  margin: 0 !important;
  font-size: clamp(30px, 2.4vw, 40px) !important;
  line-height: 1.15 !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .entry-hero,
  body.tax-product_cat .page-header,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .entry-hero,
  body.post-type-archive-product .page-header,
  body.post-type-archive-product .woocommerce-products-header {
    min-height: 104px !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
}


/* e-Hurt 0.2.94 — rzeczywiście pełne tło stopki na produktach i kategoriach */
body.single-product #colophon,
body.single-product footer.site-footer,
body.post-type-archive-product #colophon,
body.post-type-archive-product footer.site-footer,
body.tax-product_cat #colophon,
body.tax-product_cat footer.site-footer,
body.tax-product_tag #colophon,
body.tax-product_tag footer.site-footer {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #0d2d4a !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* Usunięcie jasnych bocznych pasów tworzonych przez kontenery motywu */
body.single-product #colophon > *,
body.single-product footer.site-footer > *,
body.post-type-archive-product #colophon > *,
body.post-type-archive-product footer.site-footer > *,
body.tax-product_cat #colophon > *,
body.tax-product_cat footer.site-footer > *,
body.tax-product_tag #colophon > *,
body.tax-product_tag footer.site-footer > * {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

/* Kadence i typowe wewnętrzne opakowania stopki */
body.single-product #colophon .site-footer-wrap,
body.single-product #colophon .site-footer-row-container,
body.single-product #colophon .site-footer-row-container-inner,
body.single-product #colophon .site-container,
body.post-type-archive-product #colophon .site-footer-wrap,
body.post-type-archive-product #colophon .site-footer-row-container,
body.post-type-archive-product #colophon .site-footer-row-container-inner,
body.post-type-archive-product #colophon .site-container,
body.tax-product_cat #colophon .site-footer-wrap,
body.tax-product_cat #colophon .site-footer-row-container,
body.tax-product_cat #colophon .site-footer-row-container-inner,
body.tax-product_cat #colophon .site-container,
body.tax-product_tag #colophon .site-footer-wrap,
body.tax-product_tag #colophon .site-footer-row-container,
body.tax-product_tag #colophon .site-footer-row-container-inner,
body.tax-product_tag #colophon .site-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}

/* Właściwa treść stopki zachowuje czytelny wewnętrzny odstęp */
body.single-product #colophon .footer-widget-area,
body.post-type-archive-product #colophon .footer-widget-area,
body.tax-product_cat #colophon .footer-widget-area,
body.tax-product_tag #colophon .footer-widget-area {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
}

/* Pasek kategorii — wyraźny, ale bez przesadnej pustej przestrzeni */
body.tax-product_cat .entry-hero,
body.tax-product_cat .page-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
  min-height: 170px !important;
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .entry-hero,
  body.tax-product_cat .page-header,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .entry-hero,
  body.post-type-archive-product .page-header,
  body.post-type-archive-product .woocommerce-products-header {
    min-height: 112px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}


/* e-Hurt 0.2.95 — naprawa stopki po zbyt agresywnym rozciągnięciu */
body.single-product #colophon,
body.single-product footer.site-footer,
body.post-type-archive-product #colophon,
body.post-type-archive-product footer.site-footer,
body.tax-product_cat #colophon,
body.tax-product_cat footer.site-footer,
body.tax-product_tag #colophon,
body.tax-product_tag footer.site-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* Nie zmieniamy już oryginalnych kolorów poszczególnych sekcji stopki */
body.single-product #colophon > *,
body.single-product footer.site-footer > *,
body.post-type-archive-product #colophon > *,
body.post-type-archive-product footer.site-footer > *,
body.tax-product_cat #colophon > *,
body.tax-product_cat footer.site-footer > *,
body.tax-product_tag #colophon > *,
body.tax-product_tag footer.site-footer > * {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Usuwamy wyłącznie zewnętrzne marginesy i paddingi kontenerów motywu */
body.single-product #colophon .site-footer-wrap,
body.single-product #colophon .site-footer-row-container,
body.single-product #colophon .site-footer-row-container-inner,
body.post-type-archive-product #colophon .site-footer-wrap,
body.post-type-archive-product #colophon .site-footer-row-container,
body.post-type-archive-product #colophon .site-footer-row-container-inner,
body.tax-product_cat #colophon .site-footer-wrap,
body.tax-product_cat #colophon .site-footer-row-container,
body.tax-product_cat #colophon .site-footer-row-container-inner,
body.tax-product_tag #colophon .site-footer-wrap,
body.tax-product_tag #colophon .site-footer-row-container,
body.tax-product_tag #colophon .site-footer-row-container-inner {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}

/* Główna wizualna sekcja stopki ma dochodzić do krawędzi */
body.single-product #colophon .wp-block-kadence-rowlayout,
body.post-type-archive-product #colophon .wp-block-kadence-rowlayout,
body.tax-product_cat #colophon .wp-block-kadence-rowlayout,
body.tax-product_tag #colophon .wp-block-kadence-rowlayout {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}


/* e-Hurt 0.2.96 — stopka bez jakiegokolwiek białego marginesu */
html,
body {
  overflow-x: clip;
}

body.single-product > #colophon.hs-product-footer-fullwidth,
body.single-product > footer.site-footer.hs-product-footer-fullwidth,
body.post-type-archive-product > #colophon.hs-catalog-footer-fullwidth,
body.post-type-archive-product > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_cat > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_cat > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_tag > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_tag > footer.site-footer.hs-catalog-footer-fullwidth {
  box-sizing: border-box !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* Oryginalne sekcje zachowują własne kolory; usuwamy tylko zewnętrzne odsunięcie */
body.single-product > .hs-product-footer-fullwidth > *,
body.post-type-archive-product > .hs-catalog-footer-fullwidth > *,
body.tax-product_cat > .hs-catalog-footer-fullwidth > *,
body.tax-product_tag > .hs-catalog-footer-fullwidth > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}


/* e-Hurt 0.2.97 — ostateczna korekta położenia stopki */
body.single-product > #colophon.hs-product-footer-fullwidth,
body.single-product > footer.site-footer.hs-product-footer-fullwidth,
body.post-type-archive-product > #colophon.hs-catalog-footer-fullwidth,
body.post-type-archive-product > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_cat > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_cat > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_tag > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_tag > footer.site-footer.hs-catalog-footer-fullwidth {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

/* Stopka jest bezpośrednim dzieckiem BODY, więc 100% oznacza pełną szerokość okna */
body.single-product,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.single-product > #colophon.hs-product-footer-fullwidth > *,
body.single-product > footer.site-footer.hs-product-footer-fullwidth > *,
body.post-type-archive-product > #colophon.hs-catalog-footer-fullwidth > *,
body.post-type-archive-product > footer.site-footer.hs-catalog-footer-fullwidth > *,
body.tax-product_cat > #colophon.hs-catalog-footer-fullwidth > *,
body.tax-product_cat > footer.site-footer.hs-catalog-footer-fullwidth > *,
body.tax-product_tag > #colophon.hs-catalog-footer-fullwidth > *,
body.tax-product_tag > footer.site-footer.hs-catalog-footer-fullwidth > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}


/* e-Hurt 0.2.98 — usunięcie paddingu wewnętrznego Kadence w stopce */
body.single-product #colophon .site-footer-row-container-inner,
body.single-product #colophon .site-container,
body.post-type-archive-product #colophon .site-footer-row-container-inner,
body.post-type-archive-product #colophon .site-container,
body.tax-product_cat #colophon .site-footer-row-container-inner,
body.tax-product_cat #colophon .site-container,
body.tax-product_tag #colophon .site-footer-row-container-inner,
body.tax-product_tag #colophon .site-container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Własny blok stopki również bez bocznych odsunięć */
body.single-product #colophon .site-container > *,
body.post-type-archive-product #colophon .site-container > *,
body.tax-product_cat #colophon .site-container > *,
body.tax-product_tag #colophon .site-container > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Gdy Kadence dodaje dodatkowe opakowanie zawartości */
body.single-product #colophon .entry-content-wrap,
body.post-type-archive-product #colophon .entry-content-wrap,
body.tax-product_cat #colophon .entry-content-wrap,
body.tax-product_tag #colophon .entry-content-wrap,
body.single-product #colophon .kt-row-column-wrap,
body.post-type-archive-product #colophon .kt-row-column-wrap,
body.tax-product_cat #colophon .kt-row-column-wrap,
body.tax-product_tag #colophon .kt-row-column-wrap {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* e-Hurt 0.2.99 — twarde wyzerowanie położenia stopki */
body.single-product > #colophon.hs-product-footer-fullwidth,
body.single-product > footer.site-footer.hs-product-footer-fullwidth,
body.post-type-archive-product > #colophon.hs-catalog-footer-fullwidth,
body.post-type-archive-product > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_cat > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_cat > footer.site-footer.hs-catalog-footer-fullwidth,
body.tax-product_tag > #colophon.hs-catalog-footer-fullwidth,
body.tax-product_tag > footer.site-footer.hs-catalog-footer-fullwidth {
  position: relative !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;

  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  justify-self: stretch !important;
  align-self: auto !important;
  flex: 0 0 100% !important;

  box-sizing: border-box !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* Body nie może trzymać stopki w prawej kolumnie ani w zwężonym układzie */
body.single-product,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Wszystkie opakowania stopki na pełną szerokość, bez ograniczenia Kadence */
body.single-product > .hs-product-footer-fullwidth .site-footer-wrap,
body.single-product > .hs-product-footer-fullwidth .site-footer-row-container,
body.single-product > .hs-product-footer-fullwidth .site-footer-row-container-inner,
body.single-product > .hs-product-footer-fullwidth .site-container,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-footer-wrap,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-footer-row-container,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-footer-row-container-inner,
body.post-type-archive-product > .hs-catalog-footer-fullwidth .site-container,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-footer-wrap,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-footer-row-container,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-footer-row-container-inner,
body.tax-product_cat > .hs-catalog-footer-fullwidth .site-container,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-footer-wrap,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-footer-row-container,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-footer-row-container-inner,
body.tax-product_tag > .hs-catalog-footer-fullwidth .site-container {
  position: relative !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  box-sizing: border-box !important;
}


/* e-Hurt 0.3.00 — właściwy element stopki: #hs-premium-footer */
body.single-product #colophon .footer-widget-area,
body.single-product #colophon .footer-widget-area-inner,
body.single-product #colophon section#block-8,
body.post-type-archive-product #colophon .footer-widget-area,
body.post-type-archive-product #colophon .footer-widget-area-inner,
body.post-type-archive-product #colophon section#block-8,
body.tax-product_cat #colophon .footer-widget-area,
body.tax-product_cat #colophon .footer-widget-area-inner,
body.tax-product_cat #colophon section#block-8,
body.tax-product_tag #colophon .footer-widget-area,
body.tax-product_tag #colophon .footer-widget-area-inner,
body.tax-product_tag #colophon section#block-8 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  box-sizing: border-box !important;
}

body.single-product #hs-premium-footer,
body.post-type-archive-product #hs-premium-footer,
body.tax-product_cat #hs-premium-footer,
body.tax-product_tag #hs-premium-footer {
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  float: none !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

/* Każda sekcja wewnątrz własnej stopki również bez zwężenia */
body.single-product #hs-premium-footer > *,
body.post-type-archive-product #hs-premium-footer > *,
body.tax-product_cat #hs-premium-footer > *,
body.tax-product_tag #hs-premium-footer > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}


/* e-Hurt 0.3.01 — właściwa stopka przeniesiona bezpośrednio do BODY */
body > #hs-premium-footer.hs-premium-footer-direct {
  position: relative !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  flex: 0 0 100% !important;

  box-sizing: border-box !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* Wewnętrzne sekcje zachowują wygląd, ale nie ograniczają szerokości */
body > #hs-premium-footer.hs-premium-footer-direct > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}


/* e-Hurt 0.3.02 — pełne tło stopki, ale wyśrodkowana treść */
body > #hs-premium-footer.hs-premium-footer-direct {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body > #hs-premium-footer.hs-premium-footer-direct > * {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Właściwa treść stopki wraca do wspólnej osi 1180 px */
body > #hs-premium-footer.hs-premium-footer-direct > * > *,
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-inner,
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-top-inner,
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-middle-inner,
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-bottom-inner,
body > #hs-premium-footer.hs-premium-footer-direct .site-container,
body > #hs-premium-footer.hs-premium-footer-direct .kt-row-column-wrap {
  box-sizing: border-box !important;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Dolne kafelki nie rozjeżdżają się na całą szerokość */
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-cards,
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-info-grid,
body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-bottom-grid {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

@media (max-width: 767px) {
  body > #hs-premium-footer.hs-premium-footer-direct > * > *,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-inner,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-top-inner,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-middle-inner,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-bottom-inner,
  body > #hs-premium-footer.hs-premium-footer-direct .site-container,
  body > #hs-premium-footer.hs-premium-footer-direct .kt-row-column-wrap,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-cards,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-info-grid,
  body > #hs-premium-footer.hs-premium-footer-direct .hs-footer-bottom-grid {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }
}


/* e-Hurt 0.3.03 — wyższy pasek tytułu kategorii bez zwiększania odstępu pod nim */
body.tax-product_cat .entry-hero,
body.tax-product_cat .entry-hero-container-inner,
body.tax-product_cat .entry-hero-container-inner .entry-header,
body.tax-product_cat .page-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .entry-hero-container-inner,
body.post-type-archive-product .entry-hero-container-inner .entry-header,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
  min-height: 150px !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.tax-product_cat .entry-hero-container-inner,
body.tax-product_cat .entry-hero-container-inner .entry-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .entry-hero-container-inner,
body.post-type-archive-product .entry-hero-container-inner .entry-header,
body.post-type-archive-product .woocommerce-products-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

body.tax-product_cat h1,
body.tax-product_cat .entry-title,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product h1,
body.post-type-archive-product .entry-title,
body.post-type-archive-product .woocommerce-products-header__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(32px, 2.5vw, 42px) !important;
  line-height: 1.15 !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .entry-hero,
  body.tax-product_cat .entry-hero-container-inner,
  body.tax-product_cat .entry-hero-container-inner .entry-header,
  body.tax-product_cat .page-header,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .entry-hero,
  body.post-type-archive-product .entry-hero-container-inner,
  body.post-type-archive-product .entry-hero-container-inner .entry-header,
  body.post-type-archive-product .page-header,
  body.post-type-archive-product .woocommerce-products-header {
    min-height: 108px !important;
  }

  body.tax-product_cat h1,
  body.tax-product_cat .entry-title,
  body.tax-product_cat .woocommerce-products-header__title,
  body.post-type-archive-product h1,
  body.post-type-archive-product .entry-title,
  body.post-type-archive-product .woocommerce-products-header__title {
    font-size: 29px !important;
  }
}

/* =========================================================
   TradeFlow Demo v0.1 — premium visual layer
   ========================================================= */
:root{--tf-navy:#081a33;--tf-navy2:#0d2b50;--tf-blue:#2e8cff;--tf-orange:#ff8733;--tf-bg:#f4f7fb;--tf-line:#dfe7f1;--tf-text:#15263d;--tf-muted:#6d7d91}
.hs-b2b-app{background:linear-gradient(180deg,#f8fbff 0,#f3f6fa 100%);color:var(--tf-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}
.hs-b2b-topbar{background:rgba(7,25,49,.97)!important;border-bottom:1px solid rgba(255,255,255,.09)!important;box-shadow:0 12px 32px rgba(5,24,48,.12)!important;backdrop-filter:blur(16px)}
.hs-b2b-brand{gap:11px!important}.hs-b2b-brand-mark{background:linear-gradient(145deg,var(--tf-blue),#176fd1)!important;color:#fff!important;box-shadow:0 8px 22px rgba(46,140,255,.25)!important}.hs-b2b-brand strong{font-weight:850!important;letter-spacing:-.02em!important}
.hs-b2b-main{max-width:1440px!important;margin:0 auto!important;padding-left:clamp(16px,3vw,42px)!important;padding-right:clamp(16px,3vw,42px)!important}
.hs-b2b-primary-button,.hs-b2b-app button[type="submit"]{border-radius:12px!important;background:linear-gradient(135deg,#ff963f,var(--tf-orange))!important;box-shadow:0 12px 26px rgba(255,135,51,.22)!important;font-weight:800!important}
.hs-b2b-login{background:radial-gradient(circle at 80% 10%,rgba(46,140,255,.16),transparent 32%),linear-gradient(145deg,#07182f,#0b2a50)!important}.hs-b2b-login-card{border:1px solid rgba(255,255,255,.13)!important;border-radius:24px!important;background:rgba(255,255,255,.075)!important;box-shadow:0 30px 80px rgba(0,0,0,.24)!important;backdrop-filter:blur(18px)!important}.hs-b2b-login-eyebrow{color:#86baff!important}.hs-b2b-login-copy h1{letter-spacing:-.035em!important}
.hs-b2b-content-card,.hs-b2b-product-card,.hs-b2b-account-card,.hs-b2b-cart-card{border-color:var(--tf-line)!important;border-radius:16px!important;box-shadow:0 10px 30px rgba(20,48,82,.055)!important}
.hs-b2b-bottom-nav{border-top:1px solid #e3eaf3!important;box-shadow:0 -8px 30px rgba(20,45,80,.07)!important}.hs-b2b-bottom-nav button.active{color:var(--tf-blue)!important}.hs-b2b-bottom-nav .scanner{background:linear-gradient(145deg,var(--tf-blue),#176fd1)!important;color:#fff!important}
.hs-b2b-search input,.hs-b2b-app input,.hs-b2b-app select,.hs-b2b-app textarea{border-color:#d9e3ef!important;border-radius:11px!important}.hs-b2b-app input:focus,.hs-b2b-app select:focus,.hs-b2b-app textarea:focus{border-color:var(--tf-blue)!important;box-shadow:0 0 0 3px rgba(46,140,255,.10)!important;outline:none!important}
.hs-b2b-toast{border-radius:12px!important;box-shadow:0 16px 40px rgba(5,25,50,.18)!important}
@media(max-width:720px){.hs-b2b-main{padding-left:12px!important;padding-right:12px!important}.hs-b2b-topbar{padding-left:14px!important;padding-right:14px!important}}

/* =========================================================
   TRADEFLOW DEMO v0.1.1 — wygląd zgodny z makietami strony
   desktop: biały panel aplikacji + lewy sidebar + katalog
   ========================================================= */

:root{
  --tf-navy:#0b1f3a;
  --tf-navy-2:#102b50;
  --tf-blue:#2f7df6;
  --tf-blue-soft:#eaf2ff;
  --tf-orange:#ff8733;
  --tf-bg:#f4f7fb;
  --tf-line:#dde6f0;
  --tf-text:#10233d;
  --tf-muted:#718097;
}

.hs-b2b-app{
  width:min(1180px,calc(100% - 40px));
  min-height:720px;
  margin:26px auto 70px;
  padding:0;
  display:grid;
  grid-template-columns:165px minmax(0,1fr);
  grid-template-rows:76px auto;
  overflow:hidden;
  border:1px solid #e0e7f0;
  border-radius:22px;
  background:#fff!important;
  box-shadow:0 32px 80px rgba(19,46,79,.14);
}

.hs-b2b-topbar{
  position:relative!important;
  top:auto!important;
  grid-column:1/-1;
  min-height:76px;
  padding:12px 22px!important;
  background:#fff!important;
  color:var(--tf-text)!important;
  border-bottom:1px solid var(--tf-line);
  box-shadow:none!important;
}

.hs-b2b-brand{
  width:185px;
  min-height:46px;
  justify-content:flex-start;
  padding:0!important;
}

.hs-b2b-brand-logo{
  display:block;
  width:190px;
  height:auto;
  max-height:48px;
  object-fit:contain;
  object-position:left center;
  transform:none;
  filter:none!important;
}

.hs-b2b-demo-company{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  color:var(--tf-text);
}
.hs-b2b-demo-company-name{font-size:12px;font-weight:800;color:#46566c}
.hs-b2b-demo-company-avatar{
  width:34px;height:34px;display:grid;place-items:center;border-radius:50%;
  background:#edf4ff;color:#276dd4;font-size:10px;font-weight:900;
}
.hs-b2b-logout{
  padding:8px 11px!important;
  border:1px solid #d9e3ef!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#66758a!important;
  font-size:11px!important;
  box-shadow:none!important;
}

.hs-b2b-bottom-nav{
  position:relative!important;
  z-index:10!important;
  right:auto!important;bottom:auto!important;left:auto!important;
  grid-column:1;
  grid-row:2;
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  gap:6px;
  min-height:100%;
  padding:18px 12px!important;
  border-top:0!important;
  border-right:1px solid var(--tf-line)!important;
  background:#f7f9fc!important;
  box-shadow:none!important;
}

.hs-b2b-bottom-nav button{
  min-height:40px;
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:0 11px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  color:#53637a!important;
  font-size:11px!important;
  font-weight:750!important;
  text-align:left;
}
.hs-b2b-bottom-nav button > span:not(.hs-b2b-cart-badge){
  width:17px;
  margin:0!important;
  display:inline-grid!important;
  place-items:center;
  color:#7b8aa0;
  font-size:12px!important;
}
.hs-b2b-bottom-nav button:hover,
.hs-b2b-bottom-nav button.active{
  background:#e7f0ff!important;
  color:#1f66cf!important;
}
.hs-b2b-bottom-nav button.active > span{color:#1f66cf!important}
.hs-b2b-bottom-nav button.active:not(.scanner)::after{display:none!important}
.hs-b2b-bottom-nav .hs-mobile-only{display:none!important}
.hs-b2b-bottom-nav .cart-button.hs-mobile-only{display:flex!important}

.hs-b2b-main{
  grid-column:2;
  grid-row:2;
  width:100%!important;
  min-height:640px!important;
  margin:0!important;
  padding:28px 28px 24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)!important;
}

.hs-b2b-catalog-layout{display:block!important}
.hs-b2b-flyer-sidebar{display:none!important}
.hs-b2b-catalog-main{width:100%;min-width:0}

.hs-b2b-page-heading{
  margin:0 0 16px!important;
  align-items:flex-start!important;
}
.hs-b2b-page-heading h1{
  margin:2px 0 0!important;
  color:#071a33!important;
  font-size:30px!important;
  letter-spacing:-.035em;
}
.hs-b2b-page-heading .hs-b2b-eyebrow{
  color:#2f7df6!important;
  font-size:10px!important;
}
.hs-b2b-page-subtitle{
  margin:7px 0 0;
  color:#7c8aa0;
  font-size:12px;
  line-height:1.5;
}

.hs-b2b-client-price-badge{
  min-width:132px;
  padding:13px 15px;
  border:1px solid #dfe7f1;
  border-radius:13px;
  background:#fff;
  box-shadow:0 12px 28px rgba(31,61,98,.08);
}
.hs-b2b-client-price-badge small{display:block;color:#8998aa;font-size:8px;font-weight:800;letter-spacing:.04em}
.hs-b2b-client-price-badge strong{display:block;margin-top:4px;color:#ff7e28;font-size:15px}

.hs-b2b-quick-links-catalog{
  margin:0 0 14px!important;
  gap:7px!important;
}
.hs-b2b-quick-links button{
  min-height:32px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  background:#fff!important;
  border-color:#d8e3ef!important;
  box-shadow:none!important;
  font-size:10px!important;
}
.hs-b2b-quick-links button.active{background:#edf4ff!important;border-color:#bcd4fa!important;color:#1765d1!important}

.hs-b2b-search{
  min-height:58px;
  padding:6px 8px 6px 15px!important;
  border:1px solid #dce5ef!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(26,56,91,.035);
}
.hs-b2b-search input{font-size:13px!important;color:#2f4055!important}
.hs-b2b-search input::placeholder{color:#9aa8ba!important}
.hs-b2b-search button{
  width:44px!important;height:44px!important;
  border-radius:10px!important;
  background:#0c2340!important;
}

.hs-b2b-product-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px!important;
  margin-top:16px!important;
}
.hs-b2b-product-card{
  min-width:0;
  grid-template-columns:62px minmax(0,1fr) auto!important;
  gap:12px!important;
  padding:11px!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
.hs-b2b-product-card img{
  width:62px!important;height:62px!important;border-radius:9px!important;
  background:#f1f5f9!important;
}
.hs-b2b-product-info h3{font-size:12px!important;margin-bottom:4px!important}
.hs-b2b-product-meta{font-size:9px!important;gap:3px 7px!important}
.hs-b2b-product-price{font-size:12px!important}
.hs-b2b-vat-badge,.hs-b2b-flyer-price-badge,.hs-b2b-deposit-badge{font-size:8px!important}
.hs-b2b-product-actions .hs-b2b-primary-button{padding:9px 11px!important;font-size:10px!important;border-radius:8px!important}
.hs-b2b-favorite-button{transform:scale(.84);transform-origin:top right}

.hs-b2b-empty{
  grid-column:1/-1;
  min-height:240px;
  display:grid;
  place-content:center;
  text-align:center;
  box-shadow:none!important;
  border-radius:16px!important;
}
.hs-b2b-empty h2{font-size:30px!important;letter-spacing:-.03em}
.hs-b2b-empty p{color:#748299;font-size:13px}

.hs-b2b-demo-features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin-top:16px;
}
.hs-b2b-demo-features>div{
  display:grid;
  grid-template-columns:34px 1fr;
  column-gap:9px;
  align-items:center;
  padding:11px;
  border:1px solid #e0e8f1;
  border-radius:10px;
  background:#f8fafc;
}
.hs-b2b-demo-features>div>span{
  grid-row:1/3;
  width:32px;height:32px;display:grid;place-items:center;
  border-radius:8px;background:#e9f2ff;color:#1f6ed8;font-weight:900;
}
.hs-b2b-demo-features strong{font-size:10px;color:#1c2f47}
.hs-b2b-demo-features small{font-size:8px;color:#8492a5;line-height:1.35}

/* Pozostałe widoki zachowują tę samą logikę, ale siedzą w nowej ramie aplikacji. */
.hs-b2b-cart-list,.hs-b2b-orders-list,.hs-b2b-account-grid,.hs-b2b-settings-grid{max-width:none!important}

@media (max-width:850px){
  .hs-b2b-app{
    width:100%;min-height:100vh;margin:0;border:0;border-radius:0;
    grid-template-columns:1fr;grid-template-rows:68px 1fr auto;
    box-shadow:none;
  }
  .hs-b2b-topbar{grid-column:1;grid-row:1;padding:10px 14px!important}
  .hs-b2b-brand-logo{width:158px;height:auto;max-height:40px;transform:none}
  .hs-b2b-demo-company-name,.hs-b2b-logout{display:none!important}
  .hs-b2b-main{grid-column:1;grid-row:2;padding:20px 14px 94px!important;min-height:calc(100vh - 68px)!important}
  .hs-b2b-bottom-nav{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;
    grid-column:auto;grid-row:auto;z-index:140!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;
    min-height:70px;height:70px;padding:0!important;gap:0!important;
    border-right:0!important;border-top:1px solid #dde6f0!important;
    background:#fff!important;box-shadow:0 -8px 26px rgba(16,42,67,.08)!important;
  }
  .hs-b2b-bottom-nav button{justify-content:center!important;flex-direction:column;gap:3px;padding:6px 2px!important;font-size:9px!important;border-radius:0!important}
  .hs-b2b-bottom-nav button:nth-child(2),.hs-b2b-bottom-nav button:nth-child(3){display:none!important}
  .hs-b2b-bottom-nav .hs-mobile-only{display:flex!important}
  .hs-b2b-product-list{grid-template-columns:1fr!important}
  .hs-b2b-demo-features{grid-template-columns:1fr!important}
  .hs-b2b-page-heading{gap:10px!important}
  .hs-b2b-client-price-badge{min-width:112px;padding:10px}
}


/* =========================================================
   TRADEFLOW DEMO v0.1.4 — czytelny ekran wejścia
   ========================================================= */
.hs-b2b-login{
  min-height:clamp(520px,68vh,680px)!important;
  padding:54px 24px!important;
  background:
    radial-gradient(circle at 82% 8%,rgba(72,145,255,.15),transparent 30%),
    radial-gradient(circle at 8% 92%,rgba(47,125,246,.08),transparent 28%),
    linear-gradient(145deg,#07172f 0%,#0a274a 100%)!important;
}

.hs-b2b-login-card{
  width:min(500px,100%)!important;
  padding:38px 36px 30px!important;
  border:1px solid rgba(150,190,255,.22)!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 88% 0%,rgba(104,169,255,.12),transparent 34%),
    linear-gradient(145deg,rgba(42,77,120,.78),rgba(28,57,94,.82))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 28px 70px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}

.hs-b2b-login-copy{
  padding:0 0 26px!important;
}

.hs-b2b-login-eyebrow{
  display:block!important;
  margin-bottom:13px!important;
  color:#86baff!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.09em!important;
}

.hs-b2b-login-card h1,
.hs-b2b-login-copy h1{
  margin:0!important;
  color:#ffffff!important;
  font-size:clamp(34px,4vw,42px)!important;
  line-height:1.06!important;
  font-weight:850!important;
  letter-spacing:-.04em!important;
  text-shadow:0 1px 0 rgba(0,0,0,.08);
}

.hs-b2b-login-card p,
.hs-b2b-login-copy p{
  margin:16px 0 0!important;
  color:#c8d6e8!important;
  font-size:16px!important;
  line-height:1.62!important;
}

.hs-b2b-login-button,
.hs-b2b-login .hs-b2b-primary-button{
  min-height:56px!important;
  color:#ffffff!important;
  background:linear-gradient(135deg,#ff963f,#ff7d25)!important;
  border:0!important;
  border-radius:11px!important;
  font-size:16px!important;
  font-weight:850!important;
  text-shadow:none!important;
  box-shadow:0 14px 30px rgba(255,126,37,.24)!important;
}

.hs-b2b-login-button:hover,
.hs-b2b-login .hs-b2b-primary-button:hover{
  color:#ffffff!important;
  filter:none!important;
  transform:translateY(-1px);
}

.hs-b2b-login-note{
  max-width:370px!important;
  margin:15px auto 0!important;
  color:#aebfd4!important;
  font-size:12px!important;
  line-height:1.5!important;
}

/* TradeFlow Demo v0.2.5 — wyjście z ekranu logowania na stronę STONMART */
.hs-b2b-back-to-site{
  width:100%;
  min-height:48px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:13px;
  padding:0 18px;
  border:1px solid rgba(180,207,239,.30);
  border-radius:11px;
  background:rgba(255,255,255,.055);
  color:#e6f0fb!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:800;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.hs-b2b-back-to-site:hover{
  transform:translateY(-1px);
  border-color:rgba(180,207,239,.52);
  background:rgba(255,255,255,.10);
  color:#fff!important;
}
.hs-b2b-back-to-site span{color:#75b7ff;font-size:17px;line-height:1}

@media(max-width:640px){
  .hs-b2b-login{padding:34px 16px!important;}
  .hs-b2b-login-card{padding:30px 22px 25px!important;}
  .hs-b2b-login-card h1,.hs-b2b-login-copy h1{font-size:32px!important;}
  .hs-b2b-login-card p,.hs-b2b-login-copy p{font-size:15px!important;}
}

/* =========================================================
   TradeFlow Demo 0.1.7 — zarządzanie adresami dostawy
   ========================================================= */
.hs-b2b-account-card-heading-actions {
  grid-template-columns: auto minmax(0,1fr) auto;
}

.hs-b2b-address-add {
  align-self: center;
  border: 1px solid #cfdcf0;
  border-radius: 10px;
  background: #fff;
  color: #175cd3;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.hs-b2b-address-add:hover {
  background: #f4f8ff;
  border-color: #a9c5ee;
}

.hs-b2b-address-form {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  background: linear-gradient(180deg,#fbfdff 0%,#f7faff 100%);
}

.hs-b2b-address-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.hs-b2b-address-form-head strong,
.hs-b2b-address-form-head span {
  display: block;
}

.hs-b2b-address-form-head strong {
  color: #07152f;
  font-size: 16px;
}

.hs-b2b-address-form-head span {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
}

.hs-b2b-address-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #eef4fb;
  color: #475467;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.hs-b2b-address-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.hs-b2b-address-fields label {
  display: block;
}

.hs-b2b-address-fields label.wide {
  grid-column: 1 / -1;
}

.hs-b2b-address-fields label span {
  display: block;
  margin: 0 0 6px;
  color: #475467;
  font-size: 11px;
  font-weight: 750;
}

.hs-b2b-address-fields input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d5deea;
  border-radius: 9px;
  background: #fff;
  color: #101828;
  outline: none;
}

.hs-b2b-address-fields input:focus {
  border-color: #82aeea;
  box-shadow: 0 0 0 3px rgba(23,92,211,.08);
}

.hs-b2b-address-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.hs-b2b-account-address {
  align-items: center;
}

.hs-b2b-address-main {
  min-width: 0;
}

.hs-b2b-address-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.hs-b2b-address-actions button {
  border: 1px solid #d4dfed;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.hs-b2b-address-actions button:hover {
  border-color: #aac2e3;
  background: #f7faff;
}

.hs-b2b-address-actions button.danger {
  color: #b42318;
  border-color: #f0cbc7;
}

.hs-b2b-address-actions em {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .hs-b2b-account-card-heading-actions {
    grid-template-columns: auto minmax(0,1fr);
  }
  .hs-b2b-address-add {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
  }
  .hs-b2b-address-fields {
    grid-template-columns: 1fr;
  }
  .hs-b2b-address-fields label.wide {
    grid-column: auto;
  }
  .hs-b2b-account-address {
    align-items: flex-start;
  }
  .hs-b2b-address-actions {
    justify-content: flex-start;
    margin-top: 8px;
  }
}

/* =========================================================
   TRADEFLOW DEMO 0.1.8 — WŁASNY EKRAN LOGOWANIA
   ========================================================= */
.hs-b2b-login-card-form{
  width:min(520px,calc(100% - 32px))!important;
  padding:34px 36px 30px!important;
}
.hs-b2b-login-brandline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-bottom:22px;
  margin-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.hs-b2b-login-brandline img{
  display:block;
  width:190px;
  max-width:62%;
  height:auto;
  filter:none!important;
}
.hs-b2b-login-brandline>span{
  padding:6px 10px;
  border:1px solid rgba(255,139,52,.72);
  border-radius:999px;
  color:#ff9a52;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
.hs-b2b-login-form{
  display:grid;
  gap:16px;
  margin-top:24px;
}
.hs-b2b-login-form>label>span:first-child{
  display:block;
  margin-bottom:7px;
  color:#dbe8f8;
  font-size:12px;
  font-weight:750;
}
.hs-b2b-login-form input[type="text"],
.hs-b2b-login-form input[type="password"]{
  width:100%;
  min-height:50px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  outline:none;
  background:rgba(255,255,255,.09);
  color:#fff;
  font-size:15px;
  box-shadow:none;
}
.hs-b2b-login-form input::placeholder{color:rgba(219,232,248,.55)}
.hs-b2b-login-form input:focus{
  border-color:#68a8ff;
  box-shadow:0 0 0 3px rgba(60,139,255,.14);
}
.hs-b2b-password-wrap{position:relative;display:block}
.hs-b2b-password-wrap input{padding-right:72px!important}
.hs-b2b-password-toggle{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#8fc1ff;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.hs-b2b-login-options{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#c9d8e9;
  font-size:12px;
}
.hs-b2b-login-options a{color:#9bc6ff!important;text-decoration:none!important}
.hs-b2b-remember{display:flex!important;align-items:center;gap:7px;margin:0!important}
.hs-b2b-remember input{width:15px;height:15px;margin:0}
.hs-b2b-login-form .hs-b2b-login-button{
  border:0!important;
  cursor:pointer;
  margin-top:2px;
}
.hs-b2b-login-error{
  margin-top:18px;
  padding:11px 13px;
  border:1px solid rgba(255,126,92,.28);
  border-radius:10px;
  background:rgba(164,39,22,.18);
  color:#ffd9cf;
  font-size:12px;
  line-height:1.45;
}
@media(max-width:600px){
  .hs-b2b-login-card-form{padding:26px 20px 24px!important}
  .hs-b2b-login-brandline img{width:165px}
  .hs-b2b-login-options{align-items:flex-start;flex-direction:column}
}

/* TradeFlow Demo v0.1.9 — rejestracja B2B i telefon konta */
.hs-b2b-login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 24px;padding:5px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(4,21,45,.25)}
.hs-b2b-login-tabs a{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:9px;color:#b9cbe0!important;text-decoration:none!important;font-size:13px;font-weight:800}
.hs-b2b-login-tabs a.active{background:rgba(255,255,255,.12);color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.hs-b2b-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.hs-b2b-register-grid .wide{grid-column:1/-1}
.hs-b2b-login-form input[type="email"],.hs-b2b-login-form input[type="tel"]{width:100%;min-height:49px;padding:0 14px;border:1px solid rgba(180,207,239,.30);border-radius:10px;background:rgba(7,29,58,.52);color:#fff;font:inherit;outline:none}
.hs-b2b-login-form input[type="email"]:focus,.hs-b2b-login-form input[type="tel"]:focus{border-color:#6caeff;box-shadow:0 0 0 3px rgba(72,149,255,.13)}
.hs-b2b-login-success{margin:0 0 18px;padding:13px 15px;border:1px solid rgba(87,205,137,.30);border-radius:10px;background:rgba(44,153,91,.14);color:#d9f8e5;font-size:13px;line-height:1.55}
.hs-b2b-inline-profile-form{display:flex;align-items:center;gap:8px;max-width:360px}
.hs-b2b-inline-profile-form input{flex:1;min-width:160px;height:40px;padding:0 11px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;color:#102f4f}
.hs-b2b-inline-profile-form .hs-b2b-secondary-button{min-height:40px;padding:0 14px;white-space:nowrap}
@media(max-width:650px){.hs-b2b-register-grid{grid-template-columns:1fr}.hs-b2b-register-grid .wide{grid-column:auto}.hs-b2b-inline-profile-form{align-items:stretch;flex-direction:column}.hs-b2b-inline-profile-form input{width:100%}}


/* =========================================================
   TRADEFLOW DEMO v0.2.0 — czytelna ikona skanera EAN
   ========================================================= */
.tf-scan-icon{
  width:24px;
  height:24px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hs-b2b-bottom-nav .scanner > .tf-scan-icon-wrap{
  width:auto!important;
  height:auto!important;
  margin:0 0 4px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
}
.hs-b2b-bottom-nav .scanner .tf-scan-icon{
  width:25px;
  height:25px;
  color:#fff!important;
}
.hs-b2b-search button[data-view="scanner"] .tf-scan-icon{
  width:20px;
  height:20px;
  margin:auto;
}
.hs-ehurt-mobile-scanner .tf-scan-icon-wrap{
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  box-shadow:none!important;
}
.hs-ehurt-mobile-scanner .tf-scan-icon{
  width:22px;
  height:22px;
}


/* =========================================================
   TRADEFLOW DEMO v0.2.1 — SKANER EAN / MOBILE
   Ikona zawsze pomarańczowa.
   Nieaktywny: białe tło. Aktywny: niebieskie tło.
   ========================================================= */
@media (max-width:850px){

  .hs-b2b-bottom-nav .scanner{
    background:#FFFFFF!important;
    color:#53637A!important;
  }

  .hs-b2b-bottom-nav .scanner.active{
    background:linear-gradient(145deg,var(--tf-blue),#176FD1)!important;
    color:#FFFFFF!important;
  }

  .hs-b2b-bottom-nav .scanner > .tf-scan-icon-wrap,
  .hs-b2b-bottom-nav .scanner.active > .tf-scan-icon-wrap{
    color:#FF8A34!important;
    background:transparent!important;
  }

  .hs-b2b-bottom-nav .scanner .tf-scan-icon,
  .hs-b2b-bottom-nav .scanner.active .tf-scan-icon{
    color:#FF8A34!important;
    stroke:#FF8A34!important;
  }
}


/* =========================================================
   TRADEFLOW DEMO v0.2.3 — zamknięty panel klienta
   Produkty pozostają w aplikacji; nie otwierają pustych kart WP.
   ========================================================= */
.hs-b2b-product-image-static,
.hs-b2b-product-title-static {
  cursor: default !important;
}
.hs-b2b-product-title-static {
  color: var(--tf-navy, #071a33) !important;
  text-decoration: none !important;
}

/* =========================================================
   TRADEFLOW DEMO v0.3.0 — PREMIUM PRODUCT UI
   Finalna warstwa wizualna aplikacji.
   ========================================================= */
body.tradeflow-app-shell{
  background:
    radial-gradient(circle at 82% 0,rgba(48,132,235,.10),transparent 28%),
    linear-gradient(145deg,#e9eff6,#f5f8fc 45%,#edf3f9)!important;
}

.hs-b2b-app{
  --tf-premium-navy:#071a35;
  --tf-premium-navy2:#0b2d55;
  --tf-premium-blue:#277cf0;
  --tf-premium-orange:#ff8733;
  width:min(1520px,calc(100% - 32px))!important;
  min-height:calc(100vh - 32px)!important;
  margin:16px auto!important;
  grid-template-columns:224px minmax(0,1fr)!important;
  grid-template-rows:84px auto!important;
  border:1px solid rgba(31,70,112,.14)!important;
  border-radius:26px!important;
  background:#f3f6fa!important;
  box-shadow:0 38px 95px rgba(13,39,70,.17)!important;
}

.hs-b2b-topbar{
  min-height:84px!important;
  padding:13px 22px!important;
  border-bottom:1px solid #dfe7f0!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 8px 26px rgba(15,42,74,.045)!important;
  backdrop-filter:blur(16px);
}
.hs-b2b-brand{
  width:205px!important;min-height:56px!important;padding:7px 13px!important;
  border:1px solid #d5e2ee!important;border-radius:12px!important;
  background:linear-gradient(145deg,#e2edf6,#c9d9e7)!important;
  box-shadow:0 8px 20px rgba(16,49,83,.10),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.hs-b2b-brand-logo{width:176px!important;max-height:43px!important}
.hs-b2b-demo-company{gap:11px!important}
.hs-b2b-demo-company-name{font-size:13px!important;color:#263a53!important}
.hs-b2b-demo-company-avatar{
  width:38px!important;height:38px!important;
  background:linear-gradient(145deg,#e7f1ff,#d6e7ff)!important;color:#1e6edb!important;
  box-shadow:inset 0 0 0 1px #c9dcf6;
}
.hs-b2b-logout{
  min-height:38px!important;padding:0 13px!important;border-radius:9px!important;
  background:#f8fafc!important;color:#53647a!important;font-size:11px!important;
}

.hs-b2b-bottom-nav{
  grid-column:1!important;grid-row:2!important;gap:7px!important;padding:24px 15px!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  background:
    radial-gradient(circle at 20% 0,rgba(51,145,255,.20),transparent 24%),
    linear-gradient(180deg,#071a35,#09294d 70%,#071c38)!important;
}
.hs-b2b-bottom-nav::before{
  content:"NAWIGACJA";display:block;margin:1px 10px 8px;color:#6f8aa8;
  font-size:8px;font-weight:900;letter-spacing:.14em;
}
.hs-b2b-bottom-nav button{
  min-height:46px!important;gap:11px!important;padding:0 13px!important;border-radius:10px!important;
  color:#b7c9dc!important;font-size:12px!important;font-weight:760!important;
}
.hs-b2b-bottom-nav button>span:not(.hs-b2b-cart-badge){
  width:24px!important;height:24px!important;border-radius:7px!important;
  color:#84a4c5!important;background:rgba(255,255,255,.055)!important;font-size:12px!important;
}
.hs-b2b-bottom-nav button:hover{
  color:#fff!important;background:rgba(255,255,255,.075)!important;
}
.hs-b2b-bottom-nav button.active{
  color:#fff!important;background:linear-gradient(90deg,rgba(44,127,240,.28),rgba(44,127,240,.10))!important;
  box-shadow:inset 3px 0 0 #4da0ff!important;
}
.hs-b2b-bottom-nav button.active>span:not(.hs-b2b-cart-badge){color:#fff!important;background:#277cf0!important}
.hs-b2b-cart-badge{background:var(--tf-premium-orange)!important;box-shadow:0 4px 10px rgba(255,135,51,.30)}

.hs-b2b-main{
  grid-column:2!important;grid-row:2!important;min-height:calc(100vh - 116px)!important;
  padding:30px clamp(22px,3vw,44px) 38px!important;
  background:
    radial-gradient(circle at 95% 0,rgba(45,125,240,.055),transparent 24%),
    linear-gradient(180deg,#f6f8fb,#eef3f8)!important;
}

.hs-b2b-hero{
  min-height:190px!important;padding:30px 34px!important;border:1px solid rgba(107,174,255,.19)!important;
  border-radius:20px!important;
  background:
    radial-gradient(circle at 82% 8%,rgba(72,165,255,.25),transparent 28%),
    radial-gradient(circle at 10% 110%,rgba(255,135,51,.10),transparent 27%),
    linear-gradient(135deg,#071a35,#0b2d55)!important;
  box-shadow:0 24px 55px rgba(8,31,61,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.hs-b2b-hero .hs-b2b-eyebrow{color:#78b9ff!important;font-size:10px!important;letter-spacing:.13em!important}
.hs-b2b-hero h1{margin:8px 0 8px!important;color:#fff!important;font-size:clamp(30px,3vw,44px)!important;letter-spacing:-.045em!important}
.hs-b2b-hero p{color:#bfd0e3!important;font-size:15px!important}
.hs-b2b-new-order-button{
  min-height:56px!important;padding:0 22px!important;border-radius:12px!important;
  background:linear-gradient(135deg,#ff8130,#ff9a45)!important;
  box-shadow:0 17px 34px rgba(255,132,48,.28)!important;font-size:13px!important;
}
.hs-b2b-new-order-button>span{font-size:0!important}
.hs-b2b-new-order-button>span::before{content:"+";font-size:20px!important;font-weight:500}

.hs-b2b-dashboard-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-top:18px!important;
}
.hs-b2b-dashboard-tile{
  position:relative;min-height:170px!important;align-content:start;gap:10px!important;padding:19px!important;
  border:1px solid #dbe5ef!important;border-radius:16px!important;background:rgba(255,255,255,.94)!important;
  box-shadow:0 12px 28px rgba(20,50,83,.055)!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.hs-b2b-dashboard-tile:hover{
  transform:translateY(-4px)!important;border-color:#b8d4f5!important;
  box-shadow:0 20px 38px rgba(20,50,83,.11)!important;
}
.hs-b2b-dashboard-tile>span:first-child{
  width:42px;height:42px;display:grid;place-items:center;border-radius:11px;
  background:#eaf3ff;color:#2677e5;font-size:0!important;
}
.hs-b2b-dashboard-tile>span:first-child::before{font-size:19px!important;font-weight:850;line-height:1}
.hs-b2b-dashboard-tile:nth-child(1)>span:first-child::before{content:"▦"}
.hs-b2b-dashboard-tile:nth-child(2)>span:first-child::before{content:"◇"}
.hs-b2b-dashboard-tile:nth-child(3)>span:first-child::before{content:"↻"}
.hs-b2b-dashboard-tile:nth-child(4)>span:first-child::before{content:"♡"}
.hs-b2b-dashboard-tile:nth-child(5)>span:first-child::before{content:"▤"}
.hs-b2b-dashboard-tile:nth-child(2)>span:first-child,.hs-b2b-dashboard-tile:nth-child(5)>span:first-child{background:#fff0e6;color:#ef7828}
.hs-b2b-dashboard-tile strong{font-size:15px!important;color:#10243d!important}
.hs-b2b-dashboard-tile small{font-size:11px!important;line-height:1.5!important;color:#738399!important}
.hs-b2b-dashboard-tile::after{
  content:"→";position:absolute;right:17px;bottom:15px;color:#8da1b8;font-size:16px;transition:transform .2s ease,color .2s ease;
}
.hs-b2b-dashboard-tile:hover::after{transform:translateX(3px);color:#277cf0}

.hs-b2b-account-strip{
  margin-top:14px!important;padding:15px 19px!important;border:1px solid #dce6f0!important;border-radius:13px!important;
  background:rgba(255,255,255,.76)!important;box-shadow:none!important;
}
.hs-b2b-account-strip strong{color:#1b3049!important}.hs-b2b-account-strip span{color:#74849a!important}

.hs-b2b-page-heading,.hs-b2b-draft-card,.hs-b2b-cart-summary,.hs-b2b-cart-search,
.hs-b2b-save-notice,.hs-b2b-account-card,.hs-b2b-settings-card,.hs-b2b-order-card{
  border-radius:16px!important;border-color:#dbe5ef!important;box-shadow:0 12px 30px rgba(20,50,83,.055)!important;
}
.hs-b2b-page-heading{padding:21px 23px!important;background:rgba(255,255,255,.90)!important}
.hs-b2b-page-heading h1{font-size:32px!important}
.hs-b2b-search{box-shadow:0 12px 27px rgba(20,50,83,.055)!important}
.hs-b2b-product-card{border-color:#dbe5ef!important;background:#fff!important;box-shadow:0 9px 24px rgba(20,50,83,.045)!important}
.hs-b2b-primary-button{background:linear-gradient(135deg,#ff8130,#ff9a45)!important}

@media(max-width:1280px){
  .hs-b2b-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:850px){
  .hs-b2b-app{width:100%!important;min-height:100vh!important;margin:0!important;border:0!important;border-radius:0!important;grid-template-columns:1fr!important;grid-template-rows:70px 1fr auto!important}
  .hs-b2b-topbar{min-height:70px!important}
  .hs-b2b-brand{width:165px!important;min-height:48px!important;padding:5px 10px!important}.hs-b2b-brand-logo{width:143px!important}
  .hs-b2b-main{grid-column:1!important;grid-row:2!important;padding:16px 13px 92px!important}
  .hs-b2b-bottom-nav{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;grid-column:auto!important;grid-row:auto!important;
    grid-template-columns:repeat(5,1fr)!important;min-height:72px!important;height:72px!important;padding:0!important;
    border-top:1px solid #d8e3ee!important;border-right:0!important;background:#fff!important;box-shadow:0 -10px 28px rgba(16,42,67,.10)!important;
  }
  .hs-b2b-bottom-nav::before{display:none}
  .hs-b2b-bottom-nav button{justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:5px 2px!important;border-radius:0!important;color:#607188!important;font-size:9px!important}
  .hs-b2b-bottom-nav button.active{color:#1768d5!important;background:#eef5ff!important;box-shadow:inset 0 3px 0 #277cf0!important}
  .hs-b2b-bottom-nav button>span:not(.hs-b2b-cart-badge){background:transparent!important;color:inherit!important}
  .hs-b2b-hero{min-height:0!important;display:block!important;padding:23px 20px!important}.hs-b2b-new-order-button{width:100%!important;margin-top:20px!important}
  .hs-b2b-dashboard-grid{grid-template-columns:1fr!important}
  .hs-b2b-dashboard-tile{min-height:112px!important;grid-template-columns:44px 1fr!important;align-items:center!important}
}

/* TradeFlow 0.4.0 — bezpieczny sandbox i prowadzony scenariusz demo */
.hs-b2b-demo-guide{
  position:relative;
  overflow:hidden;
  margin:18px 0;
  padding:22px;
  border:1px solid rgba(66,142,230,.25);
  border-radius:21px;
  background:
    radial-gradient(circle at 92% 0,rgba(57,142,255,.18),transparent 34%),
    linear-gradient(135deg,#0b2343,#123d6b);
  color:#fff;
  box-shadow:0 20px 48px rgba(12,43,77,.17);
}
.hs-b2b-demo-guide .hs-b2b-eyebrow{color:#67adff!important}
.hs-b2b-demo-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.hs-b2b-demo-guide-head h2{margin:5px 0 5px;color:#fff;font-size:24px;line-height:1.12}
.hs-b2b-demo-guide-head p{max-width:650px;margin:0;color:#c5d6e9;font-size:12px;line-height:1.55}
.hs-b2b-demo-guide-score{flex:0 0 72px;display:grid;place-items:center;min-height:64px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.07)}
.hs-b2b-demo-guide-score strong{font-size:21px}.hs-b2b-demo-guide-score span{font-size:9px;color:#aac4df;text-transform:uppercase;letter-spacing:.11em}
.hs-b2b-demo-guide-progress{height:5px;margin:18px 0 16px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.1)}
.hs-b2b-demo-guide-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d8cff,#48d7a0);transition:width .25s ease}
.hs-b2b-demo-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hs-b2b-demo-guide-steps button{min-width:0;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:13px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(255,255,255,.055);color:#fff;text-align:left;transition:.2s ease}
.hs-b2b-demo-guide-steps button:hover{transform:translateY(-2px);border-color:rgba(100,177,255,.42);background:rgba(255,255,255,.09)}
.hs-b2b-demo-guide-steps button>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#1c5086;color:#a8d4ff;font-size:10px;font-weight:900}
.hs-b2b-demo-guide-steps button.done>span{background:#daf7ea;color:#169867}
.hs-b2b-demo-guide-steps strong{font-size:12px}.hs-b2b-demo-guide-steps small{margin-top:3px;color:#aebfd2;font-size:9px;line-height:1.4}
.hs-b2b-demo-guide-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:15px}
.hs-b2b-demo-guide-actions button,.hs-b2b-account-strip button{padding:0;border:0;background:transparent;color:#91b4d8;font-size:10px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.hs-b2b-account-strip button{margin-left:auto;color:#527395}

.hs-b2b-order-success{
  max-width:920px;
  margin:24px auto;
  padding:38px;
  border:1px solid #d6e3ef;
  border-radius:26px;
  background:
    radial-gradient(circle at 92% 0,rgba(61,150,255,.12),transparent 30%),
    #fff;
  box-shadow:0 28px 70px rgba(17,48,80,.12);
  text-align:center;
}
.hs-b2b-order-success-mark{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 15px;border-radius:20px;background:linear-gradient(135deg,#19bb7a,#55dca7);color:#fff;font-size:29px;font-weight:900;box-shadow:0 14px 28px rgba(27,185,122,.22)}
.hs-b2b-order-success h1{margin:6px 0 9px;color:#0d2745;font-size:34px;line-height:1.1}
.hs-b2b-order-success>p{max-width:600px;margin:0 auto;color:#687b91;font-size:13px;line-height:1.6}
.hs-b2b-order-success-sandbox{display:inline-flex;margin-top:14px;padding:7px 11px;border:1px solid #f6cfaa;border-radius:999px;background:#fff7ef;color:#bc641f;font-size:10px;font-weight:800}
.hs-b2b-order-success-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:28px 0 18px}
.hs-b2b-order-success-meta>div{padding:15px;border:1px solid #dde6ef;border-radius:14px;background:#f8fafc;text-align:left}
.hs-b2b-order-success-meta span,.hs-b2b-order-success-details>div>span{display:block;margin-bottom:5px;color:#7a8ca0;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.hs-b2b-order-success-meta strong{color:#102b49;font-size:13px;overflow-wrap:anywhere}
.hs-b2b-order-success-details{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px;text-align:left}
.hs-b2b-order-success-details>div{padding:18px;border:1px solid #dde6ef;border-radius:15px;background:#fff}
.hs-b2b-order-success-details strong{display:block;color:#15304d;font-size:13px}.hs-b2b-order-success-details small{display:block;margin-top:5px;color:#74869a;font-size:11px;line-height:1.45}
.hs-b2b-order-success-details p{display:flex;justify-content:space-between;gap:12px;margin:8px 0;color:#203b58;font-size:11px}.hs-b2b-order-success-details p em{flex:0 0 auto;color:#6e8196;font-style:normal}
.hs-b2b-order-success-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}
.hs-b2b-order-success-contact{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:23px;padding-top:20px;border-top:1px solid #e4ebf2;color:#65788e;font-size:11px}
.hs-b2b-order-success-contact a{color:#1d6ed5!important;font-weight:800;text-decoration:none!important}

@media(max-width:850px){
  .hs-b2b-demo-guide{padding:17px;border-radius:19px}
  .hs-b2b-demo-guide-head h2{font-size:21px}
  .hs-b2b-demo-guide-steps{grid-template-columns:1fr}
  .hs-b2b-demo-guide-actions{justify-content:space-between}
  .hs-b2b-order-success{margin:12px 0;padding:23px 17px;border-radius:20px}
  .hs-b2b-order-success h1{font-size:27px}
  .hs-b2b-order-success-meta{grid-template-columns:1fr 1fr}
  .hs-b2b-order-success-details{grid-template-columns:1fr}
  .hs-b2b-order-success-actions,.hs-b2b-order-success-contact{align-items:stretch;flex-direction:column}
  .hs-b2b-order-success-actions button{width:100%}
}

/* =========================================================
   TRADEFLOW DEMO v0.3.3 — SPÓJNE GRANATOWE PANELE
   Bezpieczna geometria i wspólna linia startu obu paneli.
   ========================================================= */
@media(min-width:851px){
  .hs-b2b-app{
    grid-template-columns:266px minmax(0,1fr)!important;
  }

  .hs-b2b-bottom-nav{
    top:auto!important;
    align-self:stretch!important;
    justify-self:start!important;
    width:222px!important;
    min-width:0!important;
    max-width:222px!important;
    min-height:calc(100% - 22px)!important;
    margin:0 22px 22px!important;
    padding:24px 15px!important;
    overflow:hidden!important;
    border:1px solid rgba(107,174,255,.17)!important;
    border-radius:20px!important;
    background:
      radial-gradient(circle at 18% 0,rgba(72,165,255,.23),transparent 26%),
      radial-gradient(circle at 12% 100%,rgba(255,135,51,.08),transparent 28%),
      linear-gradient(145deg,#071a35,#0b2d55)!important;
    box-shadow:
      0 24px 55px rgba(8,31,61,.16),
      inset 0 1px 0 rgba(255,255,255,.07)!important;
  }

  .hs-b2b-main{
    padding:22px 22px 30px!important;
  }

  .hs-b2b-hero{
    margin:0!important;
    border:1px solid rgba(107,174,255,.17)!important;
    border-radius:20px!important;
    box-shadow:
      0 24px 55px rgba(8,31,61,.16),
      inset 0 1px 0 rgba(255,255,255,.07)!important;
  }
}

/* =========================================================
   TRADEFLOW DEMO v0.3.4 — NAPRAWA WIDOKU MOBILNEGO
   Tekst kafelków ma własną, pełną kolumnę obok ikony.
   ========================================================= */
@media(max-width:850px){
  body.tradeflow-app-shell .hs-b2b-main{
    padding:16px 13px 92px!important;
  }

  .hs-b2b-dashboard-grid{
    gap:14px!important;
  }

  .hs-b2b-dashboard-tile{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:12px!important;
    row-gap:5px!important;
    align-content:center!important;
    align-items:start!important;
    min-height:124px!important;
    padding:18px 46px 18px 18px!important;
    overflow:hidden!important;
  }

  .hs-b2b-dashboard-tile>span:first-child{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    align-self:start!important;
  }

  .hs-b2b-dashboard-tile>strong{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    min-width:0!important;
    margin:0!important;
    line-height:1.3!important;
    white-space:normal!important;
  }

  .hs-b2b-dashboard-tile>small{
    grid-column:2!important;
    grid-row:2!important;
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    line-height:1.5!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  .hs-b2b-dashboard-tile::after{
    right:17px!important;
    bottom:17px!important;
  }

  .hs-b2b-empty{
    padding:26px 20px!important;
  }

  .hs-b2b-empty .hs-b2b-secondary-button{
    width:100%!important;
    margin-top:14px!important;
  }

  .hs-b2b-bottom-nav button[data-view="catalog"]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    color:#607188!important;
    background:#fff!important;
  }

  .hs-b2b-bottom-nav button[data-view="catalog"]>span:not(.hs-b2b-cart-badge){
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    color:#607188!important;
  }

  .hs-b2b-bottom-nav button[data-view="catalog"].active{
    color:#1768d5!important;
    background:#eef5ff!important;
    box-shadow:inset 0 3px 0 #277cf0!important;
  }

  .hs-b2b-bottom-nav button[data-view="catalog"].active>span:not(.hs-b2b-cart-badge){
    color:#1768d5!important;
  }
}

/* =========================================================
   TRADEFLOW DEMO v0.3.6 — CZYTELNY KOSZYK MOBILNY
   Dane produktu otrzymują pełną szerokość wiersza.
   ========================================================= */
@media(max-width:680px){
  .hs-b2b-cart-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    gap:14px 12px!important;
    align-items:start!important;
    padding:18px 16px!important;
  }

  .hs-b2b-cart-row .hs-b2b-cart-product-info{
    grid-column:1 / -1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
  }

  .hs-b2b-cart-row .hs-b2b-cart-product-info h3{
    width:100%!important;
    max-width:none!important;
    margin:0 0 7px!important;
    line-height:1.42!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  .hs-b2b-cart-row .hs-b2b-cart-product-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:4px 7px!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 8px!important;
    white-space:normal!important;
    font-variant-numeric:tabular-nums;
  }

  .hs-b2b-cart-row .hs-b2b-cart-product-brand{
    min-width:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  .hs-b2b-cart-row .hs-b2b-cart-product-ean{
    white-space:nowrap!important;
    word-break:keep-all!important;
    overflow-wrap:normal!important;
  }

  .hs-b2b-cart-row .hs-b2b-product-pricing{
    width:100%!important;
    max-width:none!important;
  }

  .hs-b2b-cart-row .hs-b2b-quantity{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:start!important;
    justify-content:flex-start!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
  }

  .hs-b2b-cart-row>strong:last-child{
    grid-column:2!important;
    grid-row:2!important;
    align-self:center!important;
    justify-self:end!important;
    min-width:max-content!important;
    margin:0!important;
    font-size:17px!important;
    line-height:1.25!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
}

@media(max-width:360px){
  .hs-b2b-cart-row{
    grid-template-columns:1fr!important;
  }

  .hs-b2b-cart-row .hs-b2b-quantity{
    grid-column:1!important;
    grid-row:2!important;
  }

  .hs-b2b-cart-row>strong:last-child{
    grid-column:1!important;
    grid-row:3!important;
  }
}

/* =========================================================
   TRADEFLOW DEMO v0.3.7 — NAGŁÓWEK KONTA I ADRESY MOBILNE
   Przycisk wylogowania jest lekkim odnośnikiem, a karta adresów
   korzysta z rzeczywistej siatki zamiast ściskanego układu flex.
   ========================================================= */
@media(min-width:851px){
  .hs-b2b-demo-company .hs-b2b-logout{
    display:inline-flex!important;
    align-items:center!important;
    min-height:0!important;
    margin-left:2px!important;
    padding:6px 2px!important;
    border:0!important;
    border-bottom:1px solid transparent!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#5d6f85!important;
    font-size:12px!important;
    font-weight:750!important;
    line-height:1.2!important;
    text-decoration:none!important;
  }

  .hs-b2b-demo-company .hs-b2b-logout:hover,
  .hs-b2b-demo-company .hs-b2b-logout:focus-visible{
    border-bottom-color:#8da0b7!important;
    background:transparent!important;
    color:#0b2d55!important;
    outline:none!important;
  }
}

.hs-b2b-account-card-heading-actions{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:12px!important;
  row-gap:0!important;
}

.hs-b2b-account-card-heading-actions>.hs-b2b-account-icon{
  grid-column:1!important;
  grid-row:1!important;
}

.hs-b2b-account-card-heading-actions>div{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  padding-top:3px!important;
}

.hs-b2b-account-card-heading-actions>.hs-b2b-address-add{
  grid-column:3!important;
  grid-row:1!important;
  align-self:center!important;
  white-space:nowrap!important;
}

@media(max-width:700px){
  .hs-b2b-account-card-heading-actions{
    grid-template-columns:42px minmax(0,1fr)!important;
    row-gap:13px!important;
  }

  .hs-b2b-account-card-heading-actions>div{
    width:100%!important;
  }

  .hs-b2b-account-card-heading-actions h2,
  .hs-b2b-account-card-heading-actions p{
    width:100%!important;
    max-width:none!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }

  .hs-b2b-account-card-heading-actions>.hs-b2b-address-add{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    min-height:48px!important;
    margin:0!important;
    justify-self:stretch!important;
  }
}

/* =========================================================
   TRADEFLOW DEMO v0.3.8 — PREMIUM DESKTOP SHELL
   Unoszący się nagłówek, czytelniejszy katalog i spokojniejsza
   geometria aplikacji. Reguły nie zmieniają widoku mobilnego.
   ========================================================= */
.hs-b2b-workspace-context{
  display:none;
}

@media(min-width:851px){
  body.tradeflow-app-shell{
    background:
      radial-gradient(circle at 12% 8%,rgba(44,126,240,.10),transparent 24%),
      radial-gradient(circle at 88% 4%,rgba(255,135,51,.055),transparent 22%),
      linear-gradient(145deg,#e8eef5,#f7f9fc 46%,#eaf1f8)!important;
  }

  .hs-b2b-app{
    grid-template-rows:108px auto!important;
    overflow:hidden!important;
    border:1px solid rgba(32,70,111,.16)!important;
    border-radius:30px!important;
    background:
      radial-gradient(circle at 74% 0,rgba(49,134,239,.065),transparent 27%),
      linear-gradient(180deg,#f7f9fc,#edf3f8)!important;
    box-shadow:
      0 42px 105px rgba(13,39,70,.18),
      0 2px 0 rgba(255,255,255,.9) inset!important;
  }

  .hs-b2b-topbar{
    position:relative!important;
    isolation:isolate;
    align-self:start!important;
    min-height:72px!important;
    height:72px!important;
    margin:16px 18px 12px!important;
    padding:8px 10px 8px 14px!important;
    overflow:hidden!important;
    border:1px solid rgba(170,193,218,.58)!important;
    border-radius:18px!important;
    background:
      radial-gradient(circle at 12% 0,rgba(84,161,245,.13),transparent 34%),
      linear-gradient(110deg,rgba(255,255,255,.98),rgba(246,250,255,.94))!important;
    box-shadow:
      0 16px 38px rgba(20,48,82,.105),
      inset 0 1px 0 rgba(255,255,255,.98)!important;
    backdrop-filter:blur(18px) saturate(125%);
  }

  .hs-b2b-topbar::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:-70px;
    left:120px;
    width:290px;
    height:150px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(45,132,238,.10),transparent 68%);
    pointer-events:none;
  }

  .hs-b2b-brand{
    width:204px!important;
    min-height:54px!important;
    padding:6px 12px!important;
    border:1px solid rgba(158,187,214,.58)!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,#e7f1f8,#cfdeea)!important;
    box-shadow:
      0 9px 22px rgba(16,49,83,.11),
      inset 0 1px 0 rgba(255,255,255,.95)!important;
    transition:transform .2s ease,box-shadow .2s ease!important;
  }

  .hs-b2b-brand:hover{
    transform:translateY(-1px)!important;
    box-shadow:
      0 13px 27px rgba(16,49,83,.15),
      inset 0 1px 0 rgba(255,255,255,.95)!important;
  }

  .hs-b2b-brand-logo{
    width:174px!important;
    max-height:42px!important;
  }

  .hs-b2b-workspace-context{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    margin-left:22px;
    padding-left:22px;
    border-left:1px solid #d9e4ef;
    color:#263a53;
  }

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

  .hs-b2b-workspace-context small{
    color:#8392a6;
    font-size:8px;
    font-weight:850;
    letter-spacing:.11em;
    line-height:1.2;
  }

  .hs-b2b-workspace-context strong{
    color:#213650;
    font-size:12px;
    font-weight:800;
    line-height:1.3;
  }

  .hs-b2b-workspace-status-dot{
    position:relative;
    flex:0 0 9px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#31c48d;
    box-shadow:0 0 0 5px rgba(49,196,141,.10),0 0 12px rgba(49,196,141,.35);
  }

  .hs-b2b-demo-company{
    min-height:50px!important;
    gap:10px!important;
    padding:6px 9px 6px 14px!important;
    border:1px solid rgba(198,214,230,.72)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.64)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
  }

  .hs-b2b-demo-company-name{
    font-size:12px!important;
    color:#2c4058!important;
  }

  .hs-b2b-demo-company-avatar{
    width:36px!important;
    height:36px!important;
    box-shadow:inset 0 0 0 1px #c4daf5,0 6px 14px rgba(38,102,185,.10)!important;
  }

  .hs-b2b-main{
    min-height:calc(100vh - 140px)!important;
    padding:0 22px 30px!important;
    background:
      radial-gradient(circle at 96% 0,rgba(45,125,240,.06),transparent 25%),
      linear-gradient(180deg,#f6f8fb,#eef3f8)!important;
  }

  .hs-b2b-page-heading{
    position:relative;
    overflow:hidden;
    min-height:126px;
    padding:24px 27px!important;
    border:1px solid rgba(205,220,235,.88)!important;
    border-radius:22px!important;
    background:
      radial-gradient(circle at 88% 2%,rgba(51,137,239,.095),transparent 28%),
      linear-gradient(118deg,rgba(255,255,255,.98),rgba(248,251,255,.94))!important;
    box-shadow:
      0 18px 42px rgba(20,50,83,.075),
      inset 0 1px 0 rgba(255,255,255,.96)!important;
  }

  .hs-b2b-page-heading::after{
    content:"";
    position:absolute;
    right:12%;
    bottom:-76px;
    width:210px;
    height:120px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(255,135,51,.055),transparent 69%);
    pointer-events:none;
  }

  .hs-b2b-page-heading>div,
  .hs-b2b-client-price-badge{
    position:relative;
    z-index:1;
  }

  .hs-b2b-page-heading h1{
    margin-top:5px!important;
    font-size:34px!important;
    letter-spacing:-.042em!important;
  }

  .hs-b2b-page-subtitle{
    margin-top:6px!important;
    color:#6c7f95!important;
    font-size:13px!important;
  }

  .hs-b2b-client-price-badge{
    min-width:142px!important;
    padding:15px 17px!important;
    border-color:#d6e3f1!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.82)!important;
    box-shadow:0 13px 30px rgba(31,61,98,.075)!important;
  }

  .hs-b2b-quick-links-catalog{
    width:max-content!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    gap:7px!important;
    margin:14px 0!important;
    padding:7px!important;
    border:1px solid #dce6f0!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.72)!important;
    box-shadow:0 10px 25px rgba(20,50,83,.045)!important;
  }

  .hs-b2b-quick-links-catalog button{
    min-height:38px!important;
    padding:0 15px!important;
    border-radius:10px!important;
    font-size:11px!important;
    font-weight:800!important;
  }

  .hs-b2b-search{
    min-height:62px!important;
    border-color:#d6e2ee!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 14px 32px rgba(20,50,83,.065)!important;
  }

  .hs-b2b-search input{
    font-size:13px!important;
  }

  .hs-b2b-search button{
    width:46px!important;
    height:46px!important;
    border-radius:12px!important;
    box-shadow:0 9px 20px rgba(7,35,64,.17)!important;
  }

  .hs-b2b-product-list{
    gap:14px!important;
    margin-top:18px!important;
  }

  .hs-b2b-product-card{
    min-height:128px!important;
    grid-template-columns:76px minmax(0,1fr) auto!important;
    gap:16px!important;
    padding:16px!important;
    border-color:#d7e2ed!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#fff,#fbfdff)!important;
    box-shadow:0 13px 31px rgba(20,50,83,.06)!important;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
  }

  .hs-b2b-product-card:hover{
    transform:translateY(-2px)!important;
    border-color:#b8d4f2!important;
    box-shadow:0 20px 40px rgba(20,50,83,.105)!important;
  }

  .hs-b2b-product-card img{
    width:76px!important;
    height:76px!important;
    padding:5px!important;
    border:1px solid #e1e9f1!important;
    border-radius:14px!important;
    background:#f6f9fc!important;
  }

  .hs-b2b-product-info h3{
    margin-bottom:7px!important;
    font-size:14px!important;
    line-height:1.35!important;
    letter-spacing:-.01em!important;
  }

  .hs-b2b-product-meta{
    gap:4px 10px!important;
    margin-bottom:8px!important;
    font-size:10px!important;
    line-height:1.45!important;
  }

  .hs-b2b-product-price{
    font-size:14px!important;
  }

  .hs-b2b-vat-badge,
  .hs-b2b-flyer-price-badge,
  .hs-b2b-deposit-badge{
    font-size:9px!important;
  }

  .hs-b2b-product-card .hs-b2b-quantity button{
    width:38px!important;
    height:38px!important;
    border-radius:11px!important;
  }

  .hs-b2b-product-card .hs-b2b-catalog-qty-input{
    min-height:38px!important;
    border-radius:11px!important;
  }

  .hs-b2b-favorite-button{
    transform:none!important;
  }

  .hs-b2b-demo-features{
    gap:12px!important;
    margin-top:18px!important;
  }

  .hs-b2b-demo-features>div{
    min-height:64px!important;
    padding:13px!important;
    border-color:#dbe5ef!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.72)!important;
    box-shadow:0 9px 24px rgba(20,50,83,.035)!important;
  }

  .hs-b2b-demo-features strong{
    font-size:11px!important;
  }

  .hs-b2b-demo-features small{
    font-size:9px!important;
  }
}

/* =========================================================
   TRADEFLOW DEMO v0.3.9 — GAZETKI PDF W APLIKACJI
   Dwa miejsca publikacji korzystają z plików zarządzanych przez
   istniejący panel administratora i otwierają PDF w aplikacji.
   ========================================================= */
.hs-b2b-flyer-library-counter{
  min-width:128px;
  padding:14px 16px;
  border:1px solid #d7e3ef;
  border-radius:15px;
  background:rgba(255,255,255,.82);
  box-shadow:0 12px 28px rgba(31,61,98,.065);
}

.hs-b2b-flyer-library-counter small{
  display:block;
  color:#8392a6;
  font-size:8px;
  font-weight:850;
  letter-spacing:.08em;
}

.hs-b2b-flyer-library-counter strong{
  display:block;
  margin-top:5px;
  color:#ff7e28;
  font-size:19px;
}

.hs-b2b-flyer-library-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:14px 0 16px;
}

.hs-b2b-flyer-library-benefits span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:0 13px;
  border:1px solid #dbe5ef;
  border-radius:11px;
  background:rgba(255,255,255,.76);
  color:#64768c;
  font-size:10px;
  font-weight:700;
  box-shadow:0 8px 22px rgba(20,50,83,.035);
}

.hs-b2b-flyer-library-benefits b{
  color:#2677e5;
  font-size:11px;
}

.hs-b2b-flyer-library-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.hs-b2b-flyer-library-card{
  min-width:0;
  display:grid;
  grid-template-rows:auto auto minmax(270px,1fr) auto;
  gap:13px;
  padding:20px;
  overflow:hidden;
  border:1px solid #d7e3ef;
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f9fcff);
  box-shadow:0 17px 38px rgba(20,50,83,.07);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.hs-b2b-flyer-library-card.is-available:hover{
  transform:translateY(-3px);
  border-color:#b7d3f2;
  box-shadow:0 24px 48px rgba(20,50,83,.115);
}

.hs-b2b-flyer-library-card-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.hs-b2b-flyer-library-card-header h2{
  margin:5px 0 0;
  color:#10243d;
  font-size:22px;
  letter-spacing:-.025em;
}

.hs-b2b-flyer-library-status{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#eaf8f2;
  color:#16815a;
  font-size:9px;
  font-weight:850;
}

.hs-b2b-flyer-library-card.is-empty .hs-b2b-flyer-library-status{
  background:#eef3f8;
  color:#66788e;
}

.hs-b2b-flyer-library-description{
  min-height:39px;
  margin:0;
  color:#6f8095;
  font-size:12px;
  line-height:1.55;
}

.hs-b2b-flyer-library-preview{
  min-height:270px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(115,163,215,.22);
  border-radius:17px;
  background:
    radial-gradient(circle at 78% 5%,rgba(74,162,255,.23),transparent 28%),
    radial-gradient(circle at 12% 100%,rgba(255,135,51,.10),transparent 31%),
    linear-gradient(145deg,#071a35,#0b2d55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}

.hs-b2b-flyer-library-preview img{
  display:block;
  width:100%;
  height:310px;
  padding:13px;
  object-fit:contain;
  object-position:center;
  background:rgba(255,255,255,.035);
}

.hs-b2b-flyer-library-placeholder{
  max-width:330px;
  display:grid;
  justify-items:center;
  gap:10px;
  padding:28px;
  color:#fff;
  text-align:center;
}

.hs-b2b-flyer-library-placeholder>span{
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  border:1px solid rgba(255,255,255,.19);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.06));
  color:#ff9a45;
  font-size:18px;
  font-weight:900;
  letter-spacing:.06em;
  box-shadow:0 16px 34px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.12);
}

.hs-b2b-flyer-library-placeholder strong{
  font-size:17px;
}

.hs-b2b-flyer-library-placeholder small{
  color:#b9cce0;
  font-size:11px;
  line-height:1.55;
}

.hs-b2b-flyer-library-actions{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
}

.hs-b2b-flyer-library-actions button,
.hs-b2b-flyer-library-actions a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border-radius:11px;
  font-size:11px;
  font-weight:850;
  text-decoration:none!important;
}

.hs-b2b-flyer-library-actions button{
  border:0;
  background:linear-gradient(135deg,#ff8130,#ff9a45);
  color:#fff;
  box-shadow:0 11px 23px rgba(255,132,48,.22);
}

.hs-b2b-flyer-library-card.weekly .hs-b2b-flyer-library-actions button{
  background:linear-gradient(135deg,#1f70db,#378ef7);
  box-shadow:0 11px 23px rgba(39,124,240,.21);
}

.hs-b2b-flyer-library-actions a{
  border:1px solid #d4e0ec;
  background:#fff;
  color:#36516e!important;
}

.hs-b2b-flyer-library-waiting{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #ccd9e6;
  border-radius:11px;
  background:#f6f9fc;
  color:#78899d;
  font-size:11px;
  font-weight:750;
}

.hs-b2b-flyer-library-manage{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:18px;
  padding:18px 20px;
  border:1px solid #d6e2ee;
  border-radius:17px;
  background:rgba(255,255,255,.79);
  box-shadow:0 13px 30px rgba(20,50,83,.05);
}

.hs-b2b-flyer-library-manage>div{
  min-width:0;
  display:flex;
  align-items:center;
  gap:13px;
}

.hs-b2b-flyer-library-manage-icon{
  flex:0 0 46px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#eaf3ff;
  color:#2677e5;
  font-size:11px;
  font-weight:900;
}

.hs-b2b-flyer-library-manage strong{
  display:block;
  color:#18304c;
  font-size:14px;
}

.hs-b2b-flyer-library-manage p{
  margin:4px 0 0;
  color:#708197;
  font-size:11px;
  line-height:1.5;
}

.hs-b2b-flyer-library-manage>a,
.hs-b2b-flyer-library-format{
  flex:0 0 auto;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border:1px solid #cfddea;
  border-radius:11px;
  background:#fff;
  color:#244a73!important;
  font-size:11px;
  font-weight:850;
  text-decoration:none!important;
}

.hs-b2b-flyer-modal-panel{
  overflow:hidden;
  border:1px solid rgba(130,173,220,.28)!important;
  border-radius:22px!important;
  box-shadow:0 38px 95px rgba(3,18,37,.42)!important;
}

.hs-b2b-flyer-modal-panel header{
  background:
    radial-gradient(circle at 80% 0,rgba(70,158,255,.22),transparent 30%),
    linear-gradient(135deg,#071a35,#0b2d55)!important;
}

@media(max-width:850px){
  .hs-b2b-bottom-nav .hs-desktop-only{
    display:none!important;
  }

  .hs-b2b-flyer-library-grid{
    grid-template-columns:1fr;
  }

  .hs-b2b-flyer-library-heading{
    align-items:flex-start!important;
  }

  .hs-b2b-flyer-library-counter{
    min-width:108px;
    padding:11px 12px;
  }

  .hs-b2b-flyer-library-card{
    grid-template-rows:auto auto minmax(240px,auto) auto;
    padding:16px;
    border-radius:18px;
  }

  .hs-b2b-flyer-library-card-header h2{
    font-size:19px;
  }

  .hs-b2b-flyer-library-preview{
    min-height:240px;
  }

  .hs-b2b-flyer-library-preview img{
    height:270px;
  }

  .hs-b2b-flyer-library-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .hs-b2b-flyer-library-actions button,
  .hs-b2b-flyer-library-actions a{
    width:100%;
  }

  .hs-b2b-flyer-library-manage{
    align-items:stretch;
    flex-direction:column;
  }

  .hs-b2b-flyer-library-manage>a,
  .hs-b2b-flyer-library-format{
    width:100%;
  }
}

/* TradeFlow 0.4.2 — proporcje formularza danych kontaktowych na telefonie */
@media(max-width:850px){
  .hs-b2b-contact-edit-form{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
    align-items:stretch!important;
    margin-top:19px!important;
    padding-top:19px!important;
  }

  .hs-b2b-contact-edit-form label{
    display:block!important;
    width:100%!important;
    margin:0!important;
  }

  .hs-b2b-contact-edit-form label>span{
    margin:0 0 7px!important;
    font-size:12px!important;
    line-height:1.3!important;
  }

  .hs-b2b-contact-edit-form input,
  .hs-b2b-inline-profile-form input{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:50px!important;
    min-height:50px!important;
    padding:0 15px!important;
    border:1px solid #cbd9e7!important;
    border-radius:12px!important;
    background:#fbfdff!important;
    color:#102f4f!important;
    font-size:16px!important;
    line-height:50px!important;
    box-shadow:inset 0 1px 2px rgba(16,47,79,.025)!important;
  }

  .hs-b2b-contact-edit-form input:focus,
  .hs-b2b-inline-profile-form input:focus{
    border-color:#4a9bff!important;
    outline:none!important;
    box-shadow:0 0 0 4px rgba(74,155,255,.12)!important;
  }

  .hs-b2b-contact-edit-form button{
    justify-self:end!important;
    width:auto!important;
    min-width:176px!important;
    min-height:46px!important;
    padding:0 18px!important;
    border-radius:12px!important;
  }

  .hs-b2b-contact-edit-form>small{
    margin-top:-2px!important;
    font-size:11px!important;
    line-height:1.5!important;
  }

  .hs-b2b-inline-profile-form{
    width:100%!important;
    max-width:none!important;
    gap:12px!important;
  }

  .hs-b2b-inline-profile-form .hs-b2b-secondary-button{
    align-self:flex-end!important;
    width:auto!important;
    min-width:118px!important;
    min-height:46px!important;
    padding:0 19px!important;
    border-radius:12px!important;
  }
}

@media(max-width:380px){
  .hs-b2b-contact-edit-form button{
    min-width:158px!important;
  }
}
