.payment-option.payment-option-hero{
  display: flex;
  align-items: center;
}
.payment-option.payment-option-hero label{
  display: flex !important;
  align-items: center;
  width: 100%;
  margin: 0;
}
.payment-option.payment-option-hero label .paymentlogo{
  height: 27px;
  margin: 10px 10px 1px 0px;
  order: 1;
}
.payment-option.payment-option-hero label .paymenttext{
  margin-right: auto;
  order:2;
  text-align: left;
}
.herocardtypes{
  order:3; margin-left:5px;display: flex;
}
.herocardtypes img{
  height: 28px;margin:2px 2px
}
@media (max-width: 767px) {
  .herocardtypes{
    flex-wrap: wrap;
    width: 90px;
  }
}
@media (max-width: 500px) {
  .payment-option.payment-option-hero label{
    flex-wrap: wrap;
  }
  .payment-option.payment-option-hero label .herocardtypes{
    flex-wrap: nowrap;
    width: auto;
    margin-left: auto;
  }
}

/* WIDGET STYLE */
#hero_widget {
  margin-top: 2rem;
}
#hero_widget img {
  width: 100%;
}
#hero_widget .payment_options {
  display: flex;
}
#hero_widget .payment_options button {
  border: 1px solid #e9eaf0;
  border-radius: 8px;
  height: 39px;
  display: flex;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .4s ease;
  background: white;
}
#hero_widget .payment_options button+button {
  margin-left: 12px;
}
#hero_widget .payment_options button.active {
  border-color: #1d1e21;
}
#hero_widget .payment_options button:focus {
  outline: 0;
}
#hero_widget .payment_detail {
  margin-top: 0.75rem;
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
  border: 1px solid rgb(233 234 240/1);
  background: white;
}
#hero_widget .payment_detail.no-balance {
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  margin-bottom: 2rem;
}
#hero_widget .payment_detail .payment_detail_content {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#hero_widget .payment_detail .payment_detail_content #payment_detail_value {
  margin: 0;
  font-weight: 500;
  color: rgb(29 30 33/1);
  font-size: 16px;
  line-height: 24px;
  font-family: Inter, sans-serif;
}
#hero_widget .payment_detail .payment_detail_content img {
  max-width: 60px;
  height: 100%;
}

/* WIDGET POPUP STYLE */
@font-face {
  font-family: 'Sharp Grotesk DB Semibold';
  src: url('SharpGroteskDBSmBold23.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
#hero_widget_popupbackground {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(29,30,33,.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 6000;
  display: none;
}
#hero_widget_popupbackground #hero_widget_popup {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  position: fixed;
  width: 856px;
  max-width: 100%;
  max-height: 100vh;
  background: #fff;
  border: 1px solid #e9eaf0;
  box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  border-radius: 16px;
  z-index: 6001;
  padding: 60px 2rem;
  overflow-y: auto;
  max-height: 80vh;
}
#hero_widget_popupbackground #hero_widget_popup .popup_title {
  color: rgb(29 30 33/1);
  line-height: 42px;
  font-size: 28px;
  font-weight: 400;
  font-family: Sharp Grotesk DB Semibold,serif;
  margin: 0;
}
#hero_widget_popupbackground #hero_widget_popup .popup_list {
  margin-top: 30px;
  font-size: 14px;
  line-height: 24px;
  color: rgb(29 30 33/1);
  font-family: Inter,sans-serif;
  list-style: none;
}
#hero_widget_popupbackground #hero_widget_popup .popup_list li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 25px;
}
#hero_widget_popupbackground #hero_widget_popup .popup_list li::before {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  line-height: 34px;
  position: absolute;
  display: block;
  background: #f8f8f8;
  border: 1px solid #e9eaf0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #1d1e21;
  font-size: 14px;
  font-weight: 600;
}
#hero_widget_popupbackground #hero_widget_popup .popup_list li:first-child:before {
  content: "1";
}
#hero_widget_popupbackground #hero_widget_popup .popup_list li:nth-child(2):before {
  content: "2";
}
#hero_widget_popupbackground #hero_widget_popup .popup_list li:nth-child(3):before {
  content: "3";
}
#hero_widget_popupbackground #hero_widget_popup .payment_options_popup {
  display: flex;
}
#hero_widget_popupbackground #hero_widget_popup .payment_options_popup button {
  border: 1px solid #e9eaf0;
  border-radius: 8px;
  height: 39px;
  display: flex;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .4s ease;
  background: white;
}
#hero_widget_popupbackground #hero_widget_popup .payment_options_popup button+button {
  margin-left: 12px;
}
#hero_widget_popupbackground #hero_widget_popup .payment_options_popup button.active {
  border-color: #1d1e21;
}
#hero_widget_popupbackground #hero_widget_popup .payment_options_popup button:focus {
  outline: 0;
}
#hero_widget_popupbackground #hero_widget_popup .payment_options_popup button img {
  width: 100%;
}
#hero_widget_popupbackground #hero_widget_popup .payment_detail_popup {
  min-height: calc(125px + 2.5rem);
  border-top: 1px solid #e9eaf0;
  border-bottom: 1px solid #e9eaf0;
  margin: 1.25rem 0;
  padding: 1.25rem 0;
}
#hero_widget_popupbackground #hero_widget_popup .payment_detail_popup li {
  display: flex;
  justify-content: space-between;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #616172;
  margin-top: 0.5rem;
}
#hero_widget_popupbackground #hero_widget_popup .payment_detail_popup li:first-child {
  margin-top: 0;
}
#hero_widget_popupbackground #hero_widget_popup .payment_detail_popup li .payment_detail_popup_price {
  font-weight: 500;
  color: #1d1e21;
}
#hero_widget_popupbackground #hero_widget_popup .payment_total_popup {
  padding: 1.25rem 0.75rem;
  background-color: rgb(248 248 248/1);
  border: 1px solid rgb(233 234 240/1);
  border-radius: 0.5rem;
  margin: 0;
}
#hero_widget_popupbackground #hero_widget_popup .payment_total_popup li {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #1d1e21;
  font-family: Inter, sans-serif;
}
#hero_widget_popupbackground #hero_widget_popup .payment_total_popup li:last-child {
  margin-top: 0.25rem;
}
#hero_widget_popupbackground #hero_widget_popup .payment_total_popup li.total {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
}
#hero_widget_popupbackground #hero_widget_popup .payment_total_popup li #payment_total_popup_costs, #hero_widget_popupbackground #hero_widget_popup .payment_total_popup li #payment_total_popup_total {
  font-weight: 500;
}
#hero_widget_popupbackground #hero_widget_popup .payment_logos_popup {
  display: flex;
  margin-top: 1.25rem;
}
#hero_widget_popupbackground #hero_widget_popup .payment_logos_popup img+img {
  margin-left: 0.375rem;
}
@media (min-width: 768px) {
  #hero_widget_popupbackground #hero_widget_popup {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* BALANCE STYLE */
#hero_balance {
  margin-bottom: 2rem;
}
#hero_balance .balance_detail {
  border: 1px solid rgb(233 234 240/1);
  border-top: 0;
  background: rgb(248 248 248/1);
  padding: 14px;
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
#hero_balance .balance_detail.no-widget {
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
  border-top: 1px solid rgb(233 234 240/1);
}
#hero_balance .balance_detail .balance_detail_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#hero_balance .balance_detail .balance_detail_content #balance_detail_value {
  margin: 0;
  color: #616172;
  font-size: 14px;
  line-height: 24px;
  font-family: Inter, sans-serif;
}
#hero_balance .balance_detail .balance_detail_content .tooltip_hero {
  position: relative;
  cursor: help;
}
#hero_balance .balance_detail .balance_detail_content .tooltip_hero:before {
  opacity: 0;
  pointer-events: none;
  content: attr(data-before);
  position: absolute;
  left: 50%;
  bottom: 35px;
  background-color: #1d1e21;
  color: #fff;
  width: 254px;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  line-height: 24px;
  transform: translateX(-95%);
  z-index: 500;
  text-align: left;
  transition: opacity .4s ease;
}
#hero_balance .balance_detail .balance_detail_content .tooltip_hero:hover:before {
  opacity: 1;
}
#hero_balance .balance_detail .balance_detail_content .tooltip_hero svg path {
  stroke: #616172;
  transition: stroke .4s ease;
}
#hero_balance .balance_detail .balance_detail_content .tooltip_hero:hover path {
  stroke: #1d1e21;
}
#hero_balance .balance_detail .balance_detail_progressbar {
  height: 0.25rem;
  border-radius: 3px;
  background: rgb(233 234 240/1);
  margin-top: 0.5rem;
}
#hero_balance .balance_detail .balance_detail_progressbar #balance_detail_progressbar_value {
  background: rgb(21 209 187/1);
  height: 100%;
  border-radius: 3px;
}

