
.text-center {
  text-align: center;
}
.matat-loyalty_checkout-info-box {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  padding-bottom: 20px;
}

.matat_birthday_discount_wrap {
  padding-bottom: 10px;
}

.matat_birthday_discount_wrap a {
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
}

.matat_birthday_discount_wrap a:hover {
  text-decoration: none;
  color: inherit;
}

@media only screen and (min-width: 768px) {
  .matat-loyalty_checkout-info-box {
    padding-bottom: 30px;
  }

  .matat_birthday_discount_wrap {
    padding-bottom: 15px;
  }
}

.matat-loyalty_single-product {
  font-size: 0.75rem;
  line-height: 1.5;
  border: 1px solid #c9c9c9;
  padding: 0.3125rem 0.625rem;
  color: #000;
}

@media (min-width: 768px) {
  .matat-loyalty_single-product {
    font-size: 14px;
    padding: 9px 15px;
  }
}

.matat-loyalty_checkout-info {
  font-size: 0.8125rem;
  line-height: 1.4615;
  padding: 0.9375rem 0;
}

@media (min-width: 768px) {
  .matat-loyalty_checkout-info {
    font-size: 14px;
    line-height: 1.5;
    padding: 20px 0;
  }
}

@media (min-width: 1200px) {
  .matat-loyalty_checkout-info {
    font-size: 16px;
  }
}

.matat-loyalty_checkout-info svg {
  width: 1.09375rem;
  height: auto;
  display: inline;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .matat-loyalty_checkout-info svg {
    width: 21px;
  }
}

.matat-loyalty_checkout-info .matat_edit_loyalty {
  padding: 0;
  margin: 0;
  font: inherit;
  outline: none;
  text-decoration: underline;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .matat-loyalty_checkout-info .matat_edit_loyalty {
    font-size: 14px;
  }
}

.matat-loyalty_checkout-info .matat_edit_loyalty:hover {
  text-decoration: none;
}

.matat-loyalty_btn-wrap {
  padding: 0 0 0.3125rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .matat-loyalty_btn-wrap {
    padding-bottom: 10px;
  }
}

.matat-loyalty_btn-wrap .button_loyalty {
  margin: 0 0.46875rem 0.625rem;
  min-width: 6.25rem;
}

@media (min-width: 768px) {
  .matat-loyalty_btn-wrap .button_loyalty {
    margin: 0 10px 10px;
    min-width: 120px;
  }
}

@media (min-width: 992px) {
  .matat-loyalty_btn-wrap .button_loyalty {
    min-width: 130px;
  }
}

@media (min-width: 1300px) {
  .matat-loyalty_btn-wrap .button_loyalty {
    min-width: 160px;
  }
}

.matat-loyalty_btn-wrap .button_loyalty.button_loyalty_redeem {
  min-width: 13.4375rem;
}

@media (min-width: 768px) {
  .matat-loyalty_btn-wrap .button_loyalty.button_loyalty_redeem {
    min-width: 140px;
  }
}

@media (min-width: 1200px) {
  .matat-loyalty_btn-wrap .button_loyalty.button_loyalty_redeem {
    min-width: 182px;
  }
}

.button_loyalty {
  border: 1px solid #000;
  padding: 0;
  margin: 0;
  font: 0.75rem/1.5 "Heebo", sans-serif;
  background: #000;
  color: #fff;
  display: inline-block;
  vertical-align: top;
  outline: none;
  padding: 0.375rem 0.625rem;
  text-decoration: none;
}

@media (min-width: 768px) {
  .button_loyalty {
    font-size: 14px;
    line-height: 20px;
    padding: 9px 12px;
  }
}

.button_loyalty:hover {
  background: #fff;
  border-color: #000;
  color: #000;
  text-decoration: none;
}

.matat-loyalty_popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-transition: 0.25s ease opacity, 0.25s ease visibility;
  transition: 0.25s ease opacity, 0.25s ease visibility;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

@media (min-width: 768px) {
  .matat-loyalty_popup {
    font-size: 14px;
  }
}

.matat_loyalty_popup_opened #header {
  z-index: 1;
}

.matat_loyalty_popup_opened .checkout-container,
.matat_loyalty_popup_opened .checkout-container .checkout-detail-container {
  z-index: 9999;
}

.matat-loyalty_popup.popup_opened {
  opacity: 1;
  visibility: visible;
  z-index: 999999;
}

