.viva-coupon-v2 {
    --vc-bg: #f7eee5;
    --vc-text: #624633;
    --vc-muted: #6f7888;
    --vc-border: #bd9468;
    --vc-red: #d52229;
    --vc-red-hover: #bc1c22;
    width: 100%;
    background: var(--vc-bg);
    padding: 54px 0 62px;
}
.viva-coupon-v2__inner {
    width: min(1480px, calc(100% - 90px));
    margin: 0 auto;
}
.viva-coupon-v2__top {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(390px, 0.85fr);
    gap: 38px;
    align-items: end;
}
.viva-coupon-v2__email label,
.viva-coupon-v2__type legend {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    color: var(--vc-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}
.viva-coupon-v2__email input {
    width: 100%;
    height: 62px;
    padding: 0 28px;
    border: 1.5px solid var(--vc-border);
    border-radius: 34px;
    background: #fff;
    color: #30343b;
    font-size: 19px;
    line-height: 1;
    outline: none;
    box-shadow: none;
}
.viva-coupon-v2__email input::placeholder {
    color: #a5adba;
}
.viva-coupon-v2__email input:focus {
    border-color: var(--vc-red);
}
.viva-coupon-v2__type {
    margin: 0;
    padding: 0;
    border: 0;
}
.viva-coupon-v2__type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.viva-coupon-v2__pill {
    margin: 0;
    cursor: pointer;
}
.viva-coupon-v2__pill input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.viva-coupon-v2__pill span {
    width: 100%;
    height: 62px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--vc-border);
    border-radius: 34px;
    background: #fff;
    color: var(--vc-text);
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    transition: 0.2s ease;
}
.viva-coupon-v2__pill:hover span,
.viva-coupon-v2__pill input:focus + span {
    border-color: var(--vc-red);
}
.viva-coupon-v2__pill input:checked + span {
    background: var(--vc-red);
    border-color: var(--vc-red);
    color: #fff;
}
.viva-coupon-v2__consent {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 29px 10px 0;
    color: var(--vc-muted);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}
.viva-coupon-v2__consent > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.viva-coupon-v2__check {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid #8d949c;
    border-radius: 3px;
    background: #fff;
}
.viva-coupon-v2__consent > input:checked + .viva-coupon-v2__check {
    background: var(--vc-red);
    border-color: var(--vc-red);
}
.viva-coupon-v2__consent > input:checked + .viva-coupon-v2__check:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.viva-coupon-v2__consent a {
    color: inherit;
    text-decoration: none;
}
.viva-coupon-v2__consent a:hover {
    text-decoration: underline;
}
.viva-coupon-v2__submit {
    min-width: 332px;
    height: 70px;
    margin: 27px 10px 0;
    padding: 0 36px;
    border: 0;
    border-radius: 38px;
    background: var(--vc-red);
    color: #fff;
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: 0.2s ease;
}
.viva-coupon-v2__submit:hover {
    background: var(--vc-red-hover);
}
.viva-coupon-v2__submit[disabled] {
    opacity: 0.65;
    cursor: wait;
}
.viva-coupon-v2__hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.viva-swal2-container {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.52);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}
.viva-swal2-container.is-visible {
    opacity: 1;
    visibility: visible;
}
.viva-swal2-popup {
    position: relative;
    width: min(100%, 430px);
    padding: 36px 32px 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 85px rgba(0, 0, 0, 0.28);
    text-align: center;
    transform: scale(0.94) translateY(8px);
    transition: transform 0.18s ease;
}
.viva-swal2-container.is-visible .viva-swal2-popup {
    transform: scale(1) translateY(0);
}
.viva-swal2-close {
    position: absolute;
    top: 10px;
    right: 13px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #98a2b3;
    font-size: 30px;
    line-height: 38px;
    cursor: pointer;
}
.viva-swal2-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border: 4px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
}
.viva-swal2-icon.success {
    border-color: #7bc88d;
    color: #55b56d;
}
.viva-swal2-icon.error {
    border-color: #ef8c91;
    color: #d52229;
}
.viva-swal2-title {
    margin: 0 0 10px;
    color: #3e3028;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}
.viva-swal2-text {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.55;
}
.viva-swal2-confirm {
    min-width: 140px;
    height: 46px;
    margin-top: 25px;
    padding: 0 25px;
    border: 0;
    border-radius: 24px;
    background: #d52229;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.viva-swal2-confirm:hover {
    background: #bc1c22;
}

@media (max-width: 991.98px) {
    .viva-coupon-v2__inner {
        width: min(100% - 40px, 900px);
    }
    .viva-coupon-v2__top {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
@media (max-width: 575.98px) {
    .viva-coupon-v2 {
        padding: 34px 0 40px;
    }
    .viva-coupon-v2__inner {
        width: calc(100% - 28px);
    }
    .viva-coupon-v2__type-options {
        grid-template-columns: 1fr;
    }
    .viva-coupon-v2__email input,
    .viva-coupon-v2__pill span {
        height: 56px;
    }
    .viva-coupon-v2__consent {
        margin-left: 0;
        margin-right: 0;
    }
    .viva-coupon-v2__submit {
        width: 100%;
        min-width: 0;
        height: 58px;
        margin-left: 0;
        margin-right: 0;
        font-size: 17px;
    }
    .viva-swal2-popup {
        padding: 32px 22px 26px;
    }
    .viva-swal2-title {
        font-size: 22px;
    }
}
