:root {
  --rrxb2b-lime: #b7eb00;
  --rrxb2b-lime-deep: #789500;
  --rrxb2b-black: #101116;
  --rrxb2b-text: #151722;
  --rrxb2b-dim: #667085;
  --rrxb2b-line: #dfe3e8;
  --rrxb2b-soft: #f4f6f7;
  --rrxb2b-white: #fff;
  --rrxb2b-radius: 22px;
}

.rrxb2b-active {
  --global-palette1: #789500;
  --global-palette2: #b7eb00;
  --global-palette-highlight: #789500;
  --global-palette-highlight-alt: #b7eb00;
  background: #fff;
  color: var(--rrxb2b-text);
  font-family: 'Outfit', sans-serif;
}

.rrxb2b-active *,
.rrxb2b-active *::before,
.rrxb2b-active *::after { box-sizing: border-box; }
.rrxb2b-active h1,
.rrxb2b-active h2,
.rrxb2b-active h3,
.rrxb2b-active h4 { font-family: 'Archivo', sans-serif; }
.rrxb2b-active a { text-decoration: none; }
.rrxb2b-active a:hover,
.rrxb2b-active a:focus,
.rrxb2b-active a:active { color: var(--rrxb2b-lime-deep); }
.rrxb2b-active #masthead,
.rrxb2b-active .site-header { display: none !important; }
.rrxb2b-active #wrapper { overflow: hidden; }
.rrxb2b-active .site-main { margin: 0; }

