.elementor-270 .elementor-element.elementor-element-74e8c31{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-270 .elementor-element.elementor-element-3372856{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-1270d3c */@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* =========================================
   EJABH — ENGLISH DONATION THANK YOU PAGE
   CSS ONLY
========================================= */

.woocommerce-order {
    width: 100%;
    max-width: 1140px;
    margin: 20px auto;
    direction: ltr !important;
    text-align: left !important;
    font-family: "Cairo", Arial, sans-serif !important;
    color: #173b49;
}

.woocommerce-order *,
.woocommerce-order *::before,
.woocommerce-order *::after {
    box-sizing: border-box;
    font-family: "Cairo", Arial, sans-serif !important;
}

/* =========================================
   Donation success message
========================================= */

.woocommerce-order .woocommerce-thankyou-order-received {
    position: relative;
    max-width: 700px;
    margin: 0 auto 22px !important;
    padding: 20px 20px 20px 60px !important;
    color: #08796f !important;
    background: linear-gradient(
        135deg,
        #f0fffb 0%,
        #ffffff 55%,
        #eef7ff 100%
    ) !important;
    border: 1px solid #cfe9e4 !important;
    border-left: 5px solid #0f9b8e !important;
    border-radius: 17px !important;
    text-align: center !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 1.8 !important;
    box-shadow: 0 10px 28px rgba(15, 82, 75, 0.08) !important;
}

.woocommerce-order .woocommerce-thankyou-order-received::before {
    content: "✓" !important;
    position: absolute;
    top: 50%;
    left: 17px;
    right: auto !important;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #14b8a6, #0f8f83);
    border-radius: 50%;
    font-size: 18px;
    transform: translateY(-50%);
    box-shadow: 0 5px 13px rgba(15, 155, 142, 0.25);
}

.woocommerce-order .woocommerce-thankyou-order-received::after {
    content: "Thank you. Your donation has been received successfully.";
    display: inline-block;
    color: #08796f;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.8;
}

/* =========================================
   Donation overview cards
========================================= */

.woocommerce-order .woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-order .woocommerce-order-overview::before,
.woocommerce-order .woocommerce-order-overview::after {
    display: none !important;
}

.woocommerce-order .woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 16px 12px !important;
    color: #526d78 !important;
    background: #ffffff !important;
    border: 1px solid #d8ebe7 !important;
    border-radius: 14px !important;
    text-align: center !important;
    font-size: 0 !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    text-transform: none !important;
    box-shadow: 0 7px 20px rgba(21, 69, 65, 0.05) !important;
}

.woocommerce-order .woocommerce-order-overview li strong {
    display: block !important;
    margin-top: 5px !important;
    color: #123b49 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    direction: ltr !important;
}

.woocommerce-order .woocommerce-order-overview__order::before {
    content: "Donation number";
    display: block;
    color: #526d78;
    font-size: 12px;
    font-weight: 600;
}

.woocommerce-order .woocommerce-order-overview__date::before {
    content: "Donation date";
    display: block;
    color: #526d78;
    font-size: 12px;
    font-weight: 600;
}

.woocommerce-order .woocommerce-order-overview__total::before {
    content: "Donation total";
    display: block;
    color: #526d78;
    font-size: 12px;
    font-weight: 600;
}

.woocommerce-order .woocommerce-order-overview__payment-method::before {
    content: "Donation method";
    display: block;
    color: #526d78;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================
   Payment note
========================================= */

.woocommerce-order > p:not(.woocommerce-notice) {
    margin: 0 0 20px !important;
    padding: 14px 16px !important;
    color: #526d78 !important;
    background: #ffffff !important;
    border: 1px solid #d8ebe7 !important;
    border-radius: 13px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* =========================================
   Detail boxes
========================================= */

.woocommerce-order-details,
.woocommerce-customer-details {
    margin: 0 0 22px !important;
    padding: 20px !important;
    background: linear-gradient(
        135deg,
        rgba(240, 255, 251, 0.55),
        #ffffff 55%,
        rgba(238, 247, 255, 0.55)
    ) !important;
    border: 1px solid #d8ebe7 !important;
    border-radius: 17px !important;
    box-shadow: 0 10px 26px rgba(21, 69, 65, 0.055) !important;
}

/* =========================================
   Section titles
========================================= */

.woocommerce-order-details__title,
.woocommerce-customer-details .woocommerce-column__title {
    position: relative;
    margin: 0 0 17px !important;
    padding: 0 0 11px 18px !important;
    color: #153d4a !important;
    border-bottom: 1px solid #deeeeb !important;
    text-align: left !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
}

.woocommerce-order-details__title::before,
.woocommerce-customer-details .woocommerce-column__title::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    right: auto;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #14b8a6, #0f8f83);
    border-radius: 8px;
}

.woocommerce-order-details__title::after {
    content: "Donation details";
    display: inline-block;
    color: #153d4a;
    font-size: 20px;
    font-weight: 800;
}

.woocommerce-customer-details .woocommerce-column__title::after {
    content: "Donor details";
    display: inline-block;
    color: #153d4a;
    font-size: 20px;
    font-weight: 800;
}

/* =========================================
   Donation details table
========================================= */

.woocommerce-order table.shop_table {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    direction: ltr !important;
    background: #ffffff !important;
    border: 1px solid #d8ebe7 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px !important;
}

.woocommerce-order table.shop_table thead th {
    padding: 15px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #139f91, #087d73) !important;
    border: none !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.woocommerce-order table.shop_table thead th:last-child {
    text-align: right !important;
}

.woocommerce-order table.shop_table tbody td,
.woocommerce-order table.shop_table tfoot th,
.woocommerce-order table.shop_table tfoot td {
    padding: 14px 15px !important;
    color: #254d5a !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #e3efed !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    vertical-align: middle !important;
}

.woocommerce-order table.shop_table tbody td:last-child,
.woocommerce-order table.shop_table tfoot td {
    text-align: right !important;
    direction: ltr !important;
    color: #123b49 !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.woocommerce-order table.shop_table tfoot th {
    font-weight: 700 !important;
}

.woocommerce-order table.shop_table tfoot tr:last-child th,
.woocommerce-order table.shop_table tfoot tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-order table.shop_table a {
    color: #08796f !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-order table.shop_table a:hover {
    color: #05655e !important;
}

.woocommerce-order .product-quantity {
    display: inline-flex !important;
    margin-left: 5px !important;
    padding: 2px 8px !important;
    color: #08796f !important;
    background: rgba(15, 155, 142, 0.1) !important;
    border-radius: 50px !important;
    font-size: 12px !important;
}

/* =========================================
   Table headings
========================================= */

.woocommerce-order
.woocommerce-table--order-details
thead th.product-name {
    font-size: 0 !important;
}

.woocommerce-order
.woocommerce-table--order-details
thead th.product-name::after {
    content: "Campaign";
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.woocommerce-order
.woocommerce-table--order-details
thead th.product-total {
    font-size: 0 !important;
}

.woocommerce-order
.woocommerce-table--order-details
thead th.product-total::after {
    content: "Amount";
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

/* =========================================
   Summary rows — keep custom labels unchanged
========================================= */

.woocommerce-order
.woocommerce-table--order-details
tfoot th,
.woocommerce-order
.woocommerce-table--order-details
tfoot td {
    padding: 14px 15px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e3efed !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Keep all middle/custom rows exactly as WooCommerce outputs them */
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:not(:first-child):not(:nth-last-child(2)):not(:last-child) th {
    color: #254d5a !important;
    font-size: 14px !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:not(:first-child):not(:nth-last-child(2)):not(:last-child) th::before,
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:not(:first-child):not(:nth-last-child(2)):not(:last-child) th::after {
    content: none !important;
    display: none !important;
}

/* =========================================
   Subtotal — unchanged label, highlighted color
========================================= */

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:first-child th,
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:first-child td {
    color: #9a6700 !important;
    background: linear-gradient(
        135deg,
        #fff9e8,
        #fffdf6
    ) !important;
    border-bottom: 1px solid #f0dfaa !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:first-child th::before,
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:first-child th::after {
    content: none !important;
    display: none !important;
}

/* =========================================
   Total donation — second-to-last row
========================================= */

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:nth-last-child(2) th,
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:nth-last-child(2) td {
    color: #08796f !important;
    background: #ecfaf7 !important;
    border-bottom: 1px solid #cfe9e4 !important;
    font-weight: 800 !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:nth-last-child(2) th {
    font-size: 0 !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:nth-last-child(2) th::after {
    content: "Total donation";
    display: inline-block;
    color: #08796f;
    font-size: 15px;
    font-weight: 800;
}

/* =========================================
   Donation method — final row
========================================= */

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child th,
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child td {
    color: #254d5a !important;
    background: #ffffff !important;
    border-bottom: none !important;
    font-weight: 700 !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child th {
    font-size: 0 !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child th::after {
    content: "Donation method";
    display: inline-block;
    color: #254d5a;
    font-size: 14px;
    font-weight: 700;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child td {
    color: #123b49 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: right !important;
    direction: ltr !important;
}

.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child td::before,
.woocommerce-order
.woocommerce-table--order-details
tfoot tr:last-child td::after {
    content: none !important;
    display: none !important;
}

/* =========================================
   Donor details
========================================= */

.woocommerce-customer-details address {
    margin: 0 !important;
    padding: 18px !important;
    color: #345965 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #d8ebe7 !important;
    border-radius: 14px !important;
    text-align: left !important;
    font-style: normal !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 2 !important;
}

.woocommerce-customer-details address p {
    margin: 8px 0 0 !important;
    padding: 9px 12px !important;
    color: #345965 !important;
    background: #f4fbfa !important;
    border-radius: 9px !important;
    text-align: left !important;
    font-size: 13px !important;
    direction: ltr !important;
    word-break: break-word;
}

.woocommerce-customer-details--phone::before {
    content: "Phone: ";
    color: #08796f;
    font-weight: 800;
}

.woocommerce-customer-details--email::before {
    content: "Email: ";
    color: #08796f;
    font-weight: 800;
}

/* =========================================
   Prices
========================================= */

.woocommerce-order .woocommerce-Price-amount {
    direction: ltr !important;
    display: inline-block;
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 800px) {
    .woocommerce-order .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {
    .woocommerce-order {
        margin: 10px auto;
    }

    .woocommerce-order .woocommerce-thankyou-order-received {
        padding: 16px 12px 16px 50px !important;
    }

    .woocommerce-order .woocommerce-thankyou-order-received::before {
        left: 12px;
        right: auto !important;
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .woocommerce-order .woocommerce-thankyou-order-received::after {
        font-size: 15px;
    }

    .woocommerce-order .woocommerce-order-overview {
        gap: 8px !important;
    }

    .woocommerce-order .woocommerce-order-overview li {
        padding: 12px 8px !important;
    }

    .woocommerce-order .woocommerce-order-overview li::before {
        font-size: 10px !important;
    }

    .woocommerce-order .woocommerce-order-overview li strong {
        font-size: 12px !important;
    }

    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 13px 9px !important;
    }

    .woocommerce-order-details__title::after,
    .woocommerce-customer-details .woocommerce-column__title::after {
        font-size: 17px !important;
    }

    .woocommerce-order table.shop_table thead th,
    .woocommerce-order table.shop_table tbody td,
    .woocommerce-order table.shop_table tfoot th,
    .woocommerce-order table.shop_table tfoot td {
        padding: 11px 8px !important;
        font-size: 11px !important;
    }

    .woocommerce-order
    .woocommerce-table--order-details
    thead th.product-name::after,
    .woocommerce-order
    .woocommerce-table--order-details
    thead th.product-total::after {
        font-size: 12px;
    }

    .woocommerce-order
    .woocommerce-table--order-details
    tfoot tr:first-child th,
    .woocommerce-order
    .woocommerce-table--order-details
    tfoot tr:not(:first-child):not(:nth-last-child(2)):not(:last-child) th {
        font-size: 11px !important;
    }

    .woocommerce-order
    .woocommerce-table--order-details
    tfoot tr:nth-last-child(2) th::after,
    .woocommerce-order
    .woocommerce-table--order-details
    tfoot tr:last-child th::after {
        font-size: 11px !important;
    }

    .woocommerce-order
    .woocommerce-table--order-details
    tfoot tr:last-child td {
        font-size: 11px !important;
    }
}

/* =========================================
   Small phones
========================================= */

@media (max-width: 380px) {
    .woocommerce-order .woocommerce-order-overview {
        grid-template-columns: 1fr !important;
    }
}/* End custom CSS */