.ai-v5-body--submit-pay .ai-v5-page {
    padding-top: 28px;
}

.ai-v5-form-shell {
    width: min(var(--ai-v5-page-width), 100%);
    margin: 0 auto;
    padding: 0 16px 56px;
    display: grid;
    gap: 24px;
}

.ai-v5-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.ai-v5-form-card,
.ai-v5-pay-side {
    padding: 28px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(29, 20, 12, 0.05);
}

.ai-v5-form-title {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-form-title h1,
.ai-v5-form-title h2 {
    margin: 0;
    font-family: var(--ai-v5-font-reading);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ai-v5-form-title p {
    margin: 0;
    color: var(--ai-v5-text-soft);
}

.ai-v5-form-title--page-hero {
    width: min(760px, 100%);
    margin: 0 auto;
    justify-items: center;
    text-align: center;
}

.ai-v5-pay-side__meta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--ai-v5-accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ai-v5-form {
    display: grid;
    gap: 18px;
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-form-row {
    display: grid;
    gap: 8px;
}

.ai-v5-form-row label {
    color: var(--ai-v5-text);
    font-size: 0.92rem;
    font-family: var(--ai-v5-font-reading);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.ai-v5-form-row textarea,
.ai-v5-form-row input,
.ai-v5-form-row select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 112, 67, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ai-v5-text);
    font-family: var(--ai-v5-font-reading);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.8;
    outline: none;
}

.ai-v5-form-row textarea:focus,
.ai-v5-form-row input:focus,
.ai-v5-form-row select:focus {
    border-color: rgba(255, 140, 0, 0.26);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.ai-v5-form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.ai-v5-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-v5-choice-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 248, 241, 0.82);
    color: var(--ai-v5-text-soft);
}

.ai-v5-choice-chip input {
    width: 16px;
    min-height: 16px;
    margin: 0;
}

.ai-v5-inline-help,
.ai-v5-form-error {
    font-size: 0.82rem;
}

.ai-v5-inline-help {
    color: var(--ai-v5-text-mute);
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-form-error {
    color: var(--ai-v5-danger);
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-form-error--notice {
    padding: 14px 16px;
    border: 1px solid rgba(221, 93, 39, 0.16);
    border-radius: 16px;
    background: rgba(255, 248, 241, 0.82);
    color: var(--ai-v5-text-soft);
}

.ai-v5-note-box {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 248, 241, 0.88);
    color: var(--ai-v5-text-soft);
    font-family: var(--ai-v5-font-reading);
    line-height: 1.7;
}

.ai-v5-note-box--terms {
    margin-top: -2px;
    padding: 12px 14px;
    font-size: 0.82rem;
    line-height: 1.65;
}

.ai-v5-terms-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.ai-v5-terms-check__input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(148, 112, 67, 0.22);
    border-radius: 4px;
    background: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.ai-v5-terms-check__input:hover {
    border-color: rgba(255, 140, 0, 0.42);
}

.ai-v5-terms-check__input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.14);
}

.ai-v5-terms-check__input:checked {
    border-color: var(--ai-v5-accent-strong);
    background-color: var(--ai-v5-accent-strong);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4 6.4 11.3 12.8 4.9' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ai-v5-terms-check__text {
    color: var(--ai-v5-text-soft);
}

.ai-v5-terms-link {
    color: var(--ai-v5-accent-strong);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.ai-v5-terms-link:hover,
.ai-v5-terms-link:focus-visible {
    color: #c45a00;
    text-decoration: underline;
    text-decoration-color: currentColor;
}

.ai-v5-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ai-v5-form-actions .ai-v5-btn {
    min-width: 180px;
}

.ai-v5-pay-summary {
    display: grid;
    gap: 16px;
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-pay-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ai-v5-text-soft);
    font-weight: 400;
    line-height: 1.75;
}

.ai-v5-pay-summary__row strong,
.ai-v5-pay-summary__row span:last-child {
    color: var(--ai-v5-text);
    font-family: var(--ai-v5-font-reading);
    font-weight: 600;
}

.ai-v5-pay-summary--receipt {
    gap: 0;
    margin-bottom: 20px;
    padding: 6px 22px;
    border: 1px solid rgba(148, 112, 67, 0.14);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 241, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 14px 32px rgba(29, 20, 12, 0.04);
}

