/* Default */
.b2b-h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}
.b2b-h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.b2b-h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.b2b-p22 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}
.b2b-p20 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}
.b2b-p18 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}
.b2b-p16 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.b2b-p14 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* ---- Page ---- */
.b2b-page {
  max-width: 1420px;
  margin: 0 auto;
  padding: 40px 15px 80px;
}
.b2b-page h1 {
  margin-bottom: 30px;
}
.b2b-user,
.b2b-account,
.b2b-delivery-address {
  margin: 0 0 30px;
}
.b2b-notice {
  color: var(--fs-color-primary);
  margin-bottom: 10px;
}
.b2b-debug {
  max-height: 400px;
  overflow: auto;
  font-size: 12px;
}

/* ---- Company data / account manager ---- */
.user-table-row {
  display: flex;
}
.user-table-label {
  width: 140px;
  flex-shrink: 0;
}
.user-table-value a {
  color: var(--fs-color-primary);
  font-weight: 400;
}

/* ---- Delivery address ---- */
.b2b-delivery-address {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.b2b-delivery-address__label {
  font-weight: 400;
  margin-bottom: 0px;
}
.b2b-delivery-address__select {
  max-width: 600px;
  margin-bottom: 5px;
}
.b2b-delivery-address__status {
  display: block;
  min-height: 1.5em;
  font-size: 0.9em;
}
.b2b-delivery-address__single {
  font-weight: 600;
}
.b2b-delivery-and-surcharge {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #9d9d9d;
  margin-bottom: 30px;
}
/* ---- Search ---- */
.b2b-search {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 454px;
  margin: 0 0 30px;
  flex-wrap: wrap;
}
.b2b-search input[type="search"] {
  flex: 1;
  margin: 0;
  border-radius: 6px;
  border-color: #585858;
  box-shadow: none;
  height: 60px;
}
.b2b-search-title {
  flex-basis: 100%;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.b2b-search__clear {
  margin: 0;
}
.b2b-search__clear[hidden] {
  display: none;
}
/* ---- Product table ---- */
.b2b-products-row {
  display: grid;
  grid-template-columns:
    70px 130px 90px minmax(180px, 1fr)
    90px 70px 80px 50px 100px 180px;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #9d9d9d;
}
.b2b-products-row[hidden] {
  display: none;
}
.b2b-products-header,
.b2b-cart__head {
  font-size: 16px;
  font-weight: 400;
  background-color: #f2f2f2;
  border-bottom: 0;
}
.b2b-product-image img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 1px solid #ddd;
}
.b2b-products-row.b2b-products-item .b2b-product-price,
.b2b-products-row.b2b-products-item .b2b-product-title {
  font-weight: 600;
}
.b2b-product-price {
  text-align: right;
}
/* Price with surcharge on top, ERP price without it underneath */
.b2b-price {
  display: block;
}
.b2b-price.b2b-price--base span.amount {
  font-weight: 400;
  color: #585858;
}
/* Dod. rabat cell: Discount2, Discount3 underneath when set */
.b2b-discount {
  display: block;
}
.b2b-price--base {
  font-size: 0.85em;
  font-weight: 400;
  color: #9d9d9d;
}
.b2b-products-table-cell.b2b-product-atc .b2b-atc {
  justify-content: flex-end;
}

/* ---- Quantity + add to cart ---- */
input[type="number"].b2b-qty__input {
  height: 35px;
  box-shadow: none;
  border-color: #000;
  border-left: 0;
  border-right: 0;
  font-size: 18px;
  width: 40px;
  padding: 0;
  background: #f2f2f2;
}
/* Firefox */
input[type="number"].b2b-qty__input {
  -moz-appearance: textfield;
}
.b2b-atc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
}
.b2b-qty {
  display: inline-flex;
}
.b2b-qty__btn {
  min-width: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
  height: 35px;
  min-height: unset;
  font-size: 16px;
  line-height: 1;
}
.b2b-qty__btn:not(.icon) {
  border-radius: 6px !important;
}
.b2b-qty__btn.b2b-qty__btn-minus {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.b2b-qty__btn.b2b-qty__btn-plus {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}
.b2b-qty__input {
  width: 64px;
  margin: 0;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.b2b-qty__input::-webkit-outer-spin-button,
.b2b-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.b2b-atc__button {
  margin: 0;
}
.b2b-atc__in-cart,
.b2b-atc__message {
  width: 100%;
  font-size: 0.85em;
}
.b2b-atc__in-cart {
  color: #2e7d32;
}
.b2b-atc__in-cart[hidden] {
  display: none;
}
.b2b-atc__message.is-error {
  color: #b20000;
}

.button.primary.b2b-atc__button {
  background: #02a91c;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 35px;
  min-height: unset;
}

/* ---- Cards on narrow screens ---- */
@media (max-width: 1100px) {
  .b2b-products-header {
    display: none;
  }
  .b2b-products-item {
    grid-template-columns: 70px 1fr;
    gap: 4px 12px;
  }
  .b2b-products-item .b2b-products-table-cell {
    grid-column: 2;
    text-align: left;
  }
  .b2b-products-item .b2b-product-image {
    grid-column: 1;
    grid-row: 1 / span 8;
    align-self: start;
  }
  .b2b-products-item .b2b-product-title {
    order: -1;
    font-weight: 600;
  }
  .b2b-products-item [data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 600;
  }
  .b2b-products-item .b2b-product-atc {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

/* ---- Sticky cart (basic layout only) ---- */
.b2b-page [hidden] {
  display: none !important;
}
.b2b-page {
  padding-bottom: 160px; /* room for the sticky cart */
}
.b2b-cart {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: #fff;
  border-top: 0;
  box-shadow: 0px -10px 20px 0px #00000026;
}
.b2b-cart__header,
.b2b-cart__body {
  max-width: 1420px;
  margin: 0 auto;
  padding: 10px 15px;
}
.b2b-cart__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  border-bottom: 1px solid #000000;
}
.b2b-cart__checkout {
  margin: 0 0 0 auto;
}
.b2b-cart__checkout[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.b2b-cart__toggle {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
a.b2b-back-to-order-link {
  position: absolute;
  top: 25px;
  right: 30px;
  color: #02a91c;
  font-size: 16px;
  text-decoration: underline;
  font-weight: 500;
}
/* Flip only the arrow, so the item count stays readable */
.b2b-cart__toggle[aria-expanded="true"] svg {
  transform: rotateX(180deg);
}
.b2b-cart__count {
  position: absolute;
  top: -7px;
  right: -10px;
  font-size: 12px;
  letter-spacing: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #009cde;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.b2b-cart__message {
  width: 100%;
  margin: 0;
}

/* ---- Surcharge tooltip next to the cart total ---- */
/* Shared tooltip (template-parts/b2b/tooltip.php, surcharge-notice.php). Opens upwards; .b2b-tip--down opens downwards. */
.b2b-tip {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.b2b-tip__icon {
  width: 21px;
  height: 21px;
  min-height: 0;
  margin: 0 6px 0 0px;
  padding: 0;
  border: 1.5px solid var(--fs-color-primary);
  border-radius: 50%;
  background: transparent;
  color: var(--fs-color-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: help;
  transform: translateY(-3px);
}
.b2b-tip__text {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 1;
  width: 280px;
  padding: 10px 12px;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #9d9d9d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s;
}
.b2b-tip--down .b2b-tip__text {
  bottom: calc(100% + 10px);
  text-align: center;
}
.b2b-tip:hover .b2b-tip__text,
.b2b-tip:focus-within .b2b-tip__text {
  visibility: visible;
  opacity: 1;
}
.b2b-products-table-cell .b2b-tip button {
  width: 16px;
  height: 16px;
  border: 1px solid #9d9d9d;
  color: #9d9d9d;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 0 4px;
}

.b2b-cart__message:empty {
  display: none;
}
.b2b-cart__body {
  max-height: 270px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 0;
}
.b2b-cart__row {
  display: grid;
  /* Naziv, EAN, Šifra, VPC, Rabat, Dod. rabat, Cena, remove, quantity */
  grid-template-columns:
    minmax(160px, 1fr)
    130px 90px 90px 70px 80px 110px 40px 105px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.b2b-cart__cell {
  white-space: nowrap;
}
.b2b-cart__vpc,
.b2b-cart__line-total {
  text-align: right;
}
/* Header row stays visible while the cart body scrolls */
.b2b-cart__head {
  position: sticky;
  top: 0;
  z-index: 1;
}
.b2b-cart__head .b2b-cart__title {
  font-size: inherit;
  font-weight: inherit;
}
.b2b-cart__delivery,
.b2b-cart__total {
  font-size: 24px;
}
.b2b-cart__delivery {
  margin-right: auto;
}
a.button.b2b-cart__checkout {
  margin: 0;
  font-size: 20px !important;
  text-transform: unset;
  font-weight: 400 !important;
  background: #02a91c;
}
button.b2b-cart__remove {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-self: flex-end;
}
.b2b-cart__title {
  font-weight: 500;
  font-size: 18px;
}
.b2b-cart__row span.amount {
  font-weight: 400;
}
@media (max-width: 1100px) {
  .b2b-cart__head {
    display: none;
  }
  .b2b-cart__row {
    grid-template-columns: 1fr 1fr;
  }
  .b2b-cart__row .b2b-cart__cell {
    text-align: left;
  }
  /* No header row on narrow screens: label each value instead */
  .b2b-cart__row [data-label]::before {
    content: attr(data-label) ": ";
    color: #9d9d9d;
  }
}

/* ---- Checkout (basic layout only) ---- */
.b2b-checkout-billing,
.b2b-checkout-delivery,
.b2b-checkout__note {
  margin: 0 0 30px;
}
.b2b-notice--error {
  border-left-color: #b20000;
}
.b2b-checkout-delivery__option {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 400;
}
.b2b-checkout-delivery__option input {
  margin: 0;
}
.b2b-review .product-quantity,
.b2b-review .product-total,
.b2b-review tfoot td {
  text-align: right;
}
.b2b-review tfoot th {
  font-weight: 400;
}
.b2b-checkout .b2b-surcharge {
  margin: 0 0 20px;
}
form.checkout.woocommerce-checkout h3 {
  font-size: 24px;
  font-weight: 600;
  overflow: hidden;
  padding-top: 0;
  text-transform: unset;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ececec;
}
form.checkout.woocommerce-checkout #order_review_heading {
  border-bottom: 0;
  padding-bottom: 0;
  text-transform: uppercase;
}
.shop_table thead th {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid #585858 !important;
}
.shop_table .cart_item td.product-name {
  font-weight: 500;
}
.shop_table td {
  color: #000;
}
.shop_table span.amount {
  font-weight: 500;
}
.shop_table tbody tr:last-child td {
  border-color: #585858 !important;
}
form.checkout.woocommerce-checkout .shop_table tfoot th,
form.checkout.woocommerce-checkout .shop_table tfoot td {
  font-size: 16px;
  border-color: transparent;
}
.shop_table tfoot tr.b2b-review__surcharge th,
.shop_table tfoot tr.b2b-review__surcharge td,
.shop_table tfoot tr.b2b-review__surcharge td span.amount {
  padding-bottom: 0;
  color: var(--fs-color-primary);
}
.shop_table tfoot tr.b2b-review__net th,
.shop_table tfoot tr.b2b-review__net td,
.shop_table tfoot tr.b2b-review__net td span.amount {
  font-size: 24px !important;
  font-weight: 600;
}
form.checkout.woocommerce-checkout .shop_table tfoot tr.cart-subtotal th,
form.checkout.woocommerce-checkout .shop_table tfoot tr.cart-subtotal td {
  border-color: #585858;
}
form.checkout.woocommerce-checkout .shop_table tfoot tr.b2b-review__net th,
form.checkout.woocommerce-checkout .shop_table tfoot tr.b2b-review__net td,
form.checkout.woocommerce-checkout .shop_table tfoot tr.tax-total th,
form.checkout.woocommerce-checkout .shop_table tfoot tr.tax-total td,
form.checkout.woocommerce-checkout .shop_table tfoot tr.b2b-review__delivery th,
form.checkout.woocommerce-checkout
  .shop_table
  tfoot
  tr.b2b-review__delivery
  td {
  padding-bottom: 0;
}
form.checkout.woocommerce-checkout .shop_table tfoot tr.b2b-review__shipping th,
form.checkout.woocommerce-checkout
  .shop_table
  tfoot
  tr.b2b-review__shipping
  td {
  border-color: #585858;
}
form.checkout button#place_order {
  background: #02a91c;
  font-weight: 600;
  font-size: 20px;
  text-transform: unset;
  letter-spacing: 0;
}
form.checkout .b2b-checkout__payment-title {
  display: none;
}

/* ---- My account (basic layout only) ---- */
.b2b-myaccount [hidden] {
  display: none !important;
}
.b2b-myaccount h1 {
  margin-bottom: 30px;
}
.b2b-myaccount__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 0 40px;
}
.b2b-myaccount__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.b2b-myaccount__buttons .button {
  margin: 0;
}
@media (max-width: 849px) {
  .b2b-myaccount__columns {
    grid-template-columns: 1fr;
  }
}

/* Previous orders: accordion; the product table reuses the ordering table styles */
.b2b-order {
  border-bottom: 1px solid #9d9d9d;
}
.b2b-order__summary {
  gap: 6px 10px;
  padding: 12px 30px 12px 20px;
  position: relative;
  cursor: pointer;
  list-style: none;
  background: #f2f2f2;
  color: #000;
  display: grid;
  grid-template-columns: 120px 170px 190px 245px auto;
}
.b2b-order__summary::-webkit-details-marker {
  display: none;
}
.b2b-order__summary::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  font-size: 12px;
  width: 16px;
  height: 16px;
  background-image: url(/wp-content/uploads/2026/10/icon-arrow-down.png);
  background-size: 16px;
  object-fit: contain;
  transform: rotate(0deg);
}
.b2b-order[open] > .b2b-order__summary::after {
  transform: rotate(0deg);
}
.b2b-order__label {
  color: #000;
  font-weight: 400;
}
.b2b-order__field {
  font-weight: 500;
}
.b2b-order__field-order-number {
  font-weight: 600;
}
.b2b-order__body {
  padding: 0 0 20px;
}
.b2b-order__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 30px;
  padding-top: 12px;
  font-size: 20px;
}
.b2b-order__total {
  font-weight: 600;
}
.b2b-product-qty {
  text-align: right;
}
@media (min-width: 1101px) {
  /* image, EAN, Šifra, Naziv, VPC, Rabat, Dod. rabat, MC, Količina, Znesek */
  .b2b-products-row.b2b-order__row {
    grid-template-columns:
      70px 130px 90px minmax(180px, 1fr)
      90px 70px 80px 50px 80px 120px;
  }
}
.b2b-orders__more {
  margin: 20px 0 0;
}
.b2b-orders__message:empty {
  display: none;
}
.b2b-myaccount h3,
#b2b-orders-title {
  font-size: 24px;
  font-weight: 600;
  overflow: hidden;
  text-transform: unset;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ececec;
}
#main .b2b-myaccount__buttons a.button.b2b-account-previous-orders,
#main .b2b-thankyou__buttons a.button.b2b-thankyou__details {
  font-size: 18px;
  padding: 11px 35px;
  min-height: unset;
  line-height: 1;
  width: auto;
  text-transform: none;
  background: #fff;
  border: 1px solid var(--fs-color-primary);
  color: var(--fs-color-primary);
}
#main .b2b-myaccount__buttons a.button.b2b-account-new-order,
#main .b2b-thankyou__buttons a.button.b2b-thankyou__new-order {
  font-size: 18px;
  padding: 11px 35px;
  min-height: unset;
  line-height: 1;
  width: auto;
  text-transform: none;
}
.b2b-products-header {
  background-color: #fff;
  border-bottom: 1px solid #9d9d9d;
}

