/* پرداخت نقدی و اقساطی لرن‌دش — Arash Sharifi */
.learndash-wrapper form.ldgdc-enhanced,
form.ldgdc-enhanced {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
form.ldgdc-enhanced .ldgdc-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 10px 0 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}
.learndash-wrapper form.ldgdc-enhanced button.ldgdc-choice,
form.ldgdc-enhanced button.ldgdc-choice {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    float: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 58px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    box-sizing: border-box;
    white-space: normal;
    text-align: right;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    cursor: pointer;
    overflow-wrap: anywhere;
    word-break: normal;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.learndash-wrapper form.ldgdc-enhanced button.ldgdc-cash,
form.ldgdc-enhanced button.ldgdc-cash {
    background: linear-gradient(115deg, #1b63ef, #2446c8);
    box-shadow: 0 4px 12px rgba(33, 85, 204, .16);
}
.learndash-wrapper form.ldgdc-enhanced button.ldgdc-installment,
form.ldgdc-enhanced button.ldgdc-installment {
    background: linear-gradient(115deg, #078e79, #067460);
    box-shadow: 0 4px 12px rgba(7, 121, 98, .16);
}
.learndash-wrapper form.ldgdc-enhanced button.ldgdc-choice:hover:not(:disabled),
form.ldgdc-enhanced button.ldgdc-choice:hover:not(:disabled) {
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow: 0 6px 17px rgba(0, 0, 0, .16);
}
.learndash-wrapper form.ldgdc-enhanced button.ldgdc-choice:focus-visible,
form.ldgdc-enhanced button.ldgdc-choice:focus-visible {
    outline: 3px solid #0c1219;
    outline-offset: 3px;
}
.learndash-wrapper form.ldgdc-enhanced button.ldgdc-choice:disabled,
form.ldgdc-enhanced button.ldgdc-choice:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}
.ldgdc-choice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .17);
    color: #fff;
}
.ldgdc-choice__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ldgdc-choice__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    text-align: right;
}
.ldgdc-choice__title {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
    color: inherit;
}
.ldgdc-choice__subtitle,
.ldgdc-choice__amount {
    display: block;
    max-width: 100%;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, .95);
}
.ldgdc-choice__amount {
    font-size: 11.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.ldgdc-choice__amount bdi {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}
.ldgdc-footnote {
    margin: 0;
    padding: 0 2px;
    color: #697588;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.65;
    text-align: right;
    overflow-wrap: anywhere;
}
form.ldgdc-enhanced > button.ldgdc-original-submit,
form.ldgdc-enhanced > input.ldgdc-original-submit {
    display: none !important;
}
.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-price.ldgdc-price-ready {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 4px;
    font-size: clamp(15px, 1.7vw, 22px);
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: isolate;
}
.ldgdc-price-number {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    letter-spacing: .1px;
}
@media (max-width: 640px) {
    .learndash-wrapper form.ldgdc-enhanced button.ldgdc-choice,
    form.ldgdc-enhanced button.ldgdc-choice {
        min-height: 54px;
        padding: 10px 11px;
    }
    .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-price.ldgdc-price-ready {
        font-size: clamp(15px, 4.5vw, 23px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .learndash-wrapper form.ldgdc-enhanced button.ldgdc-choice,
    form.ldgdc-enhanced button.ldgdc-choice { transition: none; }
}
