.promo-coupon {
    --pc-brand: var(--color_brand, #1a73e8);
    --pc-strong: color-mix(in srgb, var(--pc-brand) 50%, #000);
    --pc-strong-hover: color-mix(in srgb, var(--pc-brand) 40%, #000);
    --pc-tint: color-mix(in srgb, var(--pc-brand) 8%, #fff);
    --pc-ring: color-mix(in srgb, var(--pc-strong) 28%, transparent);
    --pc-text: #14171c;
    --pc-muted: #3d4450;
    --pc-field-border: #7d858f;
    --pc-placeholder: #5c6470;
    --pc-page: #fff;
    --pc-radius: 24px;
    --pc-notch: 26px;
    margin: 40px 0;
    color: var(--pc-text)
}

@supports (color:oklch(from red min(l, .5) c h)) {
    .promo-coupon {
        --pc-strong: oklch(from var(--pc-brand) min(l, .48) c h);
        --pc-strong-hover: oklch(from var(--pc-brand) min(l, .4) c h)
    }
}

.promo-coupon__ticket {
    display: grid;
    grid-template-columns: minmax(220px, 290px) 1fr;
    background: var(--pc-tint);
    border-radius: var(--pc-radius);
    overflow: hidden
}

.promo-coupon__stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 36px 24px;
    text-align: center;
    color: #fff;
    background: repeating-linear-gradient(to bottom, var(--pc-page) 0 8px, transparent 8px 16px) right center/2px calc(100% - var(--pc-notch) * 2) no-repeat, var(--pc-strong)
}

.promo-coupon__stub::before,
.promo-coupon__stub::after {
    content: "";
    position: absolute;
    right: calc(var(--pc-notch) / -2);
    z-index: 1;
    width: var(--pc-notch);
    height: var(--pc-notch);
    border-radius: 50%;
    background: var(--pc-page)
}

.promo-coupon__stub::before {
    top: calc(var(--pc-notch) / -2)
}

.promo-coupon__stub::after {
    bottom: calc(var(--pc-notch) / -2)
}

.promo-coupon__stub-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.promo-coupon__stub-value {
    font-size: clamp(64px, 7vw, 96px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.03em
}

.promo-coupon__stub-value small {
    font-size: .5em;
    font-weight: 700;
    letter-spacing: 0
}

.promo-coupon__stub-note {
    font-size: 15px;
    font-weight: 500
}

.promo-coupon__body {
    min-width: 0;
    padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px)
}

.promo-coupon .promo-coupon__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pc-text)
}

.promo-coupon .promo-coupon__title strong {
    font-weight: inherit;
    color: var(--pc-strong)
}

.promo-coupon .promo-coupon__desc {
    margin: 0 0 24px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--pc-muted)
}

.promo-coupon .promo-coupon__form,
.promo-coupon .promo-coupon__fields {
    margin: 0;
    padding: 0
}

.promo-coupon .promo-coupon__row {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 320px) auto;
    gap: 12px;
    align-items: start;
    justify-content: start;
    margin: 0 0 14px;
    padding: 0
}

.promo-coupon .promo-coupon__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0
}

.promo-coupon .promo-coupon__msg {
    grid-column: 1/-1;
    font-size: 14px;
    line-height: 1.4
}

.promo-coupon .promo-coupon__msg:empty {
    display: none
}

.promo-coupon .promo-coupon__input {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 18px;
    font: inherit;
    font-size: 17px;
    color: var(--pc-text);
    background: #fff;
    border: 1.5px solid var(--pc-field-border);
    border-radius: 14px;
    box-shadow: none;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.promo-coupon .promo-coupon__input::placeholder {
    color: var(--pc-placeholder);
    opacity: 1
}

.promo-coupon .promo-coupon__input:focus {
    border-color: var(--pc-strong);
    box-shadow: 0 0 0 4px var(--pc-ring)
}

.promo-coupon .promo-coupon__btn.btn-success {
    position: static;
    width: auto;
    height: 56px;
    margin: 0;
    padding: 0 32px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
    background: var(--pc-strong);
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .2s
}

.promo-coupon .promo-coupon__btn.btn-success:hover,
.promo-coupon .promo-coupon__btn.btn-success:not(:disabled):active {
    color: #fff;
    background: var(--pc-strong-hover);
    box-shadow: none
}

.promo-coupon .promo-coupon__btn.btn-success:focus {
    box-shadow: none;
    outline: none
}

.promo-coupon .promo-coupon__btn.btn-success:focus-visible {
    outline: 3px solid var(--pc-strong);
    outline-offset: 3px
}

.promo-coupon .promo-coupon__agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0
}

.promo-coupon .promo-coupon__agree input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--pc-strong);
    cursor: pointer
}

.promo-coupon .promo-coupon__agree label {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--pc-muted);
    cursor: pointer
}

.promo-coupon .promo-coupon__agree a {
    color: var(--pc-strong);
    text-decoration: underline;
    text-underline-offset: 3px
}

.promo-coupon .promo-coupon__agree a:hover {
    color: var(--pc-strong-hover);
    text-decoration-thickness: 2px
}

@media (max-width:820px) {
    .promo-coupon__ticket {
        grid-template-columns: 1fr
    }

    .promo-coupon__stub {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        gap: 4px 14px;
        padding: 22px 24px 26px;
        background: repeating-linear-gradient(to right, var(--pc-page) 0 8px, transparent 8px 16px) center bottom/calc(100% - var(--pc-notch) * 2) 2px no-repeat, var(--pc-strong)
    }

    .promo-coupon__stub::before,
    .promo-coupon__stub::after {
        top: auto;
        right: auto;
        bottom: calc(var(--pc-notch) / -2)
    }

    .promo-coupon__stub::before {
        left: calc(var(--pc-notch) / -2)
    }

    .promo-coupon__stub::after {
        right: calc(var(--pc-notch) / -2)
    }

    .promo-coupon__stub-value {
        font-size: 56px
    }
}

@media (max-width:560px) {
    .promo-coupon {
        --pc-radius: 18px
    }

    .promo-coupon .promo-coupon__row {
        grid-template-columns: 1fr
    }

    .promo-coupon .promo-coupon__btn.btn-success {
        width: 100%
    }
}