/* ---- Support page (basic layout only) ---- */
.b2b-page.b2b-support {
  padding-bottom: 80px; /* no sticky cart here */
}
.b2b-support-product {
  padding: 20px 0;
}
.b2b-support-product__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  background: #f2f2f2;
  padding: 20px 20px 15px;
}
.b2b-support-product__image {
  flex-shrink: 0;
}
.b2b-support-product__image img {
  display: block;
  width: 100px;
  height: 80px;
  object-fit: contain;
  background: #fff;
}
.b2b-support-product__info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  flex-direction: column;
}
.b2b-support-product__title {
  margin: 0;
}
.b2b-support-category {
  border-bottom: 1px solid #9d9d9d;
}
.b2b-support-category__summary {
  cursor: pointer;
  padding: 20px 50px 20px 20px;
  line-height: 1;
  font-weight: 500;
  position: relative;
}
.b2b-support-category__files {
  margin: 0;
  padding: 0px 0 10px 20px;
}
.b2b-support-category__file > a {
  font-size: 18px;
  color: var(--fs-color-primary);
  font-weight: 400;
  text-decoration: underline;
  line-height: 1.5;
}
.b2b-support-category__summary::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  font-size: 12px;
  width: 32px;
  height: 32px;
  background-image: url(/wp-content/uploads/2026/10/icon-arrow-down-3.svg);
  background-size: 32px;
  object-fit: contain;
  transform: rotate(0deg);
}
.b2b-support-category__summary[open]::after {
  transform: rotate(0deg);
}
/* ---- Thank you page (basic layout only; buttons share the My account button styles above) ---- */
.b2b-thankyou {
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
}
.b2b-thankyou__logo {
  display: inline-block;
  margin: 0 0 30px;
}
.b2b-thankyou__logo img {
  display: block;
  max-width: 240px;
  height: auto;
}
.b2b-thankyou__message {
  margin: 0 0 30px;
}
.b2b-thankyou__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.b2b-thankyou__buttons .button {
  margin: 0;
}