/* CHECKOUT STYLE */
.hero_payment_block {
  border: 1px solid #d6d4d4;
  margin-bottom: 10px;
  border-radius: 4px;
}
.hero_payment_block .hero_payment {
  margin-top: 1.25rem;
  padding-left: 99px;
}
.hero_payment_block p.payment_module {
  margin-bottom: 0;
}
.hero_payment_block p.payment_module a {
  background-color: #fbfbfb !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.hero_payment {
  margin-bottom: 1.25rem;
  max-width: 600px;
}
.hero_payment .hero_payment_steps {
  padding: 1rem;
  background-color: rgb(248 248 248/1);
  border: 1px solid rgb(233 234 240/1);
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
}
.hero_payment .hero_payment_steps ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  align-items: center;
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 0.125rem;
  font-family: Inter, sans-serif;
  color: #616172;
  font-weight: 400;
  list-style: none;
}
.hero_payment .hero_payment_steps ul li {
  padding-top: 5px;
  border-top: 0.125rem solid rgb(225 225 225/1);
  width: 100%;
  position: relative;
}
.hero_payment .hero_payment_steps ul li:last-child {
  border: 0;
}
.hero_payment .hero_payment_steps ul li::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: rgb(29 30 33/1);
}
.hero_payment .hero_payment_steps ul li strong {
  display: block;
  font-weight: 600;
  color: rgb(29 30 33/1);
  margin-top: 0.5rem;
}
.hero_payment .hero_payment_steps ul li span {
  white-space: nowrap;
}
.hero_payment .hero_payment_text {
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 0.125rem;
  font-family: Inter, sans-serif;
  color: #616172;
}
.hero_payment .hero_payment_text .hero_payment_text_green {
  color: rgb(21 209 187/1);
}
@media (max-width: 768px) {
  .hero_payment_block .hero_payment {
    padding: 0 20px;
    max-width: none;
  }
}
@media (max-width: 500px) {
  .hero_payment {
    margin-left: -2.875rem;
  }
  .hero_payment_block .hero_payment {
    margin-left: 0;
  }
  .hero_payment .hero_payment_steps {
    padding: 1rem 0.5rem;
  }
  .hero_payment .hero_payment_steps ul {
    font-size: 11px;
    line-height: 16px;
  }
}