.ai-v5-pay-summary__section {
    display: grid;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(148, 112, 67, 0.12);
}

.ai-v5-pay-summary__section--inline {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    column-gap: 24px;
    row-gap: 6px;
}

.ai-v5-pay-summary__section--total {
    align-items: flex-end;
    padding-top: 22px;
    border-bottom: 0;
}

.ai-v5-pay-summary__label {
    color: var(--ai-v5-text-soft);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.ai-v5-pay-summary__value {
    color: var(--ai-v5-text);
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
}

.ai-v5-pay-summary__section--inline .ai-v5-pay-summary__value {
    justify-self: end;
    width: min(100%, 560px);
    text-align: right;
}

.ai-v5-pay-summary--receipt .ai-v5-pay-summary__section:first-child {
    padding-top: 18px;
}

.ai-v5-pay-summary--receipt .ai-v5-pay-summary__section:last-child {
    padding-bottom: 18px;
}

.ai-v5-pay-summary__value--mono {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.ai-v5-pay-summary__value--link {
    color: var(--ai-v5-text);
}

.ai-v5-pay-summary__section--total .ai-v5-pay-summary__label {
    color: var(--ai-v5-text);
    font-size: 15px;
    font-weight: 600;
}

.ai-v5-pay-summary__value--total {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.ai-v5-pay-side .ai-v5-note-box .ai-v5-pay-summary__row {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.ai-v5-pay-side .ai-v5-note-box .ai-v5-pay-summary__row::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 18px;
    border-radius: 999px;
    background:
        center / contain no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%232fb344'/%3E%3Cpath d='M5.15 9.05 7.65 11.55 12.85 6.35' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    box-shadow: 0 6px 14px rgba(47, 179, 68, 0.18);
}

.ai-v5-coupon {
    display: grid;
    gap: 10px;
}

.ai-v5-coupon--hidden {
    display: none;
}

.ai-v5-coupon__toggle {
    justify-self: start;
    color: var(--ai-v5-accent-strong);
    font-size: 0.88rem;
    font-weight: 600;
}

.ai-v5-coupon__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.ai-v5-coupon__box input {
    min-width: 0;
}

.ai-v5-order-coupon {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(221, 93, 39, 0.16);
    border-radius: 18px;
    background: rgba(255, 248, 241, 0.72);
}

.ai-v5-order-coupon__label,
.ai-v5-order-coupon__applied,
.ai-v5-order-coupon__applied span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-v5-order-coupon__label {
    color: var(--ai-v5-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.ai-v5-order-coupon__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.ai-v5-order-coupon__controls input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid rgba(148, 112, 67, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ai-v5-text);
    font: inherit;
    outline: none;
}

.ai-v5-order-coupon__controls input:focus {
    border-color: rgba(255, 140, 0, 0.28);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.ai-v5-order-coupon__applied {
    justify-content: space-between;
    color: var(--ai-v5-success);
    font-weight: 700;
}

.ai-v5-order-coupon__applied strong {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(47, 179, 68, 0.1);
    letter-spacing: 0.04em;
}

.ai-v5-inline-help--success {
    color: var(--ai-v5-success);
}

.ai-v5-inline-help--error {
    color: var(--ai-v5-danger);
}

.ai-v5-paypal-box {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    background: rgba(255, 248, 241, 0.8);
}

.ai-v5-payment-processing {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.ai-v5-payment-processing strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-v5-text);
}

.ai-v5-pay-success {
    padding: 44px 36px;
    text-align: center;
    display: grid;
    gap: 14px;
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-pay-success__icon {
    font-size: 4rem;
    color: var(--ai-v5-success);
}

.ai-v5-submit-benefits {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.ai-v5-submit-benefits h3 {
    margin: 0;
    color: var(--ai-v5-text-mute);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-v5-submit-benefit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 18px 16px;
    border: 1px solid rgba(148, 112, 67, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 238, 0.92));
    box-shadow: 0 14px 28px rgba(29, 20, 12, 0.04);
}

.ai-v5-submit-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 140, 0, 0.14);
    color: var(--ai-v5-accent-strong);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ai-v5-submit-benefit__content {
    display: grid;
    gap: 6px;
    font-family: var(--ai-v5-font-reading);
}

.ai-v5-submit-benefit__content h4 {
    margin: 0;
    color: var(--ai-v5-text);
    font-size: 1rem;
    font-weight: 600;
}

.ai-v5-submit-benefit__content p {
    margin: 0;
    color: var(--ai-v5-text-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.ai-v5-form-shell--tool-legacy-type,
.ai-v5-form-shell--article-legacy-type {
    --ai-v5-tool-legacy-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-note-box,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-inline-help,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-error,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-submit-benefit__content,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-success,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-btn,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-side__meta {
    font-family: var(--ai-v5-tool-legacy-font);
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title h1,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title h2,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-submit-benefits h3,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-submit-benefit__content h4 {
    font-family: var(--ai-v5-tool-legacy-font);
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title--hero h1 {
    font-size: 42px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title--hero p {
    font-size: 17.5px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-row label {
    font-size: 13px;
    font-family: var(--ai-v5-tool-legacy-font);
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-row input,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-row select {
    font-size: 14px;
    font-family: var(--ai-v5-tool-legacy-font);
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-row textarea {
    font-size: 14px;
    font-family: var(--ai-v5-tool-legacy-font);
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-note-box--terms {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-coupon__toggle {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-actions .ai-v5-btn {
    font-size: 17.5px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title--order h1 {
    font-size: 28px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-success h2 {
    font-size: 28px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-success p {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--order,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--title,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--link {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--order strong {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--title strong {
    font-size: 21px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--link strong {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--total {
    font-size: 17.5px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__row--total strong {
    font-size: 32px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__label,
:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-summary__value {
    font-family: var(--ai-v5-tool-legacy-font);
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title--plan h2 {
    font-size: 10.5px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title--plan p {
    font-size: 17.5px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-form-title--plan strong {
    font-size: 49px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-side__meta {
    font-size: 13px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-side .ai-v5-pay-summary__row {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-pay-side .ai-v5-pay-summary__row span {
    font-family: var(--ai-v5-tool-legacy-font);
    font-size: 14px;
    font-weight: 400;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-submit-benefits h3 {
    font-size: 13px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-submit-benefit__content h4 {
    font-size: 14px;
}

:is(.ai-v5-form-shell--tool-legacy-type, .ai-v5-form-shell--article-legacy-type) .ai-v5-submit-benefit__content p {
    font-size: 13px;
}

.ai-v5-form-shell--article-legacy-type .ai-v5-pay-summary--receipt .ai-v5-pay-summary__value,
.ai-v5-form-shell--article-legacy-type .ai-v5-pay-summary--receipt .ai-v5-pay-summary__value--total {
    font-size: 15px;
}

.ai-v5-form-shell--tool-legacy-type .ai-v5-pay-side__meta {
    font-size: 12px;
}

.ai-v5-form-shell--tool-legacy-type .ai-v5-pay-side .ai-v5-pay-summary__row,
.ai-v5-form-shell--tool-legacy-type .ai-v5-pay-side .ai-v5-pay-summary__row span {
    font-size: 13px;
}

.ai-v5-form-shell--tool-legacy-type .ai-v5-submit-benefits h3 {
    font-size: 12px;
}

.ai-v5-form-shell--tool-legacy-type .ai-v5-submit-benefit__content h4 {
    font-size: 13px;
}

.ai-v5-form-shell--tool-legacy-type .ai-v5-submit-benefit__content p {
    font-size: 12px;
}

@media (max-width: 980px) {
    .ai-v5-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-v5-pay-summary__section--inline {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .ai-v5-pay-summary__section--inline .ai-v5-pay-summary__value {
        justify-self: start;
        width: auto;
        text-align: left;
    }

    .ai-v5-pay-summary__value--total {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .ai-v5-form-shell {
        padding-inline: 12px;
    }

    .ai-v5-form-card,
    .ai-v5-pay-side,
    .ai-v5-pay-success {
        padding: 22px;
        border-radius: 22px;
    }

    .ai-v5-pay-summary--receipt {
        padding: 4px 18px;
        border-radius: 20px;
    }

    .ai-v5-coupon__box,
    .ai-v5-order-coupon__controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-v5-order-coupon__controls .ai-v5-btn {
        width: 100%;
    }

    .ai-v5-form-actions {
        justify-content: stretch;
    }

    .ai-v5-form-actions .ai-v5-btn {
        width: 100%;
        min-width: 0;
    }
}
