.iz-promo-container .header {
    margin-top: 2rem;
    padding: 8px;
    height: 44px;
    background: #fff;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #344054;
}
.iz-promo-container .voucher-list-container {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(328px, 1fr));
    gap: 1rem;
}
.iz-promo-container .voucher-wrapper {
    display: grid;
    grid-template-rows: 155px auto;
    gap: 1rem;
    padding: 8px 8px 24px;
    background: #fff;
    box-shadow: 0 2px 11px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    cursor: pointer;
}
.iz-promo-container .voucher-wrapper .voucher-image {
    width: 100%;
    height: 155px;
    border-radius: 8px;
}
.iz-promo-container .voucher-wrapper .voucher-image img {
    width: 100%;
    height: 155px;
    object-fit: contain;
}
.iz-promo-container .voucher-wrapper .voucher-name {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    color: #344054;
}
.iz-promo-container .voucher-wrapper .voucher-period {
    align-self: flex-end;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #8656a4;
}
.iz-modal-promo-detail {
    margin: auto !important;
    padding: 0 !important;
    width: 590px !important;
    height: fit-content;
    background: #fff;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    overflow: hidden !important;
}
.iz-modal-promo-detail .modal-dialog {
    width: 100% !important;
    margin: auto !important;
}
.iz-modal-promo-detail .header {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 8px;
    width: 590px;
    height: 56px;
    background: #763f98;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
}
.iz-modal-promo-detail .header .back {
    margin-left: 1rem;
    border: solid #fff;
    border-width: 2px 0 0 2px;
    display: inline-block;
    padding: 4px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    cursor: pointer;
}
.iz-modal-promo-detail .body {
    margin-top: 56px;
    max-height: 70vh;
    overflow-y: auto;
}
.iz-modal-promo-detail .body::-webkit-scrollbar {
    width: 5px;
}
.iz-modal-promo-detail .body::-webkit-scrollbar-button {
    display: none;
}
.iz-modal-promo-detail .body::-webkit-scrollbar-thumb {
    background-color: #763f98;
}
.iz-modal-promo-detail .voucher-image {
    height: 332px;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
}
.iz-modal-promo-detail .voucher-image img {
    width: 100%;
    height: 332px;
    object-fit: contain;
}
.iz-modal-promo-detail .voucher-info {
    padding: 1rem;
    background: #f9fafb;
}
.iz-modal-promo-detail .voucher-info > div:not(:first-child) {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.iz-modal-promo-detail .voucher-info .voucher-code {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}
.iz-modal-promo-detail .voucher-info .voucher-period {
    font-weight: 700;
    color: #763f98;
}
.iz-modal-promo-detail .voucher-info .voucher-period.due {
    color: #f04438;
}
.iz-modal-promo-detail .voucher-info .min-transaction {
    font-weight: 700;
    color: #fdb022;
}
.iz-modal-promo-detail .voucher-info label {
    margin-bottom: 0;
    font-weight: 400;
    color: #667085;
}
.iz-modal-promo-detail .voucher-description,
.iz-modal-promo-detail .voucher-tnc,
.iz-modal-promo-detail .voucher-how-to-use {
    padding: 1rem;
}
.iz-modal-promo-detail .voucher-description .title,
.iz-modal-promo-detail .voucher-tnc .title,
.iz-modal-promo-detail .voucher-how-to-use .title {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #333;
}
.iz-modal-promo-detail .voucher-description .content,
.iz-modal-promo-detail .voucher-tnc .content,
.iz-modal-promo-detail .voucher-how-to-use .content {
    padding: 0.5rem;
}

@media (max-width: 991.98px) {

    .iz-modal-promo-detail {
        width: 100% !important;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        border-radius: 0;
    }
    .iz-modal-promo-detail .modal-dialog {
        height: 100% !important;
    }
    .iz-modal-promo-detail .modal-content {
        height: 100% !important;
        display: flex;
    }
    .iz-modal-promo-detail .header {
        position: static;
    }
    .iz-modal-promo-detail .body {
        margin-top: 0;
        max-height: none;
        flex-grow: 1;
        overflow-y: auto;
    }
}

@media (min-width: 426px) and (max-width: 767px) {
    .iz-promo-container .voucher-list-container {
        grid-template-columns: repeat(auto-fill, 328px);
        justify-content: center;
    }
}

@media (max-width: 375px) {
    .iz-promo-container .voucher-list-container {
        grid-template-columns: repeat(auto-fill, minmax(273px, 1fr));
    }
}
