.lblerr{color:red;font-size:15px}
  .donation_{

    padding-bottom: 30px;
    padding-top: 10px;
}
.donation_ details {
    border: 1px solid #ddd;
    background: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
    .donation_ details summary {
    cursor: pointer;
    padding: 1rem;
    border-bottom: 1px solid #ddd; }
    .donation_ details div
    {
    padding: 5px 10px;

    }

    .donation_ details[open] > summary:first-of-type {
    list-style-type: disclosure-open;
}
    .donation_ details > summary:first-of-type {
        display: list-item;
        counter-increment: list-item 0;
        list-style: inside disclosure-closed;
    }

    .donation_ details  {
        border-bottom: 0px;
    }
    .donation_ details[open]  {
        border-bottom: 1px solid #ddd;
    }

    .make_donation{
    box-sizing: border-box;
    border: 1px solid #d3ced2;
    padding: 6px 6px 5px;
    margin: 0 4px 0 0;
    outline: 0;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0px;
    padding: 4px 4px;
    color: #666;
    margin-bottom: 1rem;
    height: 44px;
    box-shadow: none;
    margin-bottom: 10px;
    width: 100%;

    }
.add_donation{
    background: #0088cc;
    padding: 13px 26px;
    text-transform: uppercase;
    font-size: 12px !important;
    color: #fff;
    text-align: center;
    border-radius: 0px;
    margin-bottom: 0;
    font-family: 'MontserratRegular';
    z-index: 1;
    line-height: 1.5;
    position: relative;
    text-decoration: none;
     width: 100%;
     cursor:pointer;
}
.add_donation:hover{
    color: #fff;
    background: #036fa5;
    transition: all .5s ease 0s;
}
select.make_donation{
    width: 100%;
}
select.make_donation_cat{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d3ced2;
    padding: 6px 6px 5px;
    margin: 0 4px 0 0;
    outline: 0;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0px;
    padding: 4px 4px;
    color: #666;
    margin-bottom: 1rem;
    height: 44px;
    box-shadow: none;
    margin-bottom: 10px;
}

.donation_blk{display:inline-block;width:100%}
.i13_req{margin-left:5px;color:#e43d33}
summary.donation_summary::marker {font-size: 20px;}
.donation_summary label{display:inline}

/* -------------------------------------------------------------------------
   Theme-resilient layout (v1.0.6)
   Scoped to .donation_ (present in every placement). Uses flexbox so it no
   longer depends on the old float grid or on JS width detection, with
   comfortable, consistent spacing so the label, field and button are never
   cramped together.
   ------------------------------------------------------------------------- */
.donation_ { padding: 14px 0 16px; }
.donation_ *, .donation_ *::before, .donation_ *::after { box-sizing: border-box; }
.donation_ .donation_blk { display: block; width: 100%; margin: 0; }

/* Disclosure header */
.donation_ details > summary.donation_summary {
    display: block;
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    margin: 0;
}
.donation_ details > summary.donation_summary::-webkit-details-marker { display: none; }
.donation_ details > summary.donation_summary::marker { content: ""; }
.donation_ details > summary.donation_summary::before {
    content: "\25B8"; display: inline-block; margin-right: 8px;
    transition: transform .2s ease;
}
.donation_ details[open] > summary.donation_summary::before { transform: rotate(90deg); }

/* Field row: flex, wraps on its own in narrow areas. Padding gives breathing
   room so nothing sticks to the box edges. */
.donation_ .scontainer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 18px;        /* space between the field and the button */
    width: 100%;
    margin: 0;
    padding: 16px;         /* space inside the form body */
}

/* Field / button cells */
.donation_ .scontainer > div {
    float: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    align-self: flex-start;
}
.donation_ .scontainer > div:first-child { flex: 1 1 240px; }
.donation_ .scontainer > div:last-child  { flex: 0 1 auto; }

/* Clear space between a label and its control */
.donation_ .scontainer > div > label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.3;
    font-weight: 500;
}

/* The amount field / select: full width of its cell (beats theme .qty width). */
.donation_ .scontainer input.make_donation,
.donation_ .scontainer select.make_donation,
.donation_ .scontainer select.make_donation_cat {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    display: block !important;
}

/* The button: content width on wide layouts, same height as the field. */
.donation_ .scontainer input.add_donation,
.donation_ .scontainer .add_donation {
    width: auto !important;
    min-width: 170px;
    height: 44px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

/* When the row wraps (narrow sidebar / mobile), the button goes full width. */
@media (max-width: 480px) {
    .donation_ .scontainer > div:last-child { flex: 1 1 100%; }
    .donation_ .scontainer .add_donation { width: 100% !important; }
}
.donation_ .scontainer > div.sfull-width { flex: 1 1 100%; }
.donation_ .scontainer > div.sfull-width .add_donation { width: 100% !important; }

/* Hide the empty helper node so it never adds stray height. */
.donation_ .scontainer .lblerr:empty { display: none; }

/* Block cart / checkout: a tidy card at the top of the totals column. */
.i13-sdw-block-donation { margin: 0 0 24px 0; padding: 4px; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; box-sizing: border-box; }
.i13-sdw-block-donation .donation_blk { margin: 0; }

/* Cart & Checkout Blocks: inline notice + React donation form (ExperimentalOrderMeta slot) */
.i13-sdw-block-notice{margin:0 0 14px;padding:10px 14px;border-radius:6px;font-size:14px;line-height:1.45;box-sizing:border-box}
.i13-sdw-block-notice.i13-sdw-notice-error{background:#fde8e8;color:#9b1c1c;border:1px solid #f8b4b4}
.i13-sdw-block-notice.i13-sdw-notice-success{background:#e7f6ec;color:#1e6b36;border:1px solid #a7d7b4}
.i13-sdw-block-donation-react{box-sizing:border-box;margin:12px 0 0;padding:12px 0 0;border:0;border-top:1px solid rgba(0,0,0,.1);border-radius:0;background:transparent;}
.i13-sdw-block-donation-react .i13-sdw-react-title{font-weight:600;font-size:1em;margin:0 0 12px;}
.i13-sdw-block-donation-react .i13-sdw-react-row{display:flex;flex-direction:column;margin:0 0 12px;}
.i13-sdw-block-donation-react .i13-sdw-react-label{margin:0 0 6px;font-size:.9em;}
.i13-sdw-block-donation-react .i13-sdw-react-field{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid rgba(0,0,0,.2);border-radius:4px;line-height:1.4;}
.i13-sdw-block-donation-react .i13-sdw-react-submit{display:inline-block;width:100%;box-sizing:border-box;padding:10px 14px;border:0;border-radius:4px;cursor:pointer;background:#1e73be;color:#fff;font-weight:600;text-align:center;}
.i13-sdw-block-donation-react .i13-sdw-react-submit[disabled]{opacity:.6;cursor:default;}
.i13-sdw-block-donation-react .i13_req{color:#c0392b;}
