.program-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 0.5rem;
    border: 1px solid #E1EFFD;
    box-shadow: 0px 3px 8px 0px #191E220A;
    border-radius: 1.5rem;
    margin: unset !important;
    position: relative;
}

.program-card-click-target {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.program-card .footer-wrapper .inputs,
.program-card .footer-wrapper .controls {
    z-index: 2;
}

.program-card .body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

/* img-wrapper */

.program-card .img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 1.5rem;
}

.program-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* img-wrapper */

/* content-wrapper */

.program-card .content-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.program-card .content-wrapper .fixed-value {
    display: none;
    width: max-content;
    position: absolute;
    border-top-right-radius: 0.75rem;
    border-top-left-radius: 0.75rem;
    bottom: 100%;
    right: 2rem;
    background: var(--wb-theme-primary);
    color: var(--white-1);
    padding: 0.75rem 1rem;
}

.program-card .content-wrapper .title {
    background: var(--wb-theme-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem .75rem;
    border-radius: 0.75rem;
    min-height: calc(1.7em * 2 + 2rem);
}

.program-card .content-wrapper .title .text {
    color: white;
    font-weight: bold;
    line-height: 1.7 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.program-card .content-wrapper .title .category {
    background: var(--wb-theme-primary);
    color: var(--white-1);
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-size: 12px !important;
    font-weight: 600;
}

.program-card .content-wrapper .content {
    min-height: calc(1.7em * 2);
}

.program-card .content-wrapper .content span {
    color: var(--wb-theme-text);
    font-weight: 600;
    line-height: 1.7 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: calc(1.7em * 2);
    word-break: break-word;
}

.program-card .content-wrapper .date {
    color: var(--wb-theme-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px !important;
    font-weight: 600;
}

.program-card .content-wrapper .date svg path {
    stroke: var(--wb-theme-text);
}

.program-card .content-wrapper  .details {
    width: 100%;
    padding: 1rem 0;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.program-card .content-wrapper  .details .amount {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.program-card .content-wrapper  .details .progress-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-card .content-wrapper  .details .progress-container .progress {
    height: 7px;
    flex-grow: 1;
}

.program-card .content-wrapper  .details .progress-container .progress-bar {
    background: var(--wb-theme-primary);
}

.program-card .content-wrapper  .details .num {
    color: var(--wb-theme-primary)
}

/* content-wrapper */

/* footer-wrapper */

.program-details-page {
    color: var(--wb-theme-text);
}

.program-details-layout {
    row-gap: 2rem;
}

.program-details-content,
.program-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.program-details-cover {
    width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 1.375rem;
    display: block;
    margin: 0 auto;
    transition: opacity 0.2s ease;
}

.program-details-intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-details-intro p {
    margin: 0;
    color: #606060;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
    text-align: right;
}

.program-gallery-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.program-gallery-section h2,
.related-programs-card h2 {
    margin: 0;
    color: #043A30;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.program-gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.program-gallery-grid img {
    width: 100%;
    aspect-ratio: 262 / 199;
    object-fit: cover;
    border: 2px solid rgba(42, 100, 133, 0.28);
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-gallery-grid img:hover,
.program-gallery-grid img.is-active {
    transform: scale(1.02);
    border-color: var(--wb-theme-primary, #125C4E);
    box-shadow: 0 4px 12px rgba(18, 92, 78, 0.15);
}

.program-info-card,
.related-programs-card {
    padding: 1rem;
    background: var(--white-1);
    border: 1px solid #EAEAEA;
    border-radius: 1.5rem;
    box-shadow: 0 3px 8px rgba(25, 30, 34, 0.04);
}

.program-info-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gift-summary-card {
    gap: 0.75rem;
}

.program-info-card dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.program-info-card dl > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.program-info-card dt,
.program-info-card dd {
    margin: 0;
    line-height: 1.8;
    text-align: right;
}

.program-info-card dt {
    color: #030229;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 18px;
    font-weight: 400;
}

.program-info-card dt svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.program-info-card dt svg path,
.related-program-content span.date svg path {
    fill: var(--wb-theme-primary);
}

.program-info-card dd {
    color: #606060;
    font-size: 14px;
    font-weight: 400;
}

.program-participants {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.program-participants-label {
    color: #043A30;
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    line-height: 1.7;
}

.program-progress-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.program-progress-row > span {
    color: var(--wb-theme-secondary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
}

.program-progress-row .progress {
    height: 5px;
    flex: 1 1 auto;
    background: #EAEAEA;
    border-radius: 999px;
}

.program-progress-row .progress-bar {
    background: var(--wb-theme-secondary);
    border-radius: inherit;
}

.program-register-button {
    width: 100%;
    min-height: 3rem;
    padding: 0 1rem 0 3.5rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--wb-theme-primary);
    color: var(--white-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.program-register-button:hover {
    color: var(--white-1);
}

.program-register-button .icon {
    width: 3rem;
    height: 3rem;
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid var(--white-1);
    border-radius: 50%;
    background: var(--wb-theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-register-button .icon svg {
    width: 1.625rem;
    height: 1.625rem;
}

.related-programs-card h2 {
    margin-bottom: 2rem;
    color: #191C1D;
    text-align: right;
}

.related-programs-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-program-item {
    min-height: 9.5rem;
    border: 1px solid #EAEAEA;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--white-1);
    display: grid;
    grid-template-columns: 9.25rem minmax(0, 1fr);
}

.related-program-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-program-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.related-program-content h3 {
    margin: 0;
    padding: 0.45rem 1rem;
    background: color-mix(in srgb, var(--wb-theme-primary) 10%, white 90%);
    color: #043A30;
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.related-program-content span.date {
    margin: 0.75rem 1rem;
    color: #727272;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    line-height: 1.7;
}

.related-program-content span.date svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.program-register-button.is-compact {
    width: calc(100% - 2rem);
    min-height: 3rem;
    margin: auto 1rem 0.75rem;
}

.program-donation-details-cover {
    aspect-ratio: 810 / 354;
}

.program-donation-summary-card {
    gap: 1.25rem;
}

.program-donation-summary-card .program-register-button {
    margin-top: 0.25rem;
}

.program-donation-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-donation-amount-row {
    color: #043A30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
}

.program-donation-amount-row span {
    min-width: 0;
}

.program-donation-chips {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    padding: 0 0 0.375rem;
    scrollbar-width: thin;
    scrollbar-color: var(--wb-theme-primary, #125C4E) #E8E8E8;
    -webkit-overflow-scrolling: touch;
}

.program-donation-chip {
    flex: 0 0 auto;
    min-height: 2.625rem;
    min-width: 4.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid #BEBEBE;
    border-radius: 999px;
    background: var(--white-1);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.program-donation-chip.is-active,
.program-donation-chip:hover {
    border-color: var(--wb-theme-primary, #125C4E);
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 10%, white 90%);
    color: var(--wb-theme-primary, #125C4E);
}

.program-donation-chip svg {
    width: 20px;
    height: 20px;
}

.program-donation-chips::-webkit-scrollbar {
    height: 6px;
}

.program-donation-chips::-webkit-scrollbar-track {
    background: #E8E8E8;
    border-radius: 999px;
}

.program-donation-chips::-webkit-scrollbar-thumb {
    background: var(--wb-theme-primary, #125C4E);
    border-radius: 999px;
}

.program-donation-checkout {
    display: grid;
    grid-template-columns: 380px minmax(0, 884px);
    grid-template-areas: "cart payment";
    gap: 16px;
    align-items: start;
    direction: rtl;
    margin-bottom: 4rem;
}

.program-donation-payment-card,
.program-donation-cart-card,
.program-donation-gift-card {
    background: var(--white-1);
    border-radius: 16px;
    box-shadow: 0 3px 25px rgba(58, 124, 175, 0.08);
}

.program-donation-payment-card {
    grid-area: payment;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: start;
    height: auto !important;
    min-width: 0;
}

.program-donation-payment-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.program-donation-payment-head h2,
.program-donation-payment-panel h3 {
    margin: 0;
    color: var(--wb-theme-text, #043A30);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.program-donation-payment-head h2 {
    color: var(--wb-theme-primary, #125C4E);
}

.program-donation-payment-head p {
    margin: 0;
    color: #606060;
    font-size: 14px;
    line-height: 1.8;
}

.program-donation-empty-payment-alert {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-color: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 20%, white 80%);
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 8%, white 92%);
    color: var(--wb-theme-text, #043A30);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

.program-donation-payment-tabs-shell {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.program-donation-payment-tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    direction: rtl;
}

.program-donation-payment-tabs::-webkit-scrollbar {
    display: none;
}

.program-donation-payment-tabs-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: max-content;
    min-width: max-content;
    direction: rtl;
    padding: 0px 5px;
}

.program-donation-payment-tab {
    flex: 0 0 185px;
    min-height: 75px;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    background: var(--white-1);
    color: #777;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: none;
}

.program-donation-payment-tabs-scroll {
    width: 40px;
    height: 40px;
    border: 1px solid #EAEAEA;
    border-radius: 50%;
    background: var(--white-1);
    color: var(--wb-theme-primary, #125C4E);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.program-donation-payment-tabs-scroll:not(:disabled):hover {
    border-color: var(--wb-theme-primary, #125C4E);
}

.program-donation-payment-tabs-scroll:disabled {
    opacity: 0.35;
    cursor: default;
}

.program-donation-payment-tab i {
    flex: 0 0 auto;
}

.program-donation-payment-tab span {
    min-width: 0;
}

.program-donation-payment-tab.is-active {
    border-color: var(--wb-theme-primary, #125C4E);
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 10%, white 90%);
    color: var(--wb-theme-primary, #125C4E);
    box-shadow: none;
}

.program-donation-payment-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: start;
}

.program-donation-payment-panel form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.program-donation-payment-panel .mysr-form {
    direction: ltr;
}

.program-donation-bank-table {
    display: grid;
    grid-template-columns: 94px minmax(210px, 1fr) minmax(210px, 1fr) minmax(150px, 1fr);
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.bank-table-head {
    min-height: 44px;
    background: var(--wb-theme-primary, #125C4E);
    color: var(--white-1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    border-inline-start: 1px solid #EAEAEA;
    font-size: 14px;
    font-weight: 600;
    text-align: start;
}

.bank-table-cell {
    min-height: 86px;
    border-inline-start: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem;
    color: #606060;
    font-size: 14px;
    line-height: 1.45;
    text-align: start;
}

.bank-table-cell-full {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
}

.bank-table-amount {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    color: var(--wb-theme-text, #043A30);
}

.bank-table-amount img,
.program-donation-cart-total img,
.cart-item-amount img,
.program-donation-wallet-balance img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.program-donation-field-label,
.program-donation-form-grid label,
.program-donation-gift-body label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--wb-theme-text, #043A30);
    font-size: 14px;
    font-weight: 500;
    text-align: start;
}

.program-donation-field-label {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-inline-start: 16px;
}

.program-donation-field-label i {
    flex: 0 0 auto;
}

.program-donation-field-label .required,
.program-donation-form-grid b,
.program-donation-gift-body b {
    color: var(--bs-danger, #DD0417);
    font-weight: 400;
}

.program-donation-upload {
    min-height: 186px;
    border: 1px dashed var(--wb-theme-primary, #125C4E);
    border-radius: 16px;
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 10%, white 90%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    color: #777;
    padding: 2rem;
    cursor: pointer;
}

.program-donation-upload input {
    display: none;
}

.program-donation-upload .upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--white-1);
    color: var(--wb-theme-primary, #125C4E);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0, 146, 255, 0.12);
}

.program-donation-upload strong {
    color: var(--wb-theme-primary, #125C4E);
    font-weight: 700;
}

.program-donation-upload small {
    color: #777;
    font-size: 14px;
}

.program-donation-upload.has-file {
    border-style: solid;
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 12%, white 88%);
}

.program-donation-upload-file-name {
    max-width: 100%;
    color: var(--wb-theme-primary, #125C4E);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.program-donation-checkout-button {
    height: 40px;
    min-width: 160px;
    border: 0;
    border-radius: 8px;
    background: var(--wb-theme-primary, #125C4E);
    color: var(--white-1);
    font-size: 14px;
    font-weight: 700;
    align-self: center;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.program-donation-checkout-button.is-wide {
    width: 100%;
}

.program-donation-checkout-button.is-narrow {
    min-width: 168px;
}

.program-donation-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.program-donation-form-grid.single {
    grid-template-columns: minmax(0, 1fr);
}

.program-donation-form-grid input,
.program-donation-gift-body input,
.program-donation-gift-body select,
.program-donation-phone-input {
    height: 48px;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    background: var(--white-1);
    padding: 0.75rem 1rem;
    color: var(--wb-theme-text, #043A30);
    font-size: 14px;
    width: 100%;
}

.program-donation-form-grid input::placeholder,
.program-donation-gift-body input::placeholder {
    color: #8E8E8E;
}

.program-donation-office-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 308px;
    grid-template-areas: "map contact";
    gap: 10px;
}

.program-donation-contact-card {
    grid-area: contact;
    min-height: 325px;
    border-radius: 12px;
    background: var(--wb-theme-primary, #125C4E);
    padding: 12px;
    color: var(--white-1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: start;
}

.program-donation-contact-card h3 {
    color: var(--white-1);
    font-size: 12px;
    font-weight: 700;
}

.program-donation-contact-card div {
    min-height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0.5rem;
}

.program-donation-contact-card i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-donation-contact-card span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 12px;
}

.program-donation-contact-card small {
    color: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 20%, white 80%);
}

.program-donation-map {
    grid-area: map;
    min-height: 325px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #EEF3F5;
}

.program-donation-map iframe {
    width: 100%;
    height: 100%;
    min-height: 325px;
    border: 0;
    display: block;
}

.program-donation-wallet-balance {
    min-height: 52px;
    border: 1px solid  #F2960C;
    border-radius: 12px;
    background: color-mix(in srgb,  #F2960C 10%, white 90%);
    color: #3F3F3F;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.75rem;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.program-donation-wallet-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.program-donation-wallet-current strong {
    color: #285D84;
    font-weight: 700;
}

.program-donation-cart-column {
    grid-area: cart;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-donation-cart-card,
.program-donation-gift-card {
    padding: 24px;
}

.program-donation-cart-total {
    position: relative;
    overflow: hidden;
    min-height: 99px;
    border-radius: 12px;
    background: var(--wb-theme-primary, #125C4E);
    color: var(--white-1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 1rem 1.5rem;
}

.program-donation-cart-total::before {
    content: "";
    position: absolute;
    inset: -70% -10% auto auto;
    width: 332px;
    height: 220px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 45%, transparent);
    transform: rotate(-18deg);
}

.program-donation-cart-total span,
.program-donation-cart-total strong,
.program-donation-cart-total img,
.program-donation-cart-total-amount {
    position: relative;
    z-index: 1;
}

.program-donation-cart-total-amount {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.program-donation-cart-total strong {
    font-size: 32px;
    line-height: 1;
}

.program-donation-cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.program-donation-cart-list article {
    min-height: 54px;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 4px;
    align-items: center;
    padding: 4px;
}

.program-donation-cart-list h3 {
    color: var(--wb-theme-text, #043A30);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: start;
}

.program-donation-cart-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: start;
}

.program-donation-cart-gift-meta {
    color: #606060;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.program-donation-cart-actions {
    display: inline-flex;
    gap: 4px;
}

.program-donation-cart-actions button {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 10%, white 90%);
    color: var(--wb-theme-primary, #125C4E);
}

.program-donation-cart-actions button[aria-label="حذف"] {
    background: color-mix(in srgb, var(--bs-danger, #DD0417) 10%, white 90%);
    color: var(--bs-danger, #DD0417);
}

.cart-item-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wb-theme-primary, #125C4E);
    font-weight: 700;
    white-space: nowrap;
}

.program-donation-gift-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.program-donation-gift-card header {
    min-height: 44px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--wb-theme-primary, #125C4E) 12%, white 88%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    text-align: start;
}

.program-donation-gift-card h2 {
    margin: 0;
    flex: 1;
    color: var(--wb-theme-text, #043A30);
    font-size: 18px;
    font-weight: 700;
}

.program-donation-gift-card header span {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--wb-theme-primary, #125C4E);
    color: var(--white-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-donation-gift-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: var(--wb-theme-text, #043A30);
    font-size: 14px;
}

.program-donation-gift-check input {
    accent-color: var(--wb-theme-primary, #125C4E);
}

.program-donation-gift-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.program-donation-gift-card.is-collapsed .program-donation-gift-body {
    display: none;
}

.program-donation-phone-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 1rem;
}

.program-donation-phone-input input {
    border: 0;
    height: auto;
    padding: 0;
}

.program-donation-phone-input .flag {
    padding-inline-start: 12px;
    border-inline-start: 1px solid #EAEAEA;
}

.program-donation-gift-templates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.program-donation-gift-templates label {
    gap: 8px;
}

.program-donation-gift-templates label > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.program-donation-gift-templates input {
    width: 16px;
    height: 16px;
    align-self: center;
    accent-color: var(--wb-theme-primary, #125C4E);
}

.gift-template-preview,
.program-donation-gift-preview {
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--wb-theme-primary, #125C4E) 16%, transparent), transparent 18%),
        linear-gradient(135deg, #FFFFFF 0 62%, color-mix(in srgb, var(--wb-theme-primary, #125C4E) 8%, white 92%) 62% 100%);
}

.gift-template-preview {
    min-height: 112px;
}

.gift-template-preview.template-1 {
    background:
        linear-gradient(150deg, transparent 0 64%, var(--wb-theme-primary, #125C4E) 64% 78%, transparent 78%),
        linear-gradient(20deg, transparent 0 70%, var(--wb-theme-primary, #125C4E) 70% 100%),
        #FFFFFF;
}

.gift-template-preview.template-2 {
    background:
        radial-gradient(circle at 65% 20%, rgba(168, 97, 75, 0.25), transparent 26%),
        linear-gradient(135deg, #FFF4F0, #FFFFFF);
}

.program-donation-gift-preview {
    min-height: 222px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--wb-theme-primary, #125C4E);
    text-align: center;
    gap: 0.35rem;
}

.program-donation-gift-preview strong {
    font-size: 20px;
}

.program-donation-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.program-donation-popup-dialog {
    width: min(600px, 100%);
    min-height: 355px;
    border: 1px solid #EAEAEA;
    border-radius: 24px;
    background: var(--white-1);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.program-donation-popup-close {
    align-self: flex-start;
    width: 32px;
    height: 32px;
    border: 2px solid var(--wb-theme-text, #043A30);
    border-radius: 999px;
    color: var(--wb-theme-text, #043A30);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-donation-popup-done {
    width: 184px;
    height: 184px;
    border-radius: 999px;
    border: 3px solid var(--wb-theme-primary, #125C4E);
    color: var(--white-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.program-donation-popup-done::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--wb-theme-primary, #125C4E);
}

.program-donation-popup-done i {
    position: relative;
    z-index: 1;
    font-size: 58px;
}

.program-donation-popup h2 {
    margin: 0;
    color: var(--wb-theme-text, #043A30);
    font-size: 18px;
    font-weight: 700;
}

.program-donation-edit-dialog {
    min-height: auto;
    align-items: stretch;
}

.program-donation-edit-dialog h2 {
    color: var(--wb-theme-primary, #125C4E);
    text-align: center;
}

.program-donation-edit-field {
    min-height: 56px;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 8px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.program-donation-edit-field span {
    grid-column: 1 / -1;
    color: var(--wb-theme-text, #043A30);
    font-size: 14px;
    font-weight: 700;
}

.program-donation-edit-field input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--wb-theme-text, #043A30);
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

.program-donation-edit-field img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.program-donation-confirm-dialog {
    min-height: auto;
    text-align: center;
}

.program-donation-confirm-icon {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bs-danger, #DD0417) 10%, white 90%);
    color: var(--bs-danger, #DD0417);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.program-donation-confirm-dialog p {
    margin: -8px 0 0;
    color: #606060;
    font-size: 14px;
    line-height: 1.8;
}

.program-donation-confirm-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.program-donation-confirm-actions button {
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.program-donation-confirm-cancel {
    border: 1px solid var(--wb-theme-primary, #125C4E);
    background: var(--white-1);
    color: var(--wb-theme-primary, #125C4E);
}

.program-donation-confirm-delete {
    border: 1px solid var(--bs-danger, #DD0417);
    background: var(--bs-danger, #DD0417);
    color: var(--white-1);
}

@media (max-width: 1199.98px) {
    .program-donation-checkout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cart"
            "payment";
        direction: rtl;
    }

    .program-donation-payment-tab {
        flex-basis: 185px;
    }
}

@media (max-width: 767.98px) {
    .program-donation-payment-tabs-shell {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 8px;
    }

    .program-donation-payment-tabs-scroll {
        width: 36px;
        height: 36px;
    }

    .program-donation-payment-card,
    .program-donation-cart-card,
    .program-donation-gift-card {
        padding: 16px;
    }

    .program-donation-bank-table {
        display: block;
        overflow-x: auto;
        border-radius: 16px;
        white-space: nowrap;
    }

    .program-donation-bank-table > * {
        min-width: 680px;
    }

    .program-donation-form-grid,
    .program-donation-office-panel,
    .program-donation-gift-templates {
        grid-template-columns: 1fr;
    }

    .program-donation-office-panel {
        grid-template-areas:
            "map"
            "contact";
    }

    .program-donation-cart-list article {
        grid-template-columns: 1fr;
    }
}

.program-donation-action-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.program-donation-action-row .btn.outline,
.program-donation-action-row .btn.filled {
    width: 2.5625rem;
    height: 2.5625rem;
    min-width: 2.5625rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.program-donation-action-row .btn.outline {
    border-color: var(--wb-theme-primary);
    color: var(--wb-theme-primary);
    background: var(--white-1);
}

.program-donation-action-row .btn.filled {
    border-color: #1A9F58;
    background: #1A9F58;
    color: var(--white-1);
}

.program-donation-action-row .btn.outline svg path.stroke-fill {
    stroke: var(--wb-theme-primary);
    fill: var(--wb-theme-primary);
}

.program-donation-action-row .btn.outline svg path {
    fill: var(--wb-theme-primary);
}

.program-donation-action-row .btn.filled svg path {
    fill: var(--white-1);
}

.program-donation-main-action {
    min-width: 0;
    height: 2.5rem;
    flex: 1 1 auto;
    padding: 0 1rem 0 3.5rem;
    border: 0;
    border-radius: 0.5rem;
    background: var(--wb-theme-primary);
    color: var(--white-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 14px;
    font-weight: 700;
}

.program-donation-main-action .icon {
    width: 3.5rem;
    height: 3.5rem;
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid var(--white-1);
    border-radius: 50%;
    background: var(--wb-theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-donation-main-action .icon svg {
    width: 1.625rem;
    height: 1.625rem;
}

.program-donation-inputs {
    width: 100%;
    display: flex;
    gap: 0.5rem;
}

.program-donation-inputs .input,
.program-donation-inputs .input-warpper {
    min-width: 0;
}

.program-donation-inputs .input-warpper {
    min-height: 2.75rem;
    border: 1px solid #EAEAEA;
    border-radius: 1rem;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
}

.program-donation-inputs .form-control {
    min-height: 2.75rem;
    border: 0;
    box-shadow: none;
}

.program-donation-inputs .icon {
    color: #606060;
}

.program-donation-inputs .count {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.program-donation-inputs .count .btn {
    min-width: max-content;
    background: var(--wb-theme-primary);
    color: var(--white-1);
}

.program-donation-inputs .count .form-control {
    text-align: center;
}

.program-donation-inputs .count .input,
.program-donation-inputs .count .input-warpper {
    width: 4.75rem;
    min-width: 4.75rem;
}

.program-donation-inputs .count .form-control {
    width: 100%;
    padding-inline: 0.25rem;
}

.program-donation-related-card .related-programs-list {
    gap: 1rem;
}

.program-donation-related-card .related-program-item {
    min-height: 8rem;
}

.program-donation-related-card .related-program-content h3 {
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .program-details-cover {
        max-height: 350px;
    }

}

@media (max-width: 767.98px) {
    .program-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .related-program-item {
        grid-template-columns: 1fr;
    }

    .related-program-item img {
        height: 12rem;
        order: -1;
    }
}

.program-card .footer-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    position: relative;
    margin-top: auto;
}

.program-card .footer-wrapper .inputs {
    width: 100%;
    display: flex;
    gap: 0.5rem;
}

.program-card .footer-wrapper .inputs .count {
    display: flex;
    gap: 0.5rem;
}

.program-card .footer-wrapper .inputs .count .btn {
    min-width: max-content;
    background: var(--wb-theme-primary);
    color: var(--white-1);
}

.program-card .footer-wrapper .inputs .count .form-control {
    text-align: center;
}

.program-card .footer-wrapper .controls {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.program-card .footer-wrapper .controls .btn {
    min-width: max-content;
}

.program-card .footer-wrapper .controls .btn.outline {
    aspect-ratio: 1/1;
}

.program-card .footer-wrapper .controls .btn.outline svg path.stroke-fill {
    stroke: var(--wb-theme-primary);
    fill: var(--wb-theme-primary);
}

.program-card .footer-wrapper .controls .btn.outline svg path {
    fill: var(--wb-theme-primary);
}

.program-card .footer-wrapper .controls .btn.filled {
    aspect-ratio: 1/1;
    background: #1A9F58;
    border-color: #1A9F58;
}

.program-card .footer-wrapper .controls .registered {
    display: flex;
    align-items: center;
    background: #1A9F58;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    color: var(--white-1);
}

.program-card .footer-wrapper .controls .btn.outline svg path {
    fill: var(--wb-theme-primary);
}

.program-card .footer-wrapper .controls .card-action {
    background: var(--wb-theme-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0.75rem;
    flex-grow: 1;
    align-self: stretch;
    color: var(--white-1);
    font-weight: bold;
    text-decoration: none;
    padding: 0 1rem;
}

.program-card .footer-wrapper .controls .card-action .icon {
    height: calc(100% + 1rem);
    aspect-ratio: 1/1;
    background: var(--wb-theme-primary);
    position: absolute;
    top: -0.5rem;
    left: -0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white-1);
    border-radius: 50%;
}

.program-card .footer-wrapper .completed,
.program-info-card .completed {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #1A9F58;
    color: var(--white-1);
    font-weight: bold;
    padding: 1rem;
    border-radius: 0.75rem;
}

/* footer-wrapper */
