*:before,
*:after {
  box-sizing: border-box !important;
}

.refbutton.free, 
.refbutton.premium,
.refbutton.free::after, 
.refbutton.free::before, 
.refbutton.premium::before,
.refbutton.premium::before,
.refbutton-instance::after,
.refbutton-instance::before {
  width: auto !important;
  display: flex!important;
  filter: none !important;
  opacity: 1 !important;
}

.shop_table .refbutton {
  display: inline-block!important;
}

.refbutton>.woocommerce input.button,
.refbutton>.refbutton-instance,
.refbutton>.refbutton-instance *{
  /* all: unset!important; */
  background: transparent!important;
  background-color: transparent!important;
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: var(--button-width)!important;
  width: var(--container-width) !important;
  min-height: var(--button-height)!important;
  padding: 2px 6px!important;
  position: relative !important;
  border: none !important;
  border-radius: 0 !important;
  -moz-transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  -webkit-transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  overflow: hidden !important;
  transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-align: center !important;
  /* height: 100% !important; */
}

.woocommerce-mini-cart__buttons .refbutton.free>.refbutton-instance,
.woocommerce-mini-cart__buttons .refbutton.premium>.refbutton-instance,
.refbutton.free>.refbutton-instance#place_order,
.refbutton.premium>.refbutton-instance#place_order{
  width: 100%!important;
  width: var(--actual-width)!important;
  margin: 0 auto!important;
}

.woocommerce-mini-cart__buttons .refbutton.free>.refbutton-instance,
.woocommerce-mini-cart__buttons .refbutton.premium>.refbutton-instance {
  margin-bottom:10px!important;
}

.refbutton .refbutton-instance:hover,
.refbutton .refbutton-instance:hover *{
  background: transparent!important;
  background-color: transparent!important;
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: var(--button-width)!important;
  min-height: var(--button-height)!important;
  padding: 2px 6px!important;
  position: relative !important;
  border: none !important;
  border-radius: 0 !important;
  -moz-transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  -webkit-transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  overflow: hidden !important;
  transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-align: center !important;
  /* height: 100% !important;
  color: transparent !important; */
}


.refbutton.free>.refbutton-instance::after,
.refbutton.free>.refbutton-instance::before,
.refbutton.premium>.refbutton-instance::after,
.refbutton.premium>.refbutton-instance::before {
  content: '';
  display: inline-block !important;
  -moz-transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  -webkit-transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
  transition: all var(--transition) cubic-bezier(0.77, 0, 0.175, 1) !important;
}