.wrapper {
  margin-bottom: 16px;
}

.section_title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loading {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.voucher_item, .voucher_item_no_countdown {
  position: relative;
  isolation: isolate;
  width: 450px;
  max-width: 100%;
  padding-bottom: 22px;
}

.voucher_item_no_countdown{
  padding-bottom: 0px;
}

.card {
  position: relative;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  background-color: #6b3d8f;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: none;
  min-height: 85px;
  width: 100%;
}

.card_purple {
  background-color: #6b3d8f;
  background-image: url("/img/Voucher-purple.png");
}

.card_blue {
  background-color: #3d6fa8;
  background-image: url("/img/Voucher-blue.png");
}

.card_disabled {
  opacity: 0.72;
}

.card_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.card_amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  width: 40%;
  color: #fff;
  font-family: var(--neuzeit-bol-font);
}

.amount_currency, .amount_value, .amount_label {
  font-size: 1.5rem;
  font-weight: 900;
}

.amount_discount {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0;
}

.card_blue .card_amount {
  color: #f5fbff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.card_purple .card_amount {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.code_description{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding-right: 25px;
  padding-left: 30px;
  padding-top: 10px;
}

.code_description_title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  white-space: wrap;
  width: 80%;
}

.code_description_title_personal{
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  white-space: wrap;
  width: 100%;
}

.card_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  height: 100%;
  width: 100%;
}

.code_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2px;
  height: 100%;
  padding-right: 25px;
  padding-left: 30px;
  padding-bottom: 10px;
  width: 100%;
}

.code_details{
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  width: 40%;
}

.min_purchase {
  font-size: 0.6rem;
  margin: 0;
}

.valid_thru {
  font-size: 0.6rem;
  margin: 0;
}


.code {
  margin-top:5px ;
  font-size: 1.1rem;
  font-weight: 900;
  color: black;
  line-height: 1.2;
  font-family: var(--neuzeit-reg-font);
}


.card_blue .code {
  color: black;
}

.card_purple .code {
  color: black;
}

.savings {
  font-size: 0.74rem;
  color: #2f6b3a;
  line-height: 1.3;
}

.reason {
  font-size: 0.7rem;
  color: #8a5a00;
  margin: 2px 0 0;
  line-height: 1.35;
}

.countdown {
  position: relative;
  z-index: 0;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1;
}

.countdown_container {
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 40px;
  padding: 0 12px 4px;
  margin: 0;
  background: #e0c8e8;
  border-radius: 0 0 10px 10px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  pointer-events: none;
}

.apply_btn {
  margin-top: 6px;
  width: 100%;
  max-width: 120px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.apply_btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.apply_btn div {
  width: 100%;
  font-size: 0.68rem;
  text-align: center;
}

@media only screen and (min-width: 651px) and (max-width: 1023px) {
  .list_tablet {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  .list_tablet_item {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }

  .card {
    min-height: 75px;
    width: 100%;
  }

  .code{
    font-size: 1rem;
  }

  .code_description{
    padding-right: 10%;
    padding-left: 10%;
  }

  .code_container{
    padding-right: 10%;
    padding-left: 10%;
      font-size: 0.85rem;
  }

  .voucher_item {
    width: 100%;
  }

  .code_details{
    width: 50%;
  }

  .code_description_title{
    font-size: 0.85rem;
    white-space: wrap;
    width: 80%;
    
  }

  .code_description_title_personal{
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    white-space: wrap;
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {
  
  .card {
    min-height: 85px;
    width: 100%;
  }

  .card_inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 85px;
  }

  .code{
    font-size: 0.9rem;
  }

  .card_amount {
    width: 40%;
  }

  .valid_thru, .min_purchase{
    font-size: 0.6rem;
  }

  .code_details{
    width: 65%;
    line-height: 9px;
  }

  .code_description{
    align-items: center;
    padding-bottom: 0;
    padding-top: 5px;
    padding-right: 10%;
    padding-left: 10%;
  }

  .code_container{
    font-size: 0.85rem;
    padding-right: 10%;
    padding-left: 10%;
  }
  
  .code_description_title{
    font-size: 0.85rem;
    white-space: wrap;
    width: 80%;
    
  }

  .code_description_title_personal{
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    white-space: wrap;
    width: 100%;
  }

  .voucher_item {
    width: 100%;
  }

  .amount_currency, .amount_value, .amount_label{
    font-size: 1.3rem;
  }

  .amount_currency{
    margin-top:5px;
  }

  .amount_discount {
    font-size: 1.1rem;                                                                                                        
  }

 
}