.matat-loyalty_popup.popup_opened .matat_popup_frame {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.matat-loyalty_popup .matat_popup_frame {
  min-height: calc(100% - 2rem);
  margin: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: 0.25s ease transform;
  transition: 0.25s ease transform;
  -webkit-transform: translate(0, -20vh);
  -ms-transform: translate(0, -20vh);
  transform: translate(0, -20vh);
}

.matat-loyalty_popup .matat_popup_body {
  width: 100%;
  max-width: min(66.8rem, 668px);
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .matat_popup_body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media (min-width: 768px) {
  .matat-loyalty_popup .matat_loyalty_popup-image {
    -ms-flex-preferred-size: 34.135%;
    flex-basis: 34.135%;
    max-width: 34.135%;
  }
}

.matat-loyalty_popup .matat_loyalty_popup-image img {
  object-fit: cover;
  object-position: 50% 0;
  width: 100%;
  height: 9.0625rem;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .matat_loyalty_popup-image img {
    height: 100%;
  }
}

.matat-loyalty_popup .matat_loyalty_popup-left-content {
  text-align: center;
  padding: 0.875rem 0.9375rem 1.25rem;
}

.matat-error {
  color: #f00;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .matat_loyalty_popup-left-content {
    -ms-flex-preferred-size: 65.865%;
    flex-basis: 65.865%;
    max-width: 65.865%;
    padding: 28px 57px;
  }

  .matat-error {
    margin-top: 10px;
  }
}

.matat-loyalty_popup .matat_loyalty_popup-close {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: none;
  padding: 0.625rem;
  margin: 0;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .matat_loyalty_popup-close {
    right: 4px;
    top: 6px;
  }
}

.rtl .matat-loyalty_popup .matat_loyalty_popup-close {
  right: auto;
  left: 0;
}

@media (min-width: 768px) {
  .rtl .matat-loyalty_popup .matat_loyalty_popup-close {
    left: 4px;
  }
}

.matat-loyalty_popup .matat_loyalty_popup-close:hover {
  opacity: 0.6;
}

.matat-loyalty_popup .matat_loyalty_popup-close svg {
  display: block;
  width: 0.8125rem;
}

.matat-loyalty_popup .matat_loyalty_popup-title {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .matat_loyalty_popup-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .matat-loyalty_popup .matat_loyalty_popup-title {
    font-size: 24px;
  }
}

.matat-loyalty_popup .popup_text {
  font-size: 0.8125rem;
  line-height: 1.4615;
  margin-bottom: 0.9375rem;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .popup_text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 22px;
  }
}

@media (min-width: 1200px) {
  .matat-loyalty_popup .popup_text {
    font-size: 16px;
  }
}

.matat-loyalty_popup .loyalty_redeem-selection {
  padding: 0 0 0.9375rem;
}

.matat-loyalty_popup label {
  font-size: 0.8125rem;
  line-height: 1.4615;
}

.matat-loyalty_popup .required {
  text-decoration: none;
  color: #f00;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .loyalty_redeem-selection {
    padding-bottom: 20px;
  }

  .matat-loyalty_popup label {
    font-size: 14px;
  }
}

.matat-loyalty_popup .input-text {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.75rem;
  height: 2rem;
  line-height: 1.5;
  padding: 0.375rem 1.5rem 0.375rem 0.625rem;
  background: #fff;
  text-align: center;
}

@media (min-width: 768px) {
  .matat-loyalty_popup .input-text {
    height: 40px;
    font-size: 14px;
    line-height: 20px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

.rtl .matat-loyalty_popup select {
  padding: 0.375rem 0.625rem 0.375rem 1.5rem;
  background-position: 0.625rem 50%;
}

@media (min-width: 768px) {
  .rtl .matat-loyalty_popup select {
    background-position: 15px 50%;
  }
}

.matat-loyalty_popup .button_loyalty {
  width: 100%;
}

@media (min-width: 992px) {
  .matat-loyalty_popup .button_loyalty {
    font-size: 16px;
    line-height: 1.5625;
  }
}

/* Popup open button */
.openBtn {
  color: #FFF;
  background: #269faf;
  padding: 10px;
  text-decoration: none;
  border: 1px solid #269faf;
  border-radius: 3px;
}

.openBtn:hover {
  background: #35c7db;
}

.popup {
  position: fixed;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.58);
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1;
}

/* Popup inner div */
.popup-content {
  width: 40%;
  margin: 0 auto;
  padding: 40px;
  margin-top: 100px;
  border-radius: 3px;
  background: #fff;
  position: relative;
}

/* Popup close button */
.closeBtn {
  position: absolute;
  top: 5px;
  right: 12px;
  font-size: 17px;
  color: #7c7575;
  text-decoration: none;
}


.woocommerce-error-custom {
  background: #d23d3d;
  border-right: 8px #b33434 solid;
  border-radius: 4px;
  color: #FFF;
  padding: 5px 10px;
}

@media only screen and (max-width: 728px) {
  .popup-content {
    width: 80%;
  }
}