/* ---- Login + lost password (basic layout only) ---- */
.b2b-login {
  margin: 40px 0;
}
.b2b-login h1,
.b2b-login__form {
  max-width: 460px;
  margin: 0 auto 30px;
}
.b2b-login__form label {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.b2b-login__form input.woocommerce-Input {
  border: 1px solid #585858;
  box-shadow: none;
  border-radius: 6px;
  height: 60px;
}
.woocommerce-form-login .button {
  margin-bottom: 0;
  font-size: 20px;
  text-transform: none;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 40px;
  line-height: 1;
}
.b2b-login__form .button {
  margin: 0;
}
.b2b-login__content {
  margin-top: 40px;
}
.woocommerce-order.b2b-thankyou > svg {
  display: block;
  margin: 25px auto 15px;
}
.b2b-myaccount__link {
  display: flex;
  align-items: center;
  background: #f2f2f2;
  border-radius: 99px;
  padding: 0 45px 0 0;
  margin-bottom: 12px;
  position: relative;
}
.b2b-myaccount__link img {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
  border-radius: 60px;
  margin-right: 20px;
}

.b2b-myaccount__link svg {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.b2b-login__content_support img {
  margin: 30px auto 20px;
}
.b2b-login__content_support p {
  margin-top: 15px;
}
#footer {
  background: #f2f2f2;
  padding: 70px 0;
}
.b2b-footer-links {
  max-width: 1420px;
  margin: auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #9d9d9d;
  padding-bottom: 70px;
}
.b2b-footer-link__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 40px;
}
.b2b-footer-link,
.b2b-footer-link__contact,
.b2b-footer-link__contact a {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.b2b-footer-link__contact a svg {
  margin-right: 6px;
}
.b2b-footer-link__divider {
  color: #9d9d9d;
}

/* ---- Header (basic layout only; rows in template-parts/header/header-top.php, header-main.php) ---- */
/* Top bar wraps on small screens instead of hiding the menu */
#top-bar .flex-row {
  flex-wrap: wrap;
}
.b2b-header-contact .icon-envelop,
.b2b-header-contact .icon-phone {
  margin-right: 5px;
}
/* Account icon: the company's first letter in a circle */
.b2b-header-account__initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #000;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #000;
  font-size: 19px;
}
/* Cart icon with the number of pieces as a badge */
.b2b-header-cart__link {
  position: relative;
}
.b2b-header-cart__count {
  position: absolute;
  top: -1px;
  right: -11px;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 10px;
  background: #009cde;
  color: #fff;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
/* Language switcher: globe + current code; the dropdown only lists codes, so no wide min-width */
.b2b-header-lang__toggle {
  gap: 6px;
  cursor: pointer;
  flex-wrap: nowrap !important;
}
.header-main .nav > li > a {
  line-height: 1 !important;
}
.header-main .nav-dropdown-default {
  padding: 10px;
}
.b2b-header-lang .nav-dropdown {
  min-width: 0;
}
.nav > li.header-button > a {
  color: #585858;
  font-weight: 600;
  background: #fff;
  padding: 5px 27px;
  border-radius: 99px;
  border: 1px solid var(--fs-color-primary);
}
.b2b-header-contact__email > a,
.b2b-header-contact__phone > a {
  gap: 5px;
}
#masthead .header-inner .header-nav.nav-right {
  width: fit-content !important;
  justify-content: space-around !important;
  flex-wrap: nowrap;
  gap: 30px;
}
#top-bar .flex-row,
#masthead .flex-row {
  padding-left: 30px;
  padding-right: 30px;
}
.woocommerce-checkout #customer_details input[type="radio"] {
  accent-color: var(--fs-color-primary) !important;
}
