.bf-buybtn {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 90%;
  padding: 0 12px;
  margin: 0px auto;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0;
  font-weight: 600;
  border: none;
  font-family: "Spartan", Arial, "Microsoft Yahei", sans-serif !important;
}

.bf-buybtn.bf-red {
  padding-top: 2px;
  min-width: 166px;
  height: 35px;
  background: #FF004E;
}

.bf-buybtn.bf-red:hover {
  background: linear-gradient(282deg, #FF004E 0%, #FF0090 100%);
}

.bf-buybtn.bf-yellow {
  padding-top: 2px;
  min-width: 246px;
  height: 46px;
  color: #18191E;
  font-size: 18px;
  font-weight: 700;
  outline: 1px solid rgba(255, 119, 0, 0.2);
  background: linear-gradient(96deg, #FFEE7E 0%, #FFEE7E 100%);
}

.bf-buybtn.bf-yellow:hover {
  background: linear-gradient(96deg, #FFF5B7 0%, #FFE250 100%);
}

.nav-bf-icon {
  position: relative;
  z-index: 1;
  margin-right: 0;
  cursor: default;
}

.nav-bf-icon > a {
  display: block;
  position: relative;
  z-index: 1;
}

.nav-bf-icon > a:hover {
  transition: all 0.3s ease;
}

.nav-bf-icon > a:hover .open-icon {
  display: none !important;
}

.nav-bf-icon > a:hover .open-icon.open-hover {
  display: inline-block !important;
}

.nav-bf-icon img {
  display: inline-block;
  vertical-align: top;
  pointer-events: none;
  width: auto;
  max-width: none;
  height: auto;
}

.nav-bf-icon .open-icon {
  display: inline-block !important;
}

.nav-bf-icon .open-icon.open-hover {
  display: none !important;
}

.bf-popup-svg {
  display: block;
  pointer-events: none;
  width: 11px;
  height: 11px;
}

.bf-popup-svg path {
  fill: rgba(148, 148, 148, 0.58) !important;
}

.bf-popup-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.bf-popup-close:hover .bf-popup-svg path {
  fill: #8A8A8A !important;
}

.bf-top-popup {
  position: absolute;
  right: 0;
  top: 0px;
  left: 0;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  z-index: -9999;
  transition: all 0.5s ease-out;
  max-width: 1920px;
  height: 67px;
  width: 100%;
  transform: translateY(-100%);
}

.bf-top-popup.bf-on {
  visibility: visible;
  opacity: 1;
  z-index: 199;
  transform: translateY(0%);
}

.bf-top-popup .bf-top-contaniner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1200px;
  height: inherit;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: end;
}

.bf-top-popup .bf-buybtn {
  margin: 22px 0 0;
}

.bf-top-popup .bf-top-close {
  right: 16px;
  top: 22px;
}

.bf-top-popup > img {
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.bf-right-popup {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  width: 222px;
  height: 238px;
  position: fixed;
  right: 1%;
  bottom: 3%;
  opacity: 0;
  visibility: hidden;
  z-index: -9999;
  transform: translateY(110%);
  transition: all 0.5s ease-out;
}

.bf-right-popup.bf-on {
  visibility: visible;
  opacity: 1;
  z-index: 9999;
  transform: translateY(0);
}

.bf-right-popup > img {
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 222px;
  height: 238px;
  max-width: none;
}

.bf-right-popup .bf-right-close {
  right: 0;
  top: 46px;
}

.bf-right-popup .bf-buybtn {
  margin-bottom: 22px;
}

.bf-right-popup .bf-right-number {
  position: absolute;
  top: 140px;
  left: 39px;
  z-index: 9;
  text-align: center;
}

.bf-right-popup .bf-right-number .box-item {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 22px;
  font-size: 20px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  position: relative;
  writing-mode: vertical-lr;
  text-orientation: upright;
  overflow: hidden;
  font-family: "Spartan", Arial, "Microsoft Yahei", sans-serif !important;
  margin: 0 -6px;
}

.bf-right-popup .bf-right-number .box-item em {
  display: inline-block;
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translate(-50%, 0);
  transition: transform 1s ease;
  font: inherit;
  font-style: normal;
  color: #FF004E;
}

.bf-pop-wrap {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  transform: scale(0);
  transition: all .3s ease;
  transform-origin: center center;
  z-index: -99998;
}

.bf-pop-wrap.bf-on {
  transform: scale(1);
  z-index: 99998;
}

.bf-pop-wrap .bf-center-popup {
  position: fixed;
  width: 597px;
  min-height: 238px;
  text-align: center;
  box-sizing: border-box;
  margin: auto;
  z-index: 100000;
  transition: all 0.5s;
  background: none;
  top: 30%;
  left: 0;
  right: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.bf-pop-wrap .bf-center-popup > img {
  display: inline-block;
  vertical-align: top;
  z-index: 2;
  flex-shrink: 0;
  margin: auto;
  width: auto;
  max-width: none;
}

.bf-pop-wrap .bf-center-popup .bf-buybtn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-shrink: 0;
}

.bf-pop-wrap .bf-center-popup .bf-popup-close {
  top: 5px;
  right: 5px;
  flex-shrink: 0;
}

.bf-pop-wrap .bf-center-popup .bf-popup-close:hover .bf-popup-svg path {
  fill: #fff !important;
}

.bf-pop-wrap .bf-center-popup .bf-popup-svg path {
  fill: rgba(255, 255, 255, 0.58) !important;
}
