/* ============================== B2B PROMO ============================== */

/* ------------------------------- bars --------------------------------- */
.b2bpromo-bar {
  position: relative;
  width: 100%;
  z-index: 1040;
  font-size: 15px;
  line-height: 1.4;
}
.b2bpromo-bar--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}
.b2bpromo-bar__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px 44px 9px 16px;
  text-align: center;
}
.b2bpromo-bar__inner p { margin: 0; display: inline; }
.b2bpromo-bar__close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .75;
  padding: 4px 8px;
}
.b2bpromo-bar__close:hover { opacity: 1; }

/* button + countdown (shared by bars and popups) */
.b2bpromo-btn {
  display: inline-block;
  margin: 0 6px;
  padding: 4px 14px;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  vertical-align: baseline;
  transition: filter .15s;
}
.b2bpromo-btn:hover { filter: brightness(.92); text-decoration: none; }
.b2bpromo-counter { white-space: nowrap; }
.b2bpromo-counter .bpc-num {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-style: normal;
  font-weight: 700;
}
.b2bpromo-counter i { font-style: normal; opacity: .9; margin: 0 6px 0 2px; }

/* ------------------------------ popups -------------------------------- */
.b2bpromo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.b2bpromo-popup {
  position: relative;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  animation: b2bpromoIn .22s ease-out;
}
@keyframes b2bpromoIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.b2bpromo-popup__close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.b2bpromo-popup__close:hover { background: rgba(0, 0, 0, .8); }
.b2bpromo-popup__body { padding: 24px; }
.b2bpromo-popup__img { width: 100%; height: auto; display: block; border-radius: 6px 6px 0 0; }
.b2bpromo-popup--image { background: transparent; box-shadow: none; overflow: visible; }
.b2bpromo-popup--image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

/* -------------------------- device switches --------------------------- */
@media (min-width: 768px) {
  .b2bpromo-hide-desktop { display: none !important; }
}
@media (max-width: 767.98px) {
  .b2bpromo-hide-mobile { display: none !important; }
  .b2bpromo-bar { font-size: 13px; }
  .b2bpromo-bar__inner { padding: 7px 38px 7px 10px; }
  .b2bpromo-popup__body { padding: 16px; }
}