.rrxb2b-application-status {
  margin: 0 0 28px;
  padding: 28px 32px;
  border: 1px solid #d9dee5;
  border-left: 5px solid var(--rrxb2b-lime);
  border-radius: 18px;
  background: #f7f9f3;
}
.rrxb2b-application-status > span { font: 700 11px/1.2 "JetBrains Mono", monospace; letter-spacing: .18em; color: #6f8500; }
.rrxb2b-application-status h2 { margin: 10px 0 8px; font-family: "Archivo", sans-serif; text-transform: uppercase; }
.rrxb2b-application-status p { max-width: 780px; }
.rrxb2b-status-rejected { border-left-color: #c92a2a; background: #fff5f5; }

.rrxb2b-header {
  position: relative;
  z-index: 999;
  width: 100%;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--rrxb2b-line);
  font-family: 'Outfit', sans-serif;
}
.admin-bar .rrxb2b-header { top: 0; }
.rrxb2b-header__top {
  max-width: 1440px;
  min-height: 88px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 225px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.rrxb2b-brand { display: flex; align-items: center; gap: 13px; color: var(--rrxb2b-black); }
.rrxb2b-brand img { width: 132px; height: auto; display: block; }
.rrxb2b-brand span {
  padding-left: 12px;
  border-left: 1px solid var(--rrxb2b-line);
  font: 600 10px/1.3 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  color: var(--rrxb2b-lime-deep);
}
.rrxb2b-search {
  height: 48px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-left: 17px;
  border: 1px solid #d9dee5;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(21,23,34,.04);
  overflow: hidden;
}
.rrxb2b-search svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.rrxb2b-search input[type='search'] {
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--rrxb2b-text);
  font: 500 15px 'Outfit', sans-serif;
}
.rrxb2b-search input[type='search']::placeholder { color: #8b94a5; }
.rrxb2b-search button {
  height: 38px;
  margin-right: 5px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--rrxb2b-lime);
  color: #111;
  font: 800 12px 'Archivo', sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
}
.rrxb2b-actions { display: flex; align-items: center; gap: 9px; }
.rrxb2b-action {
  position: relative;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--rrxb2b-text);
  font-size: 11px;
  font-weight: 600;
}
.rrxb2b-action svg,
.rrxb2b-menu-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.rrxb2b-cart-count {
  position: absolute;
  top: -7px;
  right: 7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rrxb2b-lime);
  color: #101116;
  font-size: 10px;
  font-weight: 800;
}
.rrxb2b-cart-count[hidden] { display: none; }
.rrxb2b-nav__retail {
  padding: 12px 15px;
  border: 1px solid var(--rrxb2b-black);
  border-radius: 9px;
  color: var(--rrxb2b-black);
  font: 700 10px 'Archivo', sans-serif;
  letter-spacing: .06em;
  white-space: nowrap;
}
.rrxb2b-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rrxb2b-black);
}
.rrxb2b-nav { border-top: 1px solid #eef0f2; }
.rrxb2b-nav__inner {
  max-width: 1440px;
  min-height: 47px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.rrxb2b-nav a {
  color: #2c2f38;
  font: 700 11px 'Archivo', sans-serif;
  letter-spacing: .06em;
}
.rrxb2b-nav a:hover { color: var(--rrxb2b-lime-deep); }
.rrxb2b-nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
.rrxb2b-nav-dropdown__toggle {
  min-height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #2c2f38;
  font: 700 11px 'Archivo', sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
}
.rrxb2b-active .rrxb2b-nav-dropdown__toggle:hover,
.rrxb2b-active .rrxb2b-nav-dropdown__toggle:focus,
.rrxb2b-active .rrxb2b-nav-dropdown__toggle:active {
  border: 0;
  background: transparent !important;
  color: var(--rrxb2b-lime-deep) !important;
  box-shadow: none !important;
}
.rrxb2b-nav-dropdown__toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.rrxb2b-nav-dropdown:hover .rrxb2b-nav-dropdown__toggle,
.rrxb2b-nav-dropdown:focus-within .rrxb2b-nav-dropdown__toggle,
.rrxb2b-nav-dropdown.is-open .rrxb2b-nav-dropdown__toggle { color: var(--rrxb2b-lime-deep); }
.rrxb2b-nav-dropdown:hover .rrxb2b-nav-dropdown__toggle svg,
.rrxb2b-nav-dropdown:focus-within .rrxb2b-nav-dropdown__toggle svg,
.rrxb2b-nav-dropdown.is-open .rrxb2b-nav-dropdown__toggle svg { transform: rotate(180deg); }
.rrxb2b-nav-dropdown__panel {
  position: absolute;
  top: calc(100% - 1px);
  left: -24px;
  z-index: 20;
  width: min(760px, calc(100vw - 48px));
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border: 1px solid var(--rrxb2b-line);
  border-top: 3px solid var(--rrxb2b-lime);
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(16,17,22,.14);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.rrxb2b-nav-dropdown:hover .rrxb2b-nav-dropdown__panel,
.rrxb2b-nav-dropdown:focus-within .rrxb2b-nav-dropdown__panel,
.rrxb2b-nav-dropdown.is-open .rrxb2b-nav-dropdown__panel { visibility: visible; opacity: 1; transform: translateY(0); }
.rrxb2b-nav-dropdown__head { margin-bottom: 15px; padding-bottom: 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rrxb2b-line); }
.rrxb2b-nav-dropdown__head > span { color: #7c8390; font: 600 10px 'JetBrains Mono', monospace; letter-spacing: .14em; }
.rrxb2b-nav-dropdown__head > a { color: var(--rrxb2b-lime-deep); font-size: 10px; }
.rrxb2b-nav-dropdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 14px; }
.rrxb2b-nav-dropdown__grid a { min-width: 0; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 7px; color: var(--rrxb2b-text); font: 600 12px 'Outfit', sans-serif; letter-spacing: 0; }
.rrxb2b-nav-dropdown__grid a:hover,
.rrxb2b-nav-dropdown__grid a:focus { background: rgba(183,235,0,.13); color: #526600; }
.rrxb2b-nav-dropdown__grid small { color: #9aa0aa; font-size: 10px; }
.rrxb2b-nav__retail {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px !important;
}

.rrxb2b-home { background: #fff; }
.rrxb2b-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  align-items: center;
  gap: 45px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 74px 48px 62px;
}
.rrxb2b-eyebrow {
  margin: 0 0 18px;
  color: var(--rrxb2b-lime-deep);
  font: 600 12px/1.4 'JetBrains Mono', monospace;
  letter-spacing: .18em;
}
.rrxb2b-hero h1 {
  margin: 0;
  color: var(--rrxb2b-black);
  font-size: clamp(58px, 6.1vw, 94px);
  line-height: .92;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.rrxb2b-lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: #5c6370;
  font-size: 19px;
  line-height: 1.62;
}
.rrxb2b-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.rrxb2b-button {
  min-height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 11px;
  font: 800 12px 'Archivo', sans-serif;
  letter-spacing: .06em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rrxb2b-button:hover { transform: translateY(-2px); }
.rrxb2b-button svg,
.rrxb2b-section__head > a svg,
.rrxb2b-brand-grid svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rrxb2b-button--lime { background: var(--rrxb2b-lime); color: #111; box-shadow: 0 13px 26px rgba(183,235,0,.22); }
.rrxb2b-active a.rrxb2b-button--lime:hover,
.rrxb2b-active a.rrxb2b-button--lime:focus {
  background: var(--rrxb2b-black);
  color: #fff;
  box-shadow: 0 16px 34px rgba(16,17,22,.22);
}
.rrxb2b-button--outline { border: 1px solid #b9bec7; color: var(--rrxb2b-black); }
.rrxb2b-button--dark { background: var(--rrxb2b-black); color: #fff; }
.rrxb2b-hero__visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.rrxb2b-hero__visual::before {
  content: '';
  position: absolute;
  inset: 9% 6%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,235,0,.2) 0, rgba(183,235,0,.06) 47%, transparent 68%);
}
.rrxb2b-hero__visual img {
  position: relative;
  z-index: 2;
  width: min(92%, 560px);
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(16,17,22,.16));
}
.rrxb2b-orbit { position: absolute; border: 1px solid #d7dce0; border-radius: 50%; z-index: -1; }
.rrxb2b-orbit--one { width: 88%; aspect-ratio: 1; }
.rrxb2b-orbit--two { width: 65%; aspect-ratio: 1; border-color: rgba(121,149,0,.35); }
.rrxb2b-hero-card {
  position: absolute;
  z-index: 3;
  min-width: 166px;
  padding: 18px 20px;
  border: 1px solid rgba(222,225,228,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 20px 50px rgba(16,17,22,.1);
  backdrop-filter: blur(10px);
}
.rrxb2b-hero-card span { display: block; margin-bottom: 6px; color: #969ba4; font: 500 10px 'JetBrains Mono', monospace; letter-spacing: .15em; }
.rrxb2b-hero-card strong { font: 800 14px 'Archivo', sans-serif; }
.rrxb2b-hero-card--stock { left: 1%; top: 19%; }
.rrxb2b-hero-card--b2b { right: 0; bottom: 16%; }

.rrxb2b-metrics {
  max-width: 1344px;
  margin: 0 auto 95px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rrxb2b-line);
  border-radius: var(--rrxb2b-radius);
  overflow: hidden;
}
.rrxb2b-metrics article {
  min-height: 135px;
  padding: 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
  border-right: 1px solid var(--rrxb2b-line);
  transition: background .2s ease, color .2s ease;
}
.rrxb2b-metrics article:last-child { border-right: 0; }
.rrxb2b-metrics article:hover { background: rgba(183,235,0,.08); }
.rrxb2b-metrics svg { flex: 0 0 auto; width: 35px; height: 35px; fill: none; stroke: var(--rrxb2b-lime-deep); stroke-width: 1.35; }
.rrxb2b-metrics article > div { flex: 0 1 185px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rrxb2b-metrics strong { font: 800 26px 'Archivo', sans-serif; letter-spacing: -.03em; }
.rrxb2b-metrics span { color: #737986; font-size: 13px; }

.rrxb2b-section { max-width: 1344px; margin: 0 auto; padding: 0 0 105px; }
.rrxb2b-section__head { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.rrxb2b-section__head h2,
.rrxb2b-b2b-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 57px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.rrxb2b-section__head > a { display: inline-flex; align-items: center; gap: 12px; color: var(--rrxb2b-black); font: 700 11px 'Archivo', sans-serif; letter-spacing: .08em; white-space: nowrap; }
.rrxb2b-brand-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--rrxb2b-line); border-left: 1px solid var(--rrxb2b-line); }
.rrxb2b-brand-grid a {
  min-height: 120px;
  padding: 21px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rrxb2b-line);
  border-bottom: 1px solid var(--rrxb2b-line);
  color: var(--rrxb2b-black);
  transition: background .2s ease;
}
.rrxb2b-brand-grid a:hover { background: var(--rrxb2b-soft); }
.rrxb2b-brand-grid a:hover span,
.rrxb2b-brand-grid a:focus span { color: var(--rrxb2b-lime-deep); }
.rrxb2b-brand-grid span { font: 800 17px 'Archivo', sans-serif; }
.rrxb2b-brand-grid small { margin-top: 6px; color: #8a909b; font-size: 12px; }
.rrxb2b-brand-grid svg { position: absolute; top: 16px; right: 15px; width: 16px; color: var(--rrxb2b-lime-deep); }

.rrxb2b-products-section ul.products,
.rrxb2b-active .site-main ul.products { gap: 20px; }
.rrxb2b-active ul.products li.product,
.rrxb2b-active .woocommerce ul.products li.product {
  padding: 14px 14px 19px;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 18px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.rrxb2b-active ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #cbd1d8;
  box-shadow: 0 19px 48px rgba(16,17,22,.09);
}
.rrxb2b-active ul.products li.product img { border-radius: 12px; background: #f7f8f9; }
.rrxb2b-active ul.products li.product .woocommerce-loop-product__title {
  margin: 15px 2px 7px;
  color: var(--rrxb2b-black);
  font: 800 15px/1.28 'Archivo', sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.rrxb2b-active ul.products li.product .price {
  color: var(--rrxb2b-black);
  font: 700 17px 'Outfit', sans-serif;
}
.rrxb2b-login-price {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #d9e3a8;
  border-radius: 9px;
  background: #f7fbea;
  color: #526600 !important;
  font: 700 12px/1.25 'Archivo', sans-serif;
  letter-spacing: .01em;
}
.rrxb2b-login-price:hover,
.rrxb2b-login-price:focus { border-color: var(--rrxb2b-lime); background: var(--rrxb2b-lime); color: #111 !important; }
.rrxb2b-active .rrxb2b-login-button { background: var(--rrxb2b-black) !important; color: #fff !important; }
.rrxb2b-active .rrxb2b-login-button:hover,
.rrxb2b-active .rrxb2b-login-button:focus { background: var(--rrxb2b-lime) !important; color: #111 !important; }
.rrxb2b-registration-intro {
  margin: 0 0 22px;
  padding: 15px 17px;
  border-left: 4px solid var(--rrxb2b-lime);
  border-radius: 9px;
  background: #f7fbea;
  color: #3f4d00;
  font-weight: 600;
}
.rrxb2b-active ul.products li.product .button {
  width: calc(100% - 4px);
  min-height: 44px;
  margin: 14px 2px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9px;
  background: var(--rrxb2b-lime);
  color: #111;
  font: 800 11px 'Archivo', sans-serif;
  letter-spacing: .05em;
}
.rrxb2b-b2b-cta {
  max-width: 1344px;
  margin: 0 auto 100px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: start;
  border-radius: 28px;
  background: var(--rrxb2b-lime);
}
.rrxb2b-b2b-cta > div:last-child { padding-top: 56px; }
.rrxb2b-b2b-cta .rrxb2b-eyebrow { color: #526600; }
.rrxb2b-b2b-cta p:not(.rrxb2b-eyebrow) { margin: 0 0 25px; color: #485300; font-size: 17px; line-height: 1.6; }

/* Katalog, kategorie i detal produktu */
.rrxb2b-active:not(.rrxb2b-front-page) .content-area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 54px 32px 100px;
}
.rrxb2b-active .archive-title,
.rrxb2b-active .page-title,
.rrxb2b-active .woocommerce-products-header__title {
  color: var(--rrxb2b-black);
  font: 900 clamp(38px, 5vw, 70px)/.95 'Archivo', sans-serif;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.rrxb2b-active .woocommerce-breadcrumb {
  color: #7c8390;
  font: 500 11px 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rrxb2b-active .woocommerce-breadcrumb a { color: var(--rrxb2b-lime-deep); }
.rrxb2b-active .woocommerce-result-count { color: #747b87; }
.rrxb2b-active .woocommerce-ordering select,
.rrxb2b-active select,
.rrxb2b-active input.input-text,
.rrxb2b-active input[type='text'],
.rrxb2b-active input[type='email'],
.rrxb2b-active input[type='password'],
.rrxb2b-active input[type='number'],
.rrxb2b-active textarea {
  min-height: 48px;
  border: 1px solid #d5dae0;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  font-family: 'Outfit', sans-serif;
}
.rrxb2b-active .woocommerce-pagination ul.page-numbers { border: 0; display: flex; gap: 7px; }
.rrxb2b-active .woocommerce-pagination ul.page-numbers li { border: 0; }
.rrxb2b-active .woocommerce-pagination .page-numbers a,
.rrxb2b-active .woocommerce-pagination .page-numbers span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 9px;
}
.rrxb2b-active .woocommerce-pagination .page-numbers .current { background: var(--rrxb2b-lime); color: #111; border-color: var(--rrxb2b-lime); }

.rrxb2b-active:not(.rrxb2b-product-template) div.product { --global-md-spacing: 2rem; }
.rrxb2b-active:not(.rrxb2b-product-template) div.product .product_title { font: 900 clamp(32px, 4vw, 58px)/1 'Archivo', sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.rrxb2b-active:not(.rrxb2b-product-template) div.product p.price { color: var(--rrxb2b-black); font: 800 29px 'Archivo', sans-serif; }
.rrxb2b-active:not(.rrxb2b-product-template) div.product .woocommerce-product-gallery { padding: 16px; border: 1px solid var(--rrxb2b-line); border-radius: 22px; }
.rrxb2b-active:not(.rrxb2b-product-template) div.product .woocommerce-product-gallery img { border-radius: 14px; }
.rrxb2b-active:not(.rrxb2b-product-template) div.product form.cart .button,
.rrxb2b-active .woocommerce button.button,
.rrxb2b-active .woocommerce a.button,
.rrxb2b-active .woocommerce input.button,
.rrxb2b-active button.button,
.rrxb2b-active a.button {
  min-height: 48px;
  border-radius: 9px;
  background: var(--rrxb2b-lime);
  color: #111;
  font: 800 11px 'Archivo', sans-serif;
  letter-spacing: .05em;
}
.rrxb2b-active .woocommerce button.button:hover,
.rrxb2b-active .woocommerce a.button:hover,
.rrxb2b-active button.button:hover,
.rrxb2b-active a.button:hover { background: #a9d900; color: #111; }
.rrxb2b-active .woocommerce-message,
.rrxb2b-active .woocommerce-info,
.rrxb2b-active .woocommerce-error {
  padding: 20px 22px 20px 54px;
  border: 1px solid #d9e8a0;
  border-left: 5px solid var(--rrxb2b-lime);
  border-radius: 13px;
  background: #f8fbea;
  color: #273000;
}
.rrxb2b-active .woocommerce-message::before,
.rrxb2b-active .woocommerce-info::before { color: var(--rrxb2b-lime-deep); }
.rrxb2b-active .woocommerce table.shop_table,
.rrxb2b-active .woocommerce form.checkout,
.rrxb2b-active .woocommerce form.login,
.rrxb2b-active .woocommerce form.register,
.rrxb2b-active .woocommerce-MyAccount-content {
  border: 1px solid var(--rrxb2b-line);
  border-radius: 18px;
  background: #fff;
}
.rrxb2b-active .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rrxb2b-line); border-radius: 15px; overflow: hidden; }
.rrxb2b-active .woocommerce-MyAccount-navigation li a { display: block; padding: 13px 17px; border-bottom: 1px solid var(--rrxb2b-line); color: var(--rrxb2b-text); }
.rrxb2b-active .woocommerce-MyAccount-navigation li.is-active a { background: var(--rrxb2b-lime); color: #111; font-weight: 700; }

/* Bonus newsletterowy jest dostępny wyłącznie w sklepie detalicznym. */
.rrxb2b-product-template .rrx-discount { display: none !important; }

/* Importowany krótki opis powtarza nazwę modelu nad konfiguracją produktu. */
.rrxb2b-product-template .woocommerce-product-details__short-description { display: none !important; }

/* Stopka dostarczana przez RIMREX Connector */
.rrxb2b-active .rrx-site-footer { margin-top: 0; font-family: 'Outfit', sans-serif; }
.rrxb2b-active .rrx-site-footer a { transition: color .2s ease; }
.rrxb2b-active .rrx-site-footer .rrxb2b-footer-extra { display: none; }
.rrxb2b-active .rrx-site-footer .rrxb2b-footer-categories.is-expanded .rrxb2b-footer-extra { display: list-item; }
.rrxb2b-footer-toggle {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: 700 11px 'Archivo', sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
}
.rrxb2b-active .rrx-site-footer button.rrxb2b-footer-toggle {
  border: 1px solid var(--rrxb2b-black) !important;
  background: var(--rrxb2b-black) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(16,17,22,.14) !important;
}
.rrxb2b-active .rrx-site-footer button.rrxb2b-footer-toggle:hover,
.rrxb2b-active .rrx-site-footer button.rrxb2b-footer-toggle:focus {
  border-color: var(--rrxb2b-lime) !important;
  background: var(--rrxb2b-lime) !important;
  color: var(--rrxb2b-black) !important;
  box-shadow: 0 12px 28px rgba(183,235,0,.22) !important;
}

@media (max-width: 1180px) {
  .rrxb2b-header__top { grid-template-columns: 190px 1fr auto; gap: 15px; padding-inline: 22px; }
  .rrxb2b-brand img { width: 116px; }
  .rrxb2b-brand span { font-size: 8px; }
  .rrxb2b-hero { grid-template-columns: 1fr .82fr; padding-inline: 32px; }
  .rrxb2b-metrics,
  .rrxb2b-section,
  .rrxb2b-b2b-cta { margin-left: 28px; margin-right: 28px; }
  .rrxb2b-brand-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 900px) {
  .rrxb2b-header__top { min-height: auto; grid-template-columns: 1fr auto; grid-template-areas: 'brand actions' 'search search'; padding: 13px 18px 15px; }
  .rrxb2b-brand { grid-area: brand; }
  .rrxb2b-brand img { width: 125px; }
  .rrxb2b-brand span { font-size: 8px; }
  .rrxb2b-search { grid-area: search; }
  .rrxb2b-actions { grid-area: actions; }
  .rrxb2b-action span:not(.rrxb2b-cart-count) { display: none; }
  .rrxb2b-action { min-width: 42px; }
  .rrxb2b-cart-count { right: 0; }
  .rrxb2b-menu-toggle { display: grid; }
  .rrxb2b-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; border-bottom: 1px solid var(--rrxb2b-line); background: #fff; box-shadow: 0 25px 45px rgba(16,17,22,.12); }
  .rrxb2b-header.is-menu-open .rrxb2b-nav { display: block; }
  .rrxb2b-nav__inner { min-height: 0; padding: 12px 18px 20px; display: grid; gap: 0; }
  .rrxb2b-nav a { padding: 15px 5px; border-bottom: 1px solid #eceef0; font-size: 13px; }
  .rrxb2b-nav-dropdown { display: block; }
  .rrxb2b-nav-dropdown__toggle { width: 100%; min-height: 50px; justify-content: space-between; border-bottom: 1px solid #eceef0; font-size: 13px; text-align: left; }
  .rrxb2b-nav-dropdown__panel { position: static; width: 100%; max-height: 0; padding: 0 5px; visibility: hidden; opacity: 0; overflow: hidden; transform: none; border: 0; border-radius: 0; box-shadow: none; transition: max-height .3s ease, opacity .2s ease, padding .3s ease, visibility .2s ease; }
  .rrxb2b-nav-dropdown:hover .rrxb2b-nav-dropdown__panel,
  .rrxb2b-nav-dropdown:focus-within .rrxb2b-nav-dropdown__panel { max-height: 0; padding-block: 0; visibility: hidden; opacity: 0; }
  .rrxb2b-nav-dropdown.is-open .rrxb2b-nav-dropdown__panel { max-height: 680px; padding-block: 13px 17px; visibility: visible; opacity: 1; overflow: auto; }
  .rrxb2b-nav-dropdown__head { margin-bottom: 8px; }
  .rrxb2b-nav-dropdown__head > a { padding: 0; border: 0; font-size: 9px; }
  .rrxb2b-nav-dropdown__grid { grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .rrxb2b-nav-dropdown__grid a { padding: 10px 7px; border: 0; font-size: 12px; }
  .rrxb2b-nav__retail { display: block !important; margin: 12px 0 0; text-align: center; border: 1px solid var(--rrxb2b-black) !important; }
  .rrxb2b-menu-lock { overflow: hidden; }
  .rrxb2b-hero { min-height: 0; grid-template-columns: 1fr; padding: 58px 28px 50px; }
  .rrxb2b-hero__copy { text-align: center; }
  .rrxb2b-hero h1 { font-size: clamp(51px, 12vw, 78px); }
  .rrxb2b-lead { margin-inline: auto; }
  .rrxb2b-buttons { justify-content: center; }
  .rrxb2b-hero__visual { min-height: 450px; }
  .rrxb2b-metrics { grid-template-columns: 1fr 1fr; }
  .rrxb2b-metrics article:nth-child(2) { border-right: 0; }
  .rrxb2b-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--rrxb2b-line); }
  .rrxb2b-brand-grid { grid-template-columns: repeat(3, 1fr); }
  .rrxb2b-b2b-cta { grid-template-columns: 1fr; gap: 35px; padding: 50px; }
  .rrxb2b-b2b-cta > div:last-child { padding-top: 0; }
}

@media (max-width: 620px) {
  .rrxb2b-header__top { padding-inline: 14px; gap: 11px; }
  .rrxb2b-brand { gap: 8px; }
  .rrxb2b-brand img { width: 105px; }
  .rrxb2b-brand span { max-width: 50px; padding-left: 8px; font-size: 7px; }
  .rrxb2b-actions { gap: 2px; }
  .rrxb2b-action { min-width: 38px; }
  .rrxb2b-menu-toggle { width: 43px; height: 43px; }
  .rrxb2b-search { height: 46px; grid-template-columns: 22px 1fr; padding: 0 15px; border-radius: 12px; }
  .rrxb2b-search input[type='search'] { height: 44px; font-size: 14px; }
  .rrxb2b-search button { display: none; }
  .rrxb2b-hero { padding: 48px 19px 35px; gap: 22px; }
  .rrxb2b-eyebrow { margin-bottom: 13px; font-size: 10px; }
  .rrxb2b-hero h1 { font-size: clamp(43px, 14.2vw, 64px); line-height: .96; }
  .rrxb2b-lead { margin-top: 22px; font-size: 16px; line-height: 1.55; }
  .rrxb2b-buttons { display: grid; margin-top: 25px; }
  .rrxb2b-button { width: 100%; }
  .rrxb2b-hero__visual { min-height: 355px; }
  .rrxb2b-hero__visual img { width: 94%; }
  .rrxb2b-hero-card { min-width: 129px; padding: 13px 14px; border-radius: 12px; }
  .rrxb2b-hero-card span { font-size: 8px; }
  .rrxb2b-hero-card strong { font-size: 11px; }
  .rrxb2b-hero-card--stock { left: 0; top: 15%; }
  .rrxb2b-hero-card--b2b { right: 0; bottom: 13%; }
  .rrxb2b-metrics { margin: 10px 16px 68px; grid-template-columns: 1fr; border-radius: 16px; }
  .rrxb2b-metrics article { min-height: 102px; padding: 22px; border-right: 0; border-bottom: 1px solid var(--rrxb2b-line); }
  .rrxb2b-metrics article:last-child { border-bottom: 0; }
  .rrxb2b-metrics article:nth-child(2) { border-bottom: 1px solid var(--rrxb2b-line); }
  .rrxb2b-metrics strong { font-size: 23px; }
  .rrxb2b-section { margin-inline: 16px; padding-bottom: 70px; }
  .rrxb2b-section__head { align-items: flex-start; }
  .rrxb2b-section__head h2,
  .rrxb2b-b2b-cta h2 { font-size: 34px; }
  .rrxb2b-section__head > a { display: none; }
  .rrxb2b-brand-grid { grid-template-columns: 1fr 1fr; }
  .rrxb2b-brand-grid a { min-height: 100px; padding: 17px 13px; }
  .rrxb2b-brand-grid span { max-width: 90%; font-size: 14px; }
  .rrxb2b-products-section ul.products,
  .rrxb2b-active .site-main ul.products { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .rrxb2b-active ul.products li.product,
  .rrxb2b-active .woocommerce ul.products li.product { padding: 8px 8px 13px; border-radius: 13px; }
  .rrxb2b-active ul.products li.product .woocommerce-loop-product__title { font-size: 12px; }
  .rrxb2b-active ul.products li.product .price { font-size: 14px; }
  .rrxb2b-active ul.products li.product .button { min-height: 39px; font-size: 9px; }
  .rrxb2b-b2b-cta { margin: 0 16px 70px; padding: 35px 24px; gap: 27px; border-radius: 20px; }
  .rrxb2b-active:not(.rrxb2b-front-page) .content-area { padding: 34px 14px 70px; }
  .rrxb2b-active .archive-title,
  .rrxb2b-active .page-title,
  .rrxb2b-active .woocommerce-products-header__title { font-size: 39px; }
  .rrxb2b-active .woocommerce-result-count,
  .rrxb2b-active .woocommerce-ordering { float: none; width: 100%; }
  .rrxb2b-active .woocommerce-ordering select { width: 100%; }
  .rrxb2b-active div.product .product_title { font-size: 35px; }
  .rrxb2b-active .woocommerce-message,
  .rrxb2b-active .woocommerce-info,
  .rrxb2b-active .woocommerce-error { padding: 17px 14px 17px 42px; }
}

/* Spójne kafelki produktów — ten sam układ na stronie głównej i w katalogu */
.rrxb2b-active ul.products li.rr-product-card,
.rrxb2b-active .woocommerce ul.products li.rr-product-card {
  display: flex !important;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 18px !important;
  background: #fff;
  box-shadow: none;
}

.rrxb2b-active ul.products li.rr-product-card .rr-card-media {
  display: block !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 18px 18px 0 0 !important;
  background: #f4f6f7;
}

.rrxb2b-active ul.products li.rr-product-card .rr-card-media img,
.rrxb2b-active ul.products li.rr-product-card img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  border-radius: 18px 18px 0 0 !important;
  background: #f4f6f7;
}

.rrxb2b-active ul.products li.rr-product-card .rr-card-body {
  display: flex !important;
  width: 100%;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 10px 16px 16px !important;
}

.rrxb2b-active ul.products li.rr-product-card.rr-card-ready > .product-details,
.rrxb2b-active ul.products li.rr-product-card .product-action-wrap,
.rrxb2b-active ul.products li.rr-product-card .kadence-product-action-wrap {
  display: none !important;
}

.rrxb2b-active ul.products li.rr-product-card .woocommerce-loop-product__title {
  min-height: 42px;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rrxb2b-black) !important;
  font: 800 16px/1.25 'Archivo', sans-serif !important;
  letter-spacing: -.015em;
  text-transform: none !important;
}

.rrxb2b-active ul.products li.rr-product-card .star-rating { display: none !important; }

.rrxb2b-active ul.products li.rr-product-card .price {
  min-height: 26px;
  margin: auto 0 0 !important;
  padding-top: 13px;
  color: var(--rrxb2b-black) !important;
  font: 800 17px/1.2 'Archivo', sans-serif !important;
}

.rrxb2b-active ul.products li.rr-product-card .price .amount {
  color: inherit !important;
  font: inherit !important;
}

.rr-loop-price-separator { display: inline-block; margin: 0 5px; }

.rr-loop-details { display: grid; gap: 11px; margin: 3px 0 0; }
.rr-loop-specs { min-height: 18px; color: #747b87; font-size: 12px; }
.rr-loop-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rr-loop-options:empty { display: none; }
.rr-loop-colors { display: inline-flex; align-items: center; gap: 5px; color: #747b87; }
.rr-loop-colors i {
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #454b52, #111);
  box-shadow: 0 0 0 1px #cbd0d5;
}
.rr-loop-colors i[class*='srebr'],
.rr-loop-colors i[class*='silver'] { background: linear-gradient(135deg, #929aa2, #f6f7f8); }
.rr-loop-colors i[class*='grafit'],
.rr-loop-colors i[class*='gunmetal'] { background: #515861; }
.rr-loop-colors i[class*='bial'],
.rr-loop-colors i[class*='white'] { background: #f7f7f4; }
.rr-loop-colors i[class*='braz'],
.rr-loop-colors i[class*='bronze'] { background: #8b623d; }
.rr-loop-colors i[class*='zlot'],
.rr-loop-colors i[class*='gold'] { background: #c49a3a; }

.rr-loop-stock {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 0 0 6px;
  padding: 3px 8px;
  border: 1px solid var(--rrxb2b-lime);
  border-radius: 999px;
  background: #f8ffe5;
  color: #668900;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.rr-loop-stock i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rr-loop-stock--last { border-color: #f3a09a; background: #fff1f0; color: #d92d20; }
.rr-loop-stock--low { border-color: #ffc4bf; background: #fff7f6; color: #e85c53; }
.rr-loop-stock--medium { border-color: #f5c451; background: #fffaf0; color: #b77900; }
.rr-loop-stock--none { border-color: #f3a09a; background: #fff1f0; color: #c81e1e; }

.rrxb2b-active ul.products li.rr-product-card .button.rr-loop-cta {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 0 !important;
  padding: 9px 13px !important;
  border: 1px solid #c9eb61 !important;
  border-radius: 12px !important;
  background: #f2ffd0 !important;
  color: var(--rrxb2b-black) !important;
  font: 800 10px/1 'Archivo', sans-serif !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rrxb2b-active ul.products li.rr-product-card .button.rr-loop-cta.rrxb2b-login-button {
  border-color: var(--rrxb2b-black) !important;
  background: var(--rrxb2b-black) !important;
  color: #fff !important;
}

.rr-loop-cta-icon {
  position: absolute;
  top: 50%;
  right: 13px;
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-5px, -50%);
  transition: opacity .18s ease, transform .18s ease;
}
.rr-loop-cta-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rrxb2b-active ul.products li.rr-product-card .button.rr-loop-cta:hover {
  border-color: var(--rrxb2b-lime) !important;
  background: var(--rrxb2b-lime) !important;
  color: var(--rrxb2b-black) !important;
}
.rrxb2b-active ul.products li.rr-product-card .button.rr-loop-cta:hover .rr-loop-cta-icon {
  opacity: 1;
  transform: translate(0, -50%);
}

.rrxb2b-active .rrx-site-footer ul:empty { display: none; }

@media (hover: none) {
  .rr-loop-cta-icon { opacity: 1; transform: translate(0, -50%); }
}

@media (max-width: 620px) {
  .rrxb2b-active ul.products li.rr-product-card .rr-card-body { padding: 9px 11px 12px !important; }
  .rrxb2b-active ul.products li.rr-product-card .woocommerce-loop-product__title { min-height: 36px; font-size: 12px !important; }
  .rrxb2b-active ul.products li.rr-product-card .price { font-size: 14px !important; }
  .rrxb2b-active ul.products li.rr-product-card .button.rr-loop-cta { min-height: 39px; font-size: 9px !important; }
  .rr-loop-specs { font-size: 10px; }
}

/* Katalog B2B z filtrem — układ zgodny ze sklepem detalicznym */
.rrxb2b-product-archive {
  --rr-archive-lime: var(--rrxb2b-lime);
  --rr-archive-ink: var(--rrxb2b-black);
  --rr-archive-muted: #68707d;
  --rr-archive-line: var(--rrxb2b-line);
  --rr-archive-soft: var(--rrxb2b-soft);
  --rr-archive-radius: 20px;
}

.rrxb2b-product-archive .entry-hero,
.rrxb2b-product-archive .product-archive-hero-section,
.rrxb2b-product-archive .entry-hero-container,
.rrxb2b-product-archive .woocommerce-products-header,
.rrxb2b-product-archive #rimrex-collection-context,
.rrxb2b-product-archive .rimrex-collection-hero,
.rrxb2b-product-archive .rimrex-collection-header {
  display: none !important;
}

.rrxb2b-product-archive #primary {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.rrxb2b-product-archive #primary > .content-container.site-container,
.rrxb2b-product-archive .content-area {
  width: 100% !important;
  max-width: 1344px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 34px 24px 100px !important;
}

.rrxb2b-product-archive main.site-main {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.rr-archive-heading {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--rr-archive-line);
}

.rr-archive-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--rrxb2b-lime-deep);
  font: 800 12px/1 'Archivo', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rr-archive-heading h1 {
  margin: 0 0 7px !important;
  color: var(--rr-archive-ink) !important;
  font: 900 clamp(30px, 3.6vw, 52px)/1 'Archivo', sans-serif !important;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.rr-archive-heading p { margin: 0; color: var(--rr-archive-muted); font-size: 14px; }
.rr-archive-count { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.rr-archive-count strong { color: var(--rrxb2b-lime-deep); font: 900 21px/1 'Archivo', sans-serif; }
.rr-archive-count span { color: var(--rr-archive-muted); font: 700 11px/1.2 'Archivo', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.rr-filter-toggle { display: none; }

.rr-archive-layout {
  display: grid;
  width: 100%;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rr-archive-filters {
  padding-right: 20px;
  border-right: 1px solid var(--rr-archive-line);
  color: var(--rr-archive-ink);
}

.rr-archive-products { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 12px; }
.rr-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rr-filter-heading h2 { margin: 0 !important; font: 900 22px/1 'Archivo', sans-serif !important; }
.rr-filter-heading a { color: var(--rrxb2b-lime-deep); font-size: 12px; font-weight: 700; }

.rr-filter-search {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--rr-archive-line);
  border-radius: 14px;
  background: #fff;
}

.rr-filter-search > span[aria-hidden='true'] { color: var(--rr-archive-muted); font-size: 21px; line-height: 1; }
.rrxb2b-active .rr-filter-search input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--rr-archive-ink);
  font-size: 14px;
}

.rr-filter-group { margin: 0; padding: 13px 0; border-top: 1px solid var(--rr-archive-line); }
.rr-filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--rr-archive-ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}
.rr-filter-group summary::-webkit-details-marker { display: none; }
.rr-filter-group[open] summary > span { transform: rotate(180deg); }
.rr-filter-options,
.rr-category-links { display: grid; gap: 9px; margin-top: 11px; }
.rr-filter-options label,
.rr-category-links a { display: flex; align-items: center; gap: 8px; color: var(--rr-archive-muted); font-size: 13px; }
.rr-filter-options label small,
.rr-category-links a small { margin-left: auto; }
.rr-category-links a.is-current,
.rr-category-links a:hover { color: var(--rrxb2b-lime-deep); font-weight: 800; }
.rr-filter-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--rr-archive-lime); }

.rr-price-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.rr-price-filter label span { display: block; margin-bottom: 5px; color: var(--rr-archive-muted); font-size: 11px; }
.rrxb2b-active .rr-price-filter input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px !important;
  border: 1px solid var(--rr-archive-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-size: 12px;
}

.rrxb2b-active button.rr-apply-filters {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid var(--rr-archive-lime) !important;
  border-radius: 14px !important;
  background: var(--rr-archive-lime) !important;
  color: var(--rr-archive-ink) !important;
  font: 800 12px/1 'Archivo', sans-serif !important;
  text-transform: uppercase;
}
.rrxb2b-active button.rr-apply-filters:hover { border-color: var(--rr-archive-ink) !important; background: var(--rr-archive-ink) !important; color: #fff !important; }

.rr-archive-products .woocommerce-result-count { float: none !important; margin: 0 auto 0 0 !important; color: var(--rr-archive-muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.rr-archive-products .woocommerce-ordering { float: none !important; margin: 0 !important; }
.rr-archive-products .woocommerce-ordering select { min-height: 42px; padding: 8px 38px 8px 12px !important; border: 1px solid var(--rr-archive-line) !important; border-radius: 13px !important; background-color: #fff !important; color: var(--rr-archive-ink); font-size: 13px; }
.rr-archive-products .kadence-shop-top-row,
.rr-archive-products .woocommerce-notices-wrapper { flex: 0 0 100%; }

.rrxb2b-product-archive ul.products,
.rrxb2b-product-archive #rimrex-product-grid {
  display: grid !important;
  flex: 0 0 100%;
  width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}
.rrxb2b-product-archive ul.products::before,
.rrxb2b-product-archive ul.products::after { display: none !important; }

.rr-archive-empty {
  display: grid;
  width: 100%;
  min-height: 180px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid #cce989;
  border-radius: var(--rr-archive-radius);
  background: linear-gradient(135deg, #fbfff2 0%, #f4fadf 100%);
}
.rr-archive-empty h2 { margin: 0 0 7px !important; color: var(--rr-archive-ink) !important; font: 900 21px/1.2 'Archivo', sans-serif !important; }
.rr-archive-empty p { margin: 0; color: var(--rr-archive-muted); font-size: 14px; }
.rr-archive-empty__clear { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 13px; background: var(--rr-archive-lime); color: var(--rr-archive-ink) !important; font-size: 12px; font-weight: 900; text-transform: uppercase; }

.rrxb2b-product-archive .woocommerce-pagination { flex: 0 0 100%; margin-top: 26px; text-align: right !important; }
.rrxb2b-product-archive .woocommerce-pagination ul.page-numbers { justify-content: flex-end; }

@media (max-width: 1080px) {
  .rrxb2b-product-archive ul.products,
  .rrxb2b-product-archive #rimrex-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .rrxb2b-product-archive #primary > .content-container.site-container,
  .rrxb2b-product-archive .content-area { padding-right: 14px !important; padding-left: 14px !important; }
  .rr-archive-heading { align-items: flex-start; flex-direction: column; }
  .rr-archive-count { display: none; }
  .rrxb2b-active button.rr-filter-toggle {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-bottom: 14px;
    border: 1px solid var(--rr-archive-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--rr-archive-ink) !important;
    font-weight: 800 !important;
  }
  .rr-archive-layout { grid-template-columns: 1fr; }
  .rr-archive-filters { display: none; padding: 16px; border: 1px solid var(--rr-archive-line); border-radius: 16px; }
  .rr-archive-filters.is-open { display: block; }
  .rr-archive-empty { grid-template-columns: minmax(0, 1fr); }
  .rr-archive-empty__clear { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .rrxb2b-product-archive ul.products,
  .rrxb2b-product-archive #rimrex-product-grid { grid-template-columns: 1fr !important; }
  .rrxb2b-product-archive .rr-product-card .woocommerce-loop-product__title { min-height: 0; }
}

/* Konto partnera B2B */
.rrxb2b-account-page .entry-hero,
.rrxb2b-account-page .entry-hero-container,
.rrxb2b-account-page .page-header {
  display: none !important;
}

.rrxb2b-account-page #primary,
.rrxb2b-account-page .content-area {
  width: 100% !important;
  max-width: 1488px !important;
  margin: 0 auto !important;
}

.rrxb2b-account-page #primary > .content-container.site-container {
  width: 100% !important;
  max-width: 1380px !important;
  margin: 0 auto !important;
}

.rrxb2b-account-page .content-area { padding: 0 !important; }
.rrxb2b-account-page #primary > .content-container.site-container {
  width: calc(100% - 48px) !important;
  max-width: 1440px !important;
  padding: 44px 0 clamp(70px, 8vw, 120px) !important;
}

.rrxb2b-account-page article,
.rrxb2b-account-page .entry-content-wrap,
.rrxb2b-account-page .entry-content { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

.rrxb2b-account-page.rrxb2b-logged-in article .woocommerce {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.rr-account-hero {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(430px, .8fr);
  gap: 38px;
  min-height: 285px;
  padding: clamp(38px, 5vw, 68px);
  overflow: hidden;
  border-radius: 30px;
  background: #101116;
  color: #fff;
  box-shadow: 0 30px 80px rgba(16,17,22,.16);
}

.rr-account-hero::before {
  position: absolute;
  right: -105px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 80px solid var(--rrxb2b-lime);
  border-radius: 50%;
  content: '';
  opacity: .94;
}

.rr-account-hero::after {
  position: absolute;
  top: 0;
  right: 34%;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,.12);
  content: '';
}

.rr-account-hero__copy,
.rr-account-hero__stats { position: relative; z-index: 1; }
.rr-account-hero__copy > span,
.rr-account-section-title span,
.rr-account-empty > span,
.rr-account-auth-hero span,
.rrxb2b-registration-intro > span {
  display: block;
  margin-bottom: 15px;
  color: var(--rrxb2b-lime);
  font: 700 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rr-account-hero h1 {
  max-width: 680px;
  margin: 0 0 16px !important;
  color: #fff !important;
  font: 900 clamp(37px, 4.6vw, 68px)/.96 'Archivo', sans-serif !important;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.rr-account-hero p { max-width: 600px; margin: 0; color: #b8bbc4; font-size: 17px; }
.rr-account-hero > small { position: absolute; left: clamp(38px, 5vw, 68px); bottom: 24px; color: #747882; font: 600 11px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }

.rr-account-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: center; }
.rr-account-hero__stats > div { min-width: 0; padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.14); }
.rr-account-hero__stats > div:last-child {
  border-radius: 14px;
  background: rgba(16,17,22,.84);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.rr-account-hero__stats strong { display: block; margin-bottom: 9px; color: #fff; font: 900 clamp(18px, 1.5vw, 25px)/1 'Archivo', sans-serif; letter-spacing: -.04em; text-shadow: 0 2px 12px rgba(0,0,0,.42); white-space: nowrap; }
.rr-account-hero__stats span { color: #c6cad2; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.rrxb2b-account-page .account-navigation-wrap { width: 100% !important; max-width: none !important; border: 0 !important; }
.rrxb2b-account-page .kadence-account-avatar { display: flex !important; width: 100% !important; align-items: center; gap: 12px; margin: 0 0 13px !important; padding: 12px 14px !important; }
.rrxb2b-account-page .kadence-customer-image { flex: 0 0 42px; }
.rrxb2b-account-page .kadence-customer-image img { width: 42px !important; height: 42px !important; border-radius: 50%; }
.rrxb2b-account-page .kadence-customer-name { min-width: 0; overflow: hidden; color: #101116; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.rrxb2b-account-page .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16,17,22,.05);
}

.rrxb2b-account-page .woocommerce-MyAccount-navigation > div:first-child { padding: 9px 10px 18px; font-weight: 800; }
.rrxb2b-account-page .woocommerce-MyAccount-navigation ul { border: 0 !important; border-radius: 0 !important; }
.rrxb2b-account-page .woocommerce-MyAccount-navigation li { margin: 0 0 6px; }
.rrxb2b-account-page .woocommerce-MyAccount-navigation li a {
  position: relative;
  min-height: 52px;
  padding: 16px 42px 16px 18px !important;
  border: 0 !important;
  border-radius: 12px;
  color: #4f5663 !important;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.rrxb2b-account-page .woocommerce-MyAccount-navigation li a::after { position: absolute; top: 50%; right: 17px; content: '→'; transform: translateY(-50%); opacity: .45; }
.rrxb2b-account-page .woocommerce-MyAccount-navigation li a:hover { background: #f3f5f6; color: #101116 !important; transform: translateX(3px); }
.rrxb2b-account-page .woocommerce-MyAccount-navigation li.is-active a { background: var(--rrxb2b-lime) !important; color: #101116 !important; }
.rrxb2b-account-page .woocommerce-MyAccount-navigation li:last-child { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--rrxb2b-line); }

.rrxb2b-account-page .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  min-height: 430px;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 42px) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 45px rgba(16,17,22,.05);
}

.rrxb2b-account-dashboard .woocommerce-MyAccount-content > p { display: none; }
.rr-account-dashboard { display: grid; gap: 34px; }
.rr-account-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.rr-account-quick a {
  position: relative;
  min-height: 155px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 17px;
  background: #f7f8f9;
  color: #101116 !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.rr-account-quick a:hover { transform: translateY(-4px); border-color: var(--rrxb2b-lime); box-shadow: 0 16px 35px rgba(16,17,22,.08); }
.rr-account-quick a > span { display: block; margin-bottom: 25px; color: #829700; font: 700 11px 'JetBrains Mono', monospace; }
.rr-account-quick strong { display: block; margin-bottom: 7px; font: 800 16px 'Archivo', sans-serif; text-transform: uppercase; }
.rr-account-quick small { display: block; color: #737985; font-size: 12px; line-height: 1.35; }
.rr-account-quick a::after { position: absolute; top: 16px; right: 17px; color: #101116; content: '↗'; font-size: 20px; }

.rr-account-section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.rr-account-section-title span { margin-bottom: 7px; color: #829700; }
.rr-account-section-title h2 { margin: 0 !important; color: #101116 !important; font: 900 clamp(25px, 3vw, 37px)/1 'Archivo', sans-serif !important; letter-spacing: -.04em; text-transform: uppercase; }
.rr-account-section-title > a { color: #607200 !important; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.rr-account-order-list { display: grid; gap: 10px; }
.rr-account-order-list article { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr auto; gap: 15px; align-items: center; padding: 17px 19px !important; border: 1px solid var(--rrxb2b-line) !important; border-radius: 14px !important; background: #fff !important; }
.rr-account-order-list article span { display: block; margin-bottom: 5px; color: #969ba4; font: 600 9px 'JetBrains Mono', monospace; letter-spacing: .09em; }
.rr-account-order-list article strong { color: #101116; font-size: 13px; }
.rr-account-order-list article > a { padding: 10px 13px; border-radius: 9px; background: #101116; color: #fff !important; font-size: 10px; font-weight: 800; text-transform: uppercase; }

.rr-account-empty { padding: clamp(28px, 4vw, 50px); border: 1px dashed #cfd3d8; border-radius: 19px; background: #fafbfb; text-align: center; }
.rr-account-empty > span { margin-bottom: 10px; color: #829700; }
.rr-account-empty h3 { margin: 0 0 9px !important; color: #101116 !important; font: 900 clamp(21px, 2.5vw, 31px)/1.1 'Archivo', sans-serif !important; text-transform: uppercase; }
.rr-account-empty p { margin: 0 auto 20px; color: #737985; }
.rrxb2b-account-page .rr-account-empty .button {
  display: inline-flex !important;
  min-height: 48px !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
  padding: 0 22px !important;
  line-height: 1 !important;
  text-align: center;
}

.rrxb2b-account-page .woocommerce-orders-table { border-collapse: separate !important; border-spacing: 0 9px !important; border: 0 !important; }
.rrxb2b-account-page .woocommerce-orders-table thead th { padding: 4px 14px 9px !important; color: #8b919c; font: 700 10px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.rrxb2b-account-page .woocommerce-orders-table tbody tr { border-radius: 14px; background: #f7f8f9; }
.rrxb2b-account-page .woocommerce-orders-table tbody td { padding: 17px 14px !important; border-top: 1px solid var(--rrxb2b-line) !important; border-bottom: 1px solid var(--rrxb2b-line) !important; }
.rrxb2b-account-page .woocommerce-orders-table tbody td:first-child { border-left: 1px solid var(--rrxb2b-line) !important; border-radius: 14px 0 0 14px; }
.rrxb2b-account-page .woocommerce-orders-table tbody td:last-child { border-right: 1px solid var(--rrxb2b-line) !important; border-radius: 0 14px 14px 0; }
.rrxb2b-account-page .woocommerce-orders-table .button { min-height: 38px !important; margin: 3px !important; padding: 11px 13px !important; font-size: 9px !important; }
.rrxb2b-account-page .woocommerce-orders-table .rr-order-again { background: #101116 !important; color: #fff !important; }

/* Komunikaty i akcje na stronie zamówień */
.rrxb2b-account-page .woocommerce-MyAccount-content > .woocommerce-info {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  min-height: 82px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px 20px !important;
}
.rrxb2b-account-page .woocommerce-MyAccount-content > .woocommerce-info .button {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex !important;
  width: 210px;
  min-height: 48px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 18px !important;
  line-height: 1.15 !important;
  text-align: center;
}

/* Równe kafelki adresowe */
.rrxb2b-account-page .woocommerce-MyAccount-content > p:first-of-type { margin: 0 0 22px; }
.rrxb2b-account-page .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.rrxb2b-account-page .woocommerce-Addresses::before,
.rrxb2b-account-page .woocommerce-Addresses::after { display: none !important; }
.rrxb2b-account-page .woocommerce-Addresses .woocommerce-Address {
  float: none !important;
  display: grid;
  grid-template-rows: auto minmax(72px, 1fr) auto;
  width: 100% !important;
  min-height: 245px;
  padding: 27px !important;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 18px;
  background: #f8f9fa;
}
.rrxb2b-account-page .woocommerce-Address-title { display: contents; }
.rrxb2b-account-page .woocommerce-Address-title h2 {
  grid-row: 1;
  margin: 0 0 17px !important;
  color: #101116 !important;
  font: 900 24px/1.1 'Archivo', sans-serif !important;
}
.rrxb2b-account-page .woocommerce-Address address {
  grid-row: 2;
  margin: 0 0 22px;
  color: #727986;
  font-style: normal;
}
.rrxb2b-account-page .woocommerce-Address-title .edit {
  grid-row: 3;
  display: inline-flex;
  width: fit-content;
  min-width: 210px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0 18px;
  border-radius: 11px;
  background: var(--rrxb2b-lime);
  color: #101116 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

/* Dane firmy na formularzu konta */
.rrxb2b-company-fields {
  margin: 0 0 30px;
  padding: 25px;
  border: 1px solid var(--rrxb2b-line);
  border-radius: 18px;
  background: #f8f9fa;
}
.rrxb2b-company-fields__heading { margin-bottom: 20px; }
.rrxb2b-company-fields__heading span {
  display: block;
  margin-bottom: 7px;
  color: #7e9200;
  font: 700 10px 'JetBrains Mono', monospace;
  letter-spacing: .17em;
}
.rrxb2b-company-fields__heading h2 { margin: 0 0 7px !important; color: #101116 !important; font: 900 25px 'Archivo', sans-serif !important; text-transform: uppercase; }
.rrxb2b-company-fields__heading p { margin: 0; color: #727986; font-size: 13px; }
.rrxb2b-company-fields__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
.rrxb2b-company-fields__grid .form-row { float: none !important; width: 100% !important; margin: 0 0 15px !important; }
.rrxb2b-account-field-billing_company { grid-column: 1 / -1; }
.rrxb2b-account-page form.woocommerce-EditAccountForm input.input-text { min-height: 50px; border: 1px solid #d9dde2 !important; border-radius: 11px !important; background: #fff !important; }
.rrxb2b-account-page form.woocommerce-EditAccountForm button[type="submit"] { display: inline-flex !important; min-height: 50px !important; align-items: center; justify-content: center; padding: 0 24px !important; line-height: 1 !important; }

/* Logowanie i rejestracja partnera */
.rrxb2b-account-auth .woocommerce { display: block !important; }
.rr-account-auth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 26px;
  padding: clamp(38px, 5vw, 64px);
  border-radius: 30px;
  background: #101116;
  color: #fff;
}
.rr-account-auth-hero h1 { margin: 0 0 14px !important; color: #fff !important; font: 900 clamp(38px, 5vw, 70px)/.95 'Archivo', sans-serif !important; letter-spacing: -.055em; text-transform: uppercase; }
.rr-account-auth-hero p { max-width: 650px; margin: 0; color: #b6bac4; font-size: 17px; }
.rr-account-auth-hero > div:last-child { display: grid; gap: 10px; }
.rr-account-auth-hero > div:last-child strong { padding: 14px 17px; border-left: 3px solid var(--rrxb2b-lime); background: rgba(255,255,255,.06); color: #fff; font: 800 12px 'Archivo', sans-serif; letter-spacing: .06em; }
.rrxb2b-account-auth #customer_login { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 26px; }
.rrxb2b-account-auth #customer_login::before,
.rrxb2b-account-auth #customer_login::after { display: none; }
.rrxb2b-account-auth #customer_login > div { float: none !important; width: 100% !important; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--rrxb2b-line); border-radius: 22px; background: #fff; box-shadow: 0 16px 45px rgba(16,17,22,.05); }
.rrxb2b-account-auth #customer_login h2 { margin: 0 0 22px !important; color: #101116 !important; font: 900 29px 'Archivo', sans-serif !important; text-transform: uppercase; }
.rrxb2b-account-auth form.login,
.rrxb2b-account-auth form.register { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.rrxb2b-account-auth label { color: #343943; font-size: 12px; font-weight: 700; }
.rrxb2b-account-auth input.input-text { min-height: 51px; border: 1px solid #d9dde1 !important; border-radius: 11px !important; background: #fbfcfc !important; }
.rrxb2b-registration-intro { margin: 0 0 24px; padding: 22px; border: 0; border-radius: 15px; background: #f1f6d7; }
.rrxb2b-registration-intro > span { margin-bottom: 8px; color: #6e8000; }
.rrxb2b-registration-intro strong { display: block; color: #101116; font: 900 21px 'Archivo', sans-serif; text-transform: uppercase; }
.rrxb2b-registration-intro p { margin: 7px 0 0; color: #586200; font-size: 13px; }
.rrxb2b-registration-fields { margin: 25px 0; }
.rrxb2b-registration-fields h3 { margin: 0 0 5px !important; color: #101116 !important; font: 800 17px 'Archivo', sans-serif !important; text-transform: uppercase; }
.rrxb2b-registration-fields > p { margin: 0 0 18px; color: #7b818c; font-size: 12px; }
.rrxb2b-registration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; }
.rrxb2b-registration-grid .form-row { width: 100% !important; margin: 0 0 14px !important; }
.rrxb2b-field-billing_company,
.rrxb2b-field-billing_address_1 { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .rrxb2b-account-page.rrxb2b-logged-in article .woocommerce { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
  .rr-account-hero { grid-template-columns: 1fr; }
  .rr-account-hero::after { display: none; }
  .rr-account-hero__stats { max-width: 620px; }
  .rr-account-quick { grid-template-columns: 1fr; }
  .rr-account-quick a { min-height: 125px; }
}

@media (max-width: 760px) {
  .rrxb2b-account-page #primary > .content-container.site-container { width: calc(100% - 32px) !important; padding: 24px 0 72px !important; }
  .rrxb2b-account-page.rrxb2b-logged-in article .woocommerce { grid-template-columns: 1fr; }
  .rr-account-hero { min-height: 0; padding: 30px 23px; border-radius: 22px; }
  .rr-account-hero::before { right: -170px; bottom: -260px; opacity: .5; }
  .rr-account-hero > small { position: static; grid-column: 1; margin-top: -20px; }
  .rr-account-hero__stats { grid-template-columns: repeat(3, 1fr); }
  .rr-account-hero__stats > div { padding: 12px 10px; }
  .rr-account-hero__stats strong { font-size: 17px; }
  .rr-account-hero__stats span { font-size: 8px; }
  .rrxb2b-account-page .woocommerce-MyAccount-navigation { padding: 10px !important; }
  .rrxb2b-account-page .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .rrxb2b-account-page .woocommerce-MyAccount-navigation li { margin: 0; }
  .rrxb2b-account-page .woocommerce-MyAccount-navigation li:last-child { margin: 0; padding: 0; border: 0; }
  .rrxb2b-account-page .woocommerce-MyAccount-navigation li a { min-height: 45px; padding: 13px 30px 13px 12px !important; font-size: 11px; }
  .rrxb2b-account-page .woocommerce-MyAccount-content { padding: 22px 17px !important; }
  .rr-account-order-list article { grid-template-columns: repeat(2, 1fr); }
  .rr-account-order-list article > a { text-align: center; }
  .rrxb2b-account-page .woocommerce-MyAccount-content > .woocommerce-info { grid-template-columns: 1fr; }
  .rrxb2b-account-page .woocommerce-MyAccount-content > .woocommerce-info .button { grid-column: 1; width: 100%; }
  .rrxb2b-account-page .woocommerce-Addresses { grid-template-columns: 1fr; }
  .rrxb2b-account-page .woocommerce-Address-title .edit { width: 100%; }
  .rr-account-auth-hero,
  .rrxb2b-account-auth #customer_login { grid-template-columns: 1fr; }
  .rr-account-auth-hero { padding: 31px 23px; border-radius: 22px; }
}

@media (max-width: 520px) {
  .rr-account-hero__copy p { font-size: 14px; }
  .rr-account-hero__stats { margin: 2px -10px 0; }
  .rr-account-hero__stats strong { font-size: 15px; }
  .rrxb2b-account-page .woocommerce-MyAccount-navigation ul,
  .rrxb2b-registration-grid,
  .rrxb2b-company-fields__grid { grid-template-columns: 1fr; }
  .rrxb2b-field-billing_company,
  .rrxb2b-field-billing_address_1,
  .rrxb2b-account-field-billing_company { grid-column: auto; }
  .rr-account-section-title { align-items: flex-start; flex-direction: column; }
}

/* Koszyk B2B — klasyczny układ zgodny ze sklepem detalicznym */
.rrxb2b-cart-page .entry-hero,
.rrxb2b-cart-page .entry-hero-container,
.rrxb2b-cart-page .page-header { display: none !important; }

.rrxb2b-cart-page #primary,
.rrxb2b-cart-page .content-area {
  width: 100% !important;
  max-width: 1488px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.rrxb2b-cart-page #primary > .content-container.site-container {
  width: calc(100% - 48px) !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 48px 0 clamp(70px, 8vw, 120px) !important;
}

.rrxb2b-cart-page article,
.rrxb2b-cart-page .entry-content-wrap,
.rrxb2b-cart-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rrxb2b-cart-shell { width: 100%; }
.rrxb2b-cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
  padding: clamp(30px, 4.5vw, 58px);
  overflow: hidden;
  border-radius: 28px;
  background: #101116;
  color: #fff;
  box-shadow: 0 24px 65px rgba(16,17,22,.13);
}
.rrxb2b-cart-heading span {
  display: block;
  margin-bottom: 12px;
  color: var(--rrxb2b-lime);
  font: 700 11px 'JetBrains Mono', monospace;
  letter-spacing: .18em;
}
.rrxb2b-cart-heading h1 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font: 900 clamp(43px, 6vw, 78px)/.92 'Archivo', sans-serif !important;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.rrxb2b-cart-heading p { margin: 0; color: #b9bdc5; font-size: 15px; }
.rrxb2b-cart-heading > a {
  display: inline-flex;
  min-width: 210px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 12px;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rrxb2b-cart-heading > a:hover { border-color: var(--rrxb2b-lime); background: var(--rrxb2b-lime); color: #101116 !important; }

.rrxb2b-cart-content > .woocommerce { width: 100%; }
.rrxb2b-cart-content .woocommerce-notices-wrapper:empty { display: none; }
.rrxb2b-cart-content .wc-empty-cart-message {
  margin: 0;
  padding: clamp(55px, 8vw, 105px) 24px 22px;
  border: 1px solid var(--rrxb2b-line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: #fff;
  text-align: center;
}
.rrxb2b-cart-content .cart-empty.woocommerce-info {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #101116;
  font: 900 clamp(25px, 3vw, 38px)/1.1 'Archivo', sans-serif;
  text-transform: uppercase;
}
.rrxb2b-cart-content .cart-empty.woocommerce-info::before {
  position: static;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 0 auto 23px;
  border-radius: 50%;
  background: var(--rrxb2b-lime);
  color: #101116;
  content: '0';
  font: 900 24px 'Archivo', sans-serif;
}
.rrxb2b-cart-content .return-to-shop {
  margin: 0;
  padding: 10px 24px clamp(55px, 7vw, 90px);
  border: 1px solid var(--rrxb2b-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: #fff;
  text-align: center;
}
.rrxb2b-cart-content .return-to-shop .button {
  display: inline-flex !important;
  min-width: 210px;
  min-height: 52px !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
  padding: 0 24px !important;
  line-height: 1 !important;
  text-align: center;
}

.rrxb2b-cart-content .woocommerce-cart-form {
  float: left;
  width: calc(100% - 430px);
  margin: 0 24px 0 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--rrxb2b-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,17,22,.05);
}
.rrxb2b-cart-content table.shop_table.cart { margin: 0 !important; border: 0 !important; }
.rrxb2b-cart-content table.shop_table.cart thead { background: #f0f2f3; }
.rrxb2b-cart-content table.shop_table.cart thead tr { height: 42px; }
.rrxb2b-cart-content table.shop_table.cart thead th {
  height: 42px;
  padding: 0 12px !important;
  border: 0 !important;
  background: transparent !important;
  color: #888f9a;
  font: 700 10px/42px 'JetBrains Mono', monospace;
  letter-spacing: .09em;
  text-align: center !important;
  vertical-align: middle !important;
  text-transform: uppercase;
}
.rrxb2b-cart-content table.shop_table.cart thead th:first-child { border-radius: 8px 0 0 8px; }
.rrxb2b-cart-content table.shop_table.cart thead th:last-child { border-radius: 0 8px 8px 0; }
.rrxb2b-cart-content table.shop_table.cart tbody td { padding: 18px 12px !important; border-top: 1px solid var(--rrxb2b-line) !important; }
.rrxb2b-cart-content .product-thumbnail img { width: 88px !important; border: 1px solid var(--rrxb2b-line); border-radius: 13px; }
.rrxb2b-cart-content .product-name a { color: #101116 !important; font-weight: 800; }
.rrxb2b-cart-content .product-price,
.rrxb2b-cart-content .product-subtotal { color: #101116; font-weight: 800; }
.rrxb2b-cart-content .product-remove a.remove { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #f0f2f3; color: #101116 !important; font-size: 20px; }
.rrxb2b-cart-content .quantity .qty { width: 74px; min-height: 44px; border-radius: 10px; }
.rrxb2b-cart-content td.actions { padding: 22px 0 0 !important; }
.rrxb2b-cart-content .coupon { display: flex; gap: 8px; }
.rrxb2b-cart-content .coupon .input-text { min-width: 190px; min-height: 48px; margin: 0 !important; }
.rrxb2b-cart-content td.actions .button { min-height: 48px !important; padding: 0 18px !important; }

.rrxb2b-cart-content .cart-collaterals {
  float: right;
  width: 406px;
}
.rrxb2b-cart-content .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--rrxb2b-line);
  border-radius: 22px;
  background: #f7f8f9;
  box-shadow: 0 18px 50px rgba(16,17,22,.05);
}
.rrxb2b-cart-content .cart_totals h2 { margin: 0 0 18px !important; color: #101116 !important; font: 900 27px 'Archivo', sans-serif !important; text-transform: uppercase; }
.rrxb2b-cart-content .cart_totals table { margin: 0 0 20px !important; border: 0 !important; }
.rrxb2b-cart-content .cart_totals th,
.rrxb2b-cart-content .cart_totals td { padding: 14px 0 !important; border-top: 1px solid var(--rrxb2b-line) !important; }
.rrxb2b-cart-content .cart_totals td { text-align: right; }
.rrxb2b-cart-content .order-total strong { font-size: 20px; }
.rrxb2b-cart-content .wc-proceed-to-checkout { padding: 0 !important; }
.rrxb2b-cart-content .checkout-button {
  display: flex !important;
  width: 100%;
  min-height: 58px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 22px !important;
  background: var(--rrxb2b-lime) !important;
  color: #101116 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  text-align: center;
}
.rrxb2b-cart-content .woocommerce::after { display: table; clear: both; content: ''; }

@media (max-width: 980px) {
  .rrxb2b-cart-content .woocommerce-cart-form,
  .rrxb2b-cart-content .cart-collaterals { float: none; width: 100%; margin: 0 0 20px; }
}

@media (max-width: 760px) {
  .rrxb2b-cart-page #primary > .content-container.site-container { width: calc(100% - 32px) !important; padding: 24px 0 72px !important; }
  .rrxb2b-cart-heading { align-items: flex-start; flex-direction: column; padding: 29px 23px; border-radius: 22px; }
  .rrxb2b-cart-heading > a { width: 100%; }
  .rrxb2b-cart-heading p { font-size: 13px; }
  .rrxb2b-cart-content .woocommerce-cart-form { padding: 17px; }
  .rrxb2b-cart-content .coupon { align-items: stretch; flex-direction: column; }
  .rrxb2b-cart-content .coupon .input-text,
  .rrxb2b-cart-content .coupon .button,
  .rrxb2b-cart-content td.actions > .button { width: 100% !important; }
}

/* Kasa B2B — klasyczny checkout w układzie RIMREX */
.rrxb2b-checkout-page .entry-hero,
.rrxb2b-checkout-page .entry-hero-container,
.rrxb2b-checkout-page .page-header { display: none !important; }

.rrxb2b-checkout-page #primary,
.rrxb2b-checkout-page .content-area {
  width: 100% !important;
  max-width: 1488px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.rrxb2b-checkout-page #primary > .content-container.site-container {
  width: calc(100% - 48px) !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 48px 0 clamp(70px, 8vw, 120px) !important;
}

.rrxb2b-checkout-page article,
.rrxb2b-checkout-page .entry-content-wrap,
.rrxb2b-checkout-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rrxb2b-checkout-shell { width: 100%; }
.rrxb2b-checkout-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 50px;
  align-items: end;
  padding: clamp(30px, 4.5vw, 58px);
  overflow: hidden;
  border-radius: 28px;
  background: #101116;
  color: #fff;
  box-shadow: 0 24px 65px rgba(16,17,22,.13);
}
.rrxb2b-checkout-heading > div:first-child > span {
  display: block;
  margin-bottom: 12px;
  color: var(--rrxb2b-lime);
  font: 700 11px 'JetBrains Mono', monospace;
  letter-spacing: .18em;
}
.rrxb2b-checkout-heading h1 {
  max-width: 850px;
  margin: 0 0 12px !important;
  color: #fff !important;
  font: 900 clamp(38px, 5.5vw, 72px)/.94 'Archivo', sans-serif !important;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.rrxb2b-checkout-heading p { max-width: 720px; margin: 0; color: #b9bdc5; font-size: 15px; }
.rrxb2b-checkout-heading__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid rgba(255,255,255,.16); }
.rrxb2b-checkout-heading__meta strong { display: flex; min-height: 86px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.16); color: #fff; font: 900 20px 'Archivo', sans-serif; }
.rrxb2b-checkout-heading__meta small { color: #9398a3; font: 700 8px 'JetBrains Mono', monospace; letter-spacing: .08em; }
.rrxb2b-checkout-back { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; }
.rrxb2b-checkout-back a { color: #101116 !important; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.rrxb2b-checkout-back span { color: #737a86; font: 600 10px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }

.rrxb2b-checkout-content .woocommerce-notices-wrapper:empty { display: none; }
.rrxb2b-checkout-content form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 26px;
  align-items: start;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.rrxb2b-checkout-content #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--rrxb2b-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,17,22,.05);
}
.rrxb2b-checkout-content #customer_details::before { display: block; margin-bottom: 8px; color: #778a00; content: 'DANE PARTNERA'; font: 700 10px 'JetBrains Mono', monospace; letter-spacing: .17em; }
.rrxb2b-checkout-content #customer_details .col-1,
.rrxb2b-checkout-content #customer_details .col-2 { float: none !important; width: 100% !important; }
.rrxb2b-checkout-content #customer_details .col-2 { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--rrxb2b-line); }
.rrxb2b-checkout-content h3,
.rrxb2b-checkout-content #order_review_heading {
  margin: 0 0 22px !important;
  color: #101116 !important;
  font: 900 27px 'Archivo', sans-serif !important;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.rrxb2b-checkout-content .woocommerce-billing-fields__field-wrapper,
.rrxb2b-checkout-content .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.rrxb2b-checkout-content .form-row { float: none !important; width: 100% !important; margin: 0 0 16px !important; }
.rrxb2b-checkout-content .form-row-wide,
.rrxb2b-checkout-content .rrxb2b-checkout-company,
.rrxb2b-checkout-content .rrxb2b-checkout-nip,
.rrxb2b-checkout-content #billing_address_1_field,
.rrxb2b-checkout-content #billing_address_2_field { grid-column: 1 / -1; }
.rrxb2b-checkout-content label { margin-bottom: 7px; color: #3f4550; font-size: 12px; font-weight: 700; }
.rrxb2b-checkout-content label .required { color: #7e9200; }
.rrxb2b-checkout-content input.input-text,
.rrxb2b-checkout-content textarea,
.rrxb2b-checkout-content .select2-selection {
  min-height: 52px !important;
  border: 1px solid #d9dde2 !important;
  border-radius: 11px !important;
  background: #fbfcfc !important;
  box-shadow: none !important;
}
.rrxb2b-checkout-content input.input-text:focus,
.rrxb2b-checkout-content textarea:focus,
.rrxb2b-checkout-content .select2-container--open .select2-selection { border-color: #91b500 !important; background: #fff !important; }
.rrxb2b-checkout-content .select2-selection__rendered { line-height: 50px !important; }
.rrxb2b-checkout-content .select2-selection__arrow { height: 50px !important; }
.rrxb2b-checkout-content textarea { min-height: 112px !important; padding-top: 14px !important; resize: vertical; }
.rrxb2b-checkout-content #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding: 28px 30px 0;
  border: 1px solid var(--rrxb2b-line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: #f7f8f9;
}
.rrxb2b-checkout-content #order_review {
  position: sticky;
  top: 24px;
  grid-column: 2;
  grid-row: 2;
  padding: 18px 30px 30px;
  border: 1px solid var(--rrxb2b-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: #f7f8f9;
  box-shadow: 0 18px 50px rgba(16,17,22,.05);
}
.rrxb2b-checkout-content #order_review table { margin: 0 0 22px !important; border: 0 !important; background: transparent; }
.rrxb2b-checkout-content #order_review th,
.rrxb2b-checkout-content #order_review td { padding: 14px 0 !important; border-top: 1px solid var(--rrxb2b-line) !important; background: transparent !important; }
.rrxb2b-checkout-content #order_review td:last-child,
.rrxb2b-checkout-content #order_review th:last-child { text-align: right; }
.rrxb2b-checkout-content #order_review .order-total strong { font-size: 20px; }
.rrxb2b-checkout-content #payment { border-radius: 15px !important; background: #fff !important; }
.rrxb2b-checkout-content #payment ul.payment_methods { padding: 20px !important; border-bottom: 1px solid var(--rrxb2b-line) !important; }
.rrxb2b-checkout-content #payment .payment_box { border-radius: 10px; background: #f1f3f4 !important; color: #4f5661; }
.rrxb2b-checkout-content #payment .place-order { padding: 20px !important; }
.rrxb2b-checkout-content #place_order {
  display: flex !important;
  width: 100% !important;
  min-height: 60px !important;
  align-items: center;
  justify-content: center;
  margin: 14px 0 0 !important;
  padding: 0 20px !important;
  background: var(--rrxb2b-lime) !important;
  color: #101116 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  text-align: center;
}

@media (max-width: 1040px) {
  .rrxb2b-checkout-heading { grid-template-columns: 1fr; }
  .rrxb2b-checkout-heading__meta { max-width: 560px; }
  .rrxb2b-checkout-content form.checkout { grid-template-columns: 1fr 370px; }
}

@media (max-width: 820px) {
  .rrxb2b-checkout-content form.checkout { display: block; }
  .rrxb2b-checkout-content #customer_details { margin-bottom: 22px; }
  .rrxb2b-checkout-content #order_review_heading { border-bottom: 0; }
  .rrxb2b-checkout-content #order_review { position: static; }
}

@media (max-width: 760px) {
  .rrxb2b-checkout-page #primary > .content-container.site-container { width: calc(100% - 32px) !important; padding: 24px 0 72px !important; }
  .rrxb2b-checkout-heading { gap: 26px; padding: 29px 23px; border-radius: 22px; }
  .rrxb2b-checkout-heading p { font-size: 13px; }
  .rrxb2b-checkout-heading__meta { grid-template-columns: repeat(3, 1fr); width: 100%; border-left: 0; }
  .rrxb2b-checkout-heading__meta strong { min-height: 68px; padding: 0 8px; border-left: 1px solid rgba(255,255,255,.16); border-right: 0; font-size: 16px; }
  .rrxb2b-checkout-heading__meta small { font-size: 7px; }
  .rrxb2b-checkout-back { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 4px; }
  .rrxb2b-checkout-content #customer_details { padding: 23px 17px; }
  .rrxb2b-checkout-content .woocommerce-billing-fields__field-wrapper,
  .rrxb2b-checkout-content .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  .rrxb2b-checkout-content .form-row-wide,
  .rrxb2b-checkout-content .rrxb2b-checkout-company,
  .rrxb2b-checkout-content .rrxb2b-checkout-nip,
  .rrxb2b-checkout-content #billing_address_1_field,
  .rrxb2b-checkout-content #billing_address_2_field { grid-column: auto; }
  .rrxb2b-checkout-content #order_review_heading { padding: 24px 20px 0; }
  .rrxb2b-checkout-content #order_review { padding: 15px 20px 22px; }
  .rrxb2b-checkout-content #payment ul.payment_methods,
  .rrxb2b-checkout-content #payment .place-order { padding: 17px !important; }
}

/* Regulamin B2B */
.rrxb2b-terms-page .entry-hero,
.rrxb2b-terms-page .entry-hero-container,
.rrxb2b-terms-page .entry-header { display: none !important; }
.rrxb2b-terms-page #primary > .content-container.site-container {
  width: min(1380px, calc(100% - 48px)) !important;
  max-width: none !important;
  padding: 48px 0 90px !important;
}
.rrxb2b-terms-page .content-area,
.rrxb2b-terms-page .site-main,
.rrxb2b-terms-page article,
.rrxb2b-terms-page .entry-content-wrap,
.rrxb2b-terms-page .entry-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.rrxb2b-terms-shell { display: grid; gap: 22px; }
.rrxb2b-terms-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(38px, 5vw, 70px);
  overflow: hidden;
  border-radius: 30px;
  background: #101116;
  color: #fff;
  box-shadow: 0 30px 80px rgba(16,17,22,.14);
}
.rrxb2b-terms-hero > div:first-child > span {
  display: block;
  margin-bottom: 16px;
  color: var(--rrxb2b-lime);
  font: 700 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: .18em;
}
.rrxb2b-terms-hero h1 { margin: 0 0 14px !important; color: #fff !important; font: 900 clamp(42px, 6vw, 76px)/.94 'Archivo', sans-serif !important; letter-spacing: -.055em; text-transform: uppercase; }
.rrxb2b-terms-hero p { max-width: 700px; margin: 0; color: #b9bdc6; font-size: 17px; }
.rrxb2b-terms-meta { min-width: 245px; padding: 24px 26px; border-left: 3px solid var(--rrxb2b-lime); background: rgba(255,255,255,.06); }
.rrxb2b-terms-meta small { display: block; color: #aeb3bd; font: 700 9px/1.3 'JetBrains Mono', monospace; letter-spacing: .13em; }
.rrxb2b-terms-meta strong { display: block; margin: 9px 0 13px; color: #fff; font: 900 27px/1 'Archivo', sans-serif; }
.rrxb2b-terms-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 0 4px; }
.rrxb2b-terms-actions .rrxb2b-button--outline { border-color: #101116; color: #101116 !important; }
.rrxb2b-terms-document { padding: 18px; border: 1px solid var(--rrxb2b-line); border-radius: 24px; background: #f3f5f6; box-shadow: 0 18px 55px rgba(16,17,22,.06); }
.rrxb2b-terms-document object { display: block; width: 100%; height: min(1120px, 82vh); min-height: 720px; border: 0; border-radius: 14px; background: #fff; }
.rrxb2b-terms-document object p { padding: 40px; text-align: center; }

.rrxb2b-terms-consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 20px; padding: 16px 17px; border: 1px solid var(--rrxb2b-line); border-radius: 12px; background: #f7f8f9; color: #3e444f; font-size: 13px; line-height: 1.45; }
.rrxb2b-terms-consent input { width: 18px !important; height: 18px !important; flex: 0 0 18px; margin: 1px 0 0 !important; accent-color: var(--rrxb2b-lime); }
.rrxb2b-terms-consent a { color: #607200 !important; font-weight: 800; text-decoration: underline; }

@media (max-width: 760px) {
  .rrxb2b-terms-page #primary > .content-container.site-container { width: calc(100% - 32px) !important; padding: 26px 0 70px !important; }
  .rrxb2b-terms-hero { grid-template-columns: 1fr; gap: 26px; padding: 31px 23px; border-radius: 22px; }
  .rrxb2b-terms-meta { min-width: 0; }
  .rrxb2b-terms-actions { align-items: stretch; flex-direction: column; }
  .rrxb2b-terms-actions .rrxb2b-button { width: 100%; justify-content: center; }
  .rrxb2b-terms-document { padding: 8px; border-radius: 17px; }
  .rrxb2b-terms-document object { min-height: 620px; border-radius: 11px; }
}

/* Strony informacyjne B2B */
.rrxb2b-legal-page .entry-hero,
.rrxb2b-legal-page .entry-hero-container,
.rrxb2b-legal-page .entry-header { display: none !important; }
.rrxb2b-legal-page #primary > .content-container.site-container {
  width: min(1380px, calc(100% - 48px)) !important;
  max-width: none !important;
  padding: 48px 0 90px !important;
}
.rrxb2b-legal-page .content-area,
.rrxb2b-legal-page .site-main,
.rrxb2b-legal-page article,
.rrxb2b-legal-page .entry-content-wrap,
.rrxb2b-legal-page .entry-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.rrxb2b-legal-shell { display: grid; gap: 22px; color: #171a21; }
.rrxb2b-legal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
  border-radius: 30px;
  background: #101116;
  color: #fff;
  box-shadow: 0 30px 80px rgba(16,17,22,.14);
}
.rrxb2b-legal-hero::after {
  content: '';
  position: absolute;
  right: -115px;
  bottom: -175px;
  width: 410px;
  height: 410px;
  border: 62px solid var(--rrxb2b-lime);
  border-radius: 50%;
  opacity: .92;
}
.rrxb2b-legal-hero > * { position: relative; z-index: 1; }
.rrxb2b-legal-hero > div:first-child > span {
  display: block;
  margin-bottom: 16px;
  color: var(--rrxb2b-lime);
  font: 700 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: .18em;
}
.rrxb2b-legal-hero h1 { max-width: 930px; margin: 0 0 14px !important; color: #fff !important; font: 900 clamp(42px, 6vw, 76px)/.94 'Archivo', sans-serif !important; letter-spacing: -.055em; text-transform: uppercase; }
.rrxb2b-legal-hero p { max-width: 760px; margin: 0; color: #b9bdc6; font-size: 17px; line-height: 1.55; }
.rrxb2b-legal-hero__meta { min-width: 250px; padding: 25px 27px; border-left: 3px solid var(--rrxb2b-lime); background: rgba(16,17,22,.73); }
.rrxb2b-legal-hero__meta small { display: block; color: #aeb3bd; font: 700 9px/1.3 'JetBrains Mono', monospace; letter-spacing: .13em; }
.rrxb2b-legal-hero__meta strong { display: block; margin: 9px 0 13px; color: #fff; font: 900 26px/1 'Archivo', sans-serif; }
.rrxb2b-legal-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rrxb2b-line); border-radius: 24px; overflow: hidden; background: #fff; }
.rrxb2b-legal-highlights > div { min-height: 150px; padding: 28px 30px; border-right: 1px solid var(--rrxb2b-line); }
.rrxb2b-legal-highlights > div:last-child { border-right: 0; }
.rrxb2b-legal-highlights small { display: block; margin-bottom: 18px; color: #759000; font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .12em; }
.rrxb2b-legal-highlights strong { display: block; margin-bottom: 7px; font: 900 22px/1.05 'Archivo', sans-serif; text-transform: uppercase; }
.rrxb2b-legal-highlights span { display: block; max-width: 340px; color: #6c7280; font-size: 14px; line-height: 1.5; }
.rrxb2b-legal-sections { display: grid; gap: 14px; }
.rrxb2b-legal-section { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 26px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--rrxb2b-line); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(16,17,22,.035); }
.rrxb2b-legal-number { color: #789300; font: 700 12px/1 'JetBrains Mono', monospace; letter-spacing: .12em; }
.rrxb2b-legal-section h2 { margin: -4px 0 16px !important; color: #171a21 !important; font: 900 clamp(24px, 3vw, 36px)/1 'Archivo', sans-serif !important; letter-spacing: -.035em; text-transform: uppercase; }
.rrxb2b-legal-section p { max-width: 1020px; margin: 0 0 13px; color: #515866; font-size: 16px; line-height: 1.68; }
.rrxb2b-legal-section p:last-child { margin-bottom: 0; }
.rrxb2b-legal-section ul { max-width: 1020px; margin: 8px 0 15px; padding: 0; list-style: none; }
.rrxb2b-legal-section li { position: relative; margin: 0 0 8px; padding-left: 23px; color: #515866; font-size: 15px; line-height: 1.58; }
.rrxb2b-legal-section li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #789300; font-weight: 900; }
.rrxb2b-legal-section a { color: #607400 !important; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .rrxb2b-legal-hero { grid-template-columns: 1fr; }
  .rrxb2b-legal-hero__meta { width: min(100%, 350px); min-width: 0; }
  .rrxb2b-legal-highlights { grid-template-columns: 1fr; }
  .rrxb2b-legal-highlights > div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--rrxb2b-line); }
  .rrxb2b-legal-highlights > div:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .rrxb2b-legal-page #primary > .content-container.site-container { width: calc(100% - 32px) !important; padding: 26px 0 70px !important; }
  .rrxb2b-legal-hero { gap: 26px; padding: 32px 23px; border-radius: 22px; }
  .rrxb2b-legal-hero::after { right: -195px; bottom: -220px; }
  .rrxb2b-legal-hero h1 { font-size: clamp(38px, 13vw, 58px) !important; }
  .rrxb2b-legal-highlights { border-radius: 18px; }
  .rrxb2b-legal-highlights > div { padding: 24px; }
  .rrxb2b-legal-section { grid-template-columns: 1fr; gap: 13px; padding: 26px 23px; border-radius: 18px; }
  .rrxb2b-legal-section h2 { font-size: 27px !important; }
  .rrxb2b-legal-section p { font-size: 15px; }
}
