#modal-buy-and-get-promotion {
  padding: 0px 24px 24px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

#modal-buy-and-get-promotion .head {
  padding: 8px 8px 8px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#modal-buy-and-get-promotion .head .title {
  font-size: 18px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(0, 0, 0, .87);
}

#modal-buy-and-get-promotion .head .close-button {
  text-decoration: none;
  color: #d02626;
  font-weight: bold;
  font-size: 18px;
  padding: 0 8px;
}

#modal-buy-and-get-promotion .content {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

#modal-buy-and-get-promotion .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#modal-buy-and-get-promotion .footer button {
  margin: 18px;
  border-radius: 24px;
  width: 100%;
  background: #ED202B;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  height: 44px;
  border: none;
  cursor: pointer;
}

#modal-buy-and-get-promotion .footer button.disabled,
#modal-buy-and-get-promotion .footer button:disabled {
  background: #d7d7d7;
  color: #888888;
  cursor: not-allowed;
}

.buy-and-get-promo-popup .swal2-actions {
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.buy-and-get-promo-popup .swal2-confirm,
.buy-and-get-promo-popup .swal2-cancel {
  width: 100%;
  margin: 0;
}

.buy-and-get-promo-column-info {
  display: none;
}

#modal-buy-and-get-promotion.attendant-layout {
  padding: 0;
  max-height: none;
}

#modalBuyAndGetPromotionNovo .modal-dialog {
  width: 1000px;
}

#modalBuyAndGetPromotionNovo .modal-content {
  background: #fff;
  border-radius: 10px;
}

#modalBuyAndGetPromotionNovo .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#modalBuyAndGetPromotionNovo .modal-header::before,
#modalBuyAndGetPromotionNovo .modal-header::after {
  content: none;
  display: none;
}

#modalBuyAndGetPromotionNovo .modal-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(0, 0, 0, .87);
}

#finish-buy-and-get-promotion-attendant {
  background-color: #00b400;
  color: #fff;
  flex: 1 1 auto;
  border-radius: 25px;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 500;
  font-size: 16px;
}

#finish-buy-and-get-promotion-attendant:hover {
  background-color: #0a8f09;
}

#finish-buy-and-get-promotion-attendant.btninativo {
  background: #d4d4d4 !important;
  border-bottom: 3px solid #b8b8b8 !important;
  color: #616161 !important;
}

#modalBuyAndGetPromotionNovoContainer {
  padding: 10px;
  max-height: 70vh;
  overflow-y: auto;
}

@media screen and (max-width: 800px) {
  #modalBuyAndGetPromotionNovo .modal-lg {
    width: 100% !important;
  }

  #modalBuyAndGetPromotionNovoContainer {
    max-height: 80vh;
  }
}

@media (min-width: 768px) {
  #modal-buy-and-get-promotion.attendant-layout .content {
    flex-direction: row;
    gap: 20px;
  }

  #modal-buy-and-get-promotion.attendant-layout .buy-and-get-promo-column-info {
    display: flex;
    flex-direction: column;
    flex: 0 0 40%;
    max-width: 40%;
    overflow-y: auto;
  }

  #modal-buy-and-get-promotion.attendant-layout #buy-and-get-items {
    flex: 1 1 60%;
    max-width: 60%;
    min-width: 0;
    overflow-y: auto;
  }

  .buy-and-get-promo-img {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }

  .buy-and-get-promo-img img {
    border-radius: 0.5rem;
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
  }

  .buy-and-get-promo-title {
    font-weight: 500;
    line-height: normal;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin: 0 0 8px;
  }

  .buy-and-get-promo-description {
    font-size: 0.9rem;
    white-space: pre-line;
    margin: 0;
  }
}
