.dw-checkout{--dw-primary:#0d9488;--dw-font:inherit;font-family:var(--dw-font);color:var(--dw-text,#172b36);max-width:1100px;margin:auto}.dw-checkout *{box-sizing:border-box}.dw-glass{padding:clamp(16px,3vw,32px);border:1px solid rgba(150,170,185,.28);border-radius:26px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(245,250,255,.66));box-shadow:0 18px 55px rgba(18,37,50,.09);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.dw-glass h2{margin:0 0 22px;font-size:clamp(22px,3vw,30px)}.dw-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}.dw-item{position:relative;min-width:0;border:1px solid rgba(140,160,175,.26);border-radius:20px;overflow:hidden;background:rgba(255,255,255,.68);transition:border-color .18s,box-shadow .18s}.dw-item.is-selected{border-color:var(--dw-primary);box-shadow:0 0 0 1px var(--dw-primary),0 12px 26px rgba(0,0,0,.08)}.dw-item-main{position:relative;display:flex;flex-direction:column;width:100%;padding:12px;gap:12px;border:0;background:transparent;text-align:start;cursor:pointer;color:inherit;font:inherit}.dw-item-main:focus-visible,.dw-counter button:focus-visible,.dw-donate:focus-visible{outline:3px solid var(--dw-primary);outline-offset:2px}.dw-item-media{display:grid;place-items:center;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:13px;background:rgba(120,145,160,.10)}.dw-item-media img{width:100%;height:100%;object-fit:cover;display:block}.dw-item-icon{font-size:clamp(38px,5vw,64px);color:var(--dw-primary)}.dw-item-content{display:flex;flex-direction:column;gap:8px;width:100%;min-height:104px}.dw-item-content strong{font-size:17px}.dw-description{font-size:13px;line-height:1.5;opacity:.72;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.dw-price{font-size:19px;font-weight:800;margin-top:auto}.dw-selected-indicator{position:absolute;top:20px;inset-inline-end:20px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;background:color-mix(in srgb,var(--dw-primary) 82%,transparent);border:1px solid rgba(255,255,255,.75);box-shadow:0 4px 14px rgba(0,0,0,.16);backdrop-filter:blur(12px)}.dw-selected-indicator:empty{display:none}.dw-item-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 14px;flex-wrap:wrap}.dw-selected-label{font-size:12px;color:var(--dw-primary);font-weight:700}.dw-counter{display:flex;align-items:center;gap:10px;border-radius:12px;background:rgba(120,145,160,.1)}.dw-counter button{border:0;background:transparent;padding:7px 12px;cursor:pointer;font-size:18px;color:inherit}.dw-counter output{min-width:16px;text-align:center;font-weight:700}.dw-summary{margin-top:24px;padding:18px;border:1px solid rgba(140,160,175,.24);border-radius:18px;background:rgba(255,255,255,.58)}.dw-summary h3{margin:0 0 12px}.dw-summary-row,.dw-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(140,160,175,.16)}.dw-summary-row span{display:flex;flex-direction:column;gap:5px}.dw-summary-row small{color:var(--dw-primary)}.dw-total{font-size:20px;border-bottom:0}.dw-donate{width:100%;padding:15px;border:0;border-radius:13px;color:white;background:var(--dw-primary);font:inherit;font-weight:750;cursor:pointer}.dw-donate:disabled{opacity:.5;cursor:not-allowed}.dw-empty{opacity:.65}@media(max-width:480px){.dw-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dw-item-main{padding:8px}.dw-item-content strong{font-size:14px}.dw-description{font-size:12px}.dw-price{font-size:15px}.dw-item-footer{padding:7px;gap:4px}.dw-counter{gap:0}.dw-counter button{padding:6px 9px}}

/* DW6.12 STUDIO CHECKOUT LAYOUT */
.dw82 .dw609-checkout {
  width: 100%;
  max-width: 100%;
  direction: inherit;
}

.dw82 .dw609-checkout .dw-glass {
  width: 100%;
  max-width: 100%;
  padding: clamp(14px, 3vw, 28px);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.94),
    rgba(239,248,249,.88)
  );
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 14px 35px rgba(15,40,60,.09);
}

.dw82 .dw609-checkout .dw-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 14px;
}

.dw82 .dw609-checkout .dw-item {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid #dbe8eb;
  box-shadow: 0 5px 18px rgba(15,40,60,.06);
}

.dw82 .dw609-checkout .dw-item.is-selected {
  border-color: var(--dw-primary,#0d9488);
  box-shadow: 0 0 0 2px rgba(13,148,136,.12);
}

.dw82 .dw609-checkout .dw-item-main {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
}

.dw82 .dw609-checkout .dw-item-media {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 240px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #edf4f5;
}

.dw82 .dw609-checkout .dw-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.dw82 .dw609-checkout .dw-item-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dw82 .dw609-checkout .dw-item-content strong {
  font-size: 16px;
  line-height: 1.5;
}

.dw82 .dw609-checkout .dw-description {
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.dw82 .dw609-checkout .dw-price {
  font-size: 17px;
  font-weight: 750;
}

.dw82 .dw609-checkout .dw-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.dw82 .dw609-checkout .dw-counter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dw82 .dw609-checkout .dw-counter button {
  min-width: 34px;
  min-height: 34px;
  border-radius: 9px;
  cursor: pointer;
}

.dw82 .dw609-checkout .dw-summary {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.8);
  border: 1px solid #e0e9ed;
}

.dw82 .dw609-checkout .dw-summary-row,
.dw82 .dw609-checkout .dw-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dw82 .dw609-checkout .dw-donate {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
}

@media(max-width:680px) {
  .dw82 .dw609-checkout .dw-item-grid {
    grid-template-columns: 1fr;
  }
  .dw82 .dw609-checkout .dw-item-media {
    max-height: 210px;
  }
}

/* DW6.18 Checkout two layouts and one-page draft */
.dw82 .dw609-checkout .dw618 .dw-item-grid.dw618-compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px}
.dw82 .dw609-checkout .dw618 .dw-item-grid.dw618-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.dw82 .dw609-checkout .dw618 .dw618-list .dw-item{display:flex;align-items:center;flex-wrap:wrap}
.dw82 .dw609-checkout .dw618 .dw618-list .dw-item-main{display:flex;flex-direction:row;align-items:center;flex:1 1 240px;min-width:0}
.dw82 .dw609-checkout .dw618 .dw618-list .dw-item-media{width:78px;min-width:78px;height:78px;aspect-ratio:1}
.dw82 .dw609-checkout .dw618 .dw618-list .dw-item-content{min-height:0;flex:1}
.dw82 .dw609-checkout .dw618 .dw618-list .dw-item-footer{flex:0 0 auto}
.dw82 .dw609-checkout .dw618 .dw-item-media{position:relative;aspect-ratio:1/1;height:auto;max-height:none;width:100%;display:grid;place-items:center;overflow:hidden}
.dw82 .dw609-checkout .dw618 .dw-item-media img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;max-height:none;max-width:none}
.dw82 .dw609-checkout .dw618 .dw618-compact .dw-item-main{padding:9px;gap:7px}
.dw82 .dw609-checkout .dw618 .dw618-compact .dw-item-content{min-height:0;gap:5px}
.dw82 .dw609-checkout .dw618 .dw618-compact .dw-item-content strong{font-size:14px}
.dw82 .dw609-checkout .dw618 .dw618-compact .dw-description{font-size:12px}
.dw82 .dw609-checkout .dw618 .dw618-compact .dw-price{font-size:16px}
.dw618-switch{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}
.dw618-view-button{border:1px solid #c9dadd;background:white;border-radius:12px;padding:9px 14px;cursor:pointer;color:inherit;font:inherit}
.dw618-view-button.active{border-color:var(--dw-primary);color:var(--dw-primary);font-weight:700;box-shadow:0 0 0 1px var(--dw-primary)}
.dw82 .dw609-checkout .dw618 .dw-item{position:relative}
.dw618-media-edit{position:absolute;top:16px;inset-inline-start:16px;z-index:2;width:31px;height:31px;border:1px solid white;border-radius:50%;background:var(--dw-primary);color:white;cursor:pointer;font-size:21px;box-shadow:0 4px 12px #0002}
.dw618-icon{font-size:clamp(32px,5vw,58px);color:var(--dw-primary);line-height:1}
.dw618-custom,.dw618-donor,.dw618-payment{border:1px solid #dae5e8;border-radius:15px;padding:15px;margin-top:17px;background:#fff9}
.dw618-custom label,.dw618-donor label{display:block;font-weight:650;font-size:14px}
.dw618-custom input,.dw618-fields input{width:100%;min-width:0;border:1px solid #cbd9de;border-radius:10px;padding:11px;background:white;color:#172b36;margin-top:7px;font:inherit}
.dw618-custom small{display:block;margin-top:6px;opacity:.65}
.dw618-donor h3,.dw618-payment h3{margin:0 0 12px;font-size:18px}
.dw618-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dw618-methods,.dw618-frequency{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.dw618-methods label,.dw618-frequency label{display:flex;align-items:center;gap:6px;border:1px solid #d5e2e6;border-radius:10px;padding:10px;cursor:pointer}
.dw618-summary-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #dce7e9;padding:9px 0}
.dw618-preview-note{font-size:12px;opacity:.65;text-align:center;margin:10px 0 0}
@media(max-width:680px){.dw82 .dw609-checkout .dw618 .dw-item-grid.dw618-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.dw618-fields{grid-template-columns:1fr}.dw82 .dw609-checkout .dw618 .dw618-list .dw-item-media{width:64px;min-width:64px;height:64px}}

/* DW6.19 checkout media editor */
.dw619-backdrop{position:fixed;inset:0;z-index:2147483000;background:#061b2dbb;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(3px)}
.dw619-modal{width:min(780px,100%);max-height:88vh;overflow:auto;background:#fff;color:#172b36;border-radius:20px;padding:20px;box-shadow:0 20px 70px #0004;font:inherit;direction:inherit}
.dw619-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.dw619-head h3{margin:0;font-size:20px}.dw619-head button{border:0;background:#e9f0f2;border-radius:10px;width:38px;height:38px;cursor:pointer;font-size:26px}
.dw619-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.dw619-tabs button,.dw619-primary{border:1px solid #cad9df;background:#f6f9fa;padding:9px 12px;border-radius:10px;cursor:pointer;color:inherit;font:inherit}.dw619-tabs button.active,.dw619-primary{background:#0d9488;color:white;border-color:#0d9488}
.dw619-input{display:block;width:100%;margin:8px 0 14px;padding:12px;border:1px solid #cbd9df;border-radius:10px;color:#172b36;background:white;box-sizing:border-box}
.dw619-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;margin:12px 0}.dw619-icon-option,.dw619-asset{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;background:#f8fbfc;border:1px solid #dbe5e9;border-radius:12px;padding:8px;cursor:pointer;color:#172b36;font:inherit}.dw619-icon-option:hover,.dw619-asset:hover{border-color:#0d9488;background:#eaf7f4}.dw619-icon-glyph{font-size:34px;line-height:1;color:var(--dw-primary,#0d9488)}.dw619-icon-option small{font-size:12px;text-align:center}.dw619-asset img{width:100%;height:75px;object-fit:cover;border-radius:7px}.dw619-asset span{font-size:11px;overflow-wrap:anywhere}.dw619-status{min-height:20px;color:#49606c;font-size:13px}
.dw619-modal button:focus-visible{outline:3px solid #0d9488;outline-offset:2px}

/* DW Studio checkout presentation pass: CSS-only, no payment/amount logic changes. */
.dw-checkout .dw618-shell{--dw-checkout-border:color-mix(in srgb,var(--dw-primary,#0d9488) 18%,#dce5ea);display:grid;gap:clamp(14px,2.5vw,24px);border-color:var(--dw-checkout-border);}
.dw-checkout .dwcs-steps{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--dw-checkout-border);font-size:.85rem;}
.dw-checkout .dwui-form-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.dw-checkout .dwui-form-head h2{margin:0;line-height:1.25;}
.dw-checkout .dw-item-grid{gap:clamp(10px,1.8vw,18px);}
.dw-checkout .dw-item{border-radius:18px;box-shadow:0 4px 18px rgba(17,37,53,.045);}
.dw-checkout .dw-item.is-selected{background:color-mix(in srgb,var(--dw-primary,#0d9488) 6%,white);}
.dw-checkout .dw-item-main{gap:10px;}
.dw-checkout .dw-item-content{min-width:0;overflow-wrap:anywhere;}
.dw-checkout .dw-price{font-weight:800;color:var(--dw-primary,#0d9488);}
.dw-checkout .dw618-custom,.dw-checkout .dw618-donor,.dw-checkout .dw618-payment,.dw-checkout .dw-summary{min-width:0;padding:clamp(14px,2vw,22px);border:1px solid var(--dw-checkout-border);border-radius:18px;background:rgba(255,255,255,.68);}
.dw-checkout .dw618-donor h3,.dw-checkout .dw618-payment h3,.dw-checkout .dw-summary h3{margin:0 0 14px;line-height:1.3;}
.dw-checkout .dw618-fields label{min-width:0;}
.dw-checkout .dw618-fields input{width:100%;max-width:100%;}
.dw-checkout .dw618-methods label,.dw-checkout .dw618-frequency label{border-radius:12px;min-height:44px;transition:border-color .15s,background-color .15s;}
.dw-checkout .dw618-methods label:has(input:checked),.dw-checkout .dw618-frequency label:has(input:checked){border-color:var(--dw-primary,#0d9488);background:color-mix(in srgb,var(--dw-primary,#0d9488) 8%,white);}
.dw-checkout .dw-summary{background:color-mix(in srgb,var(--dw-primary,#0d9488) 3%,white);}
.dw-checkout .dw-total{border-top:1px solid var(--dw-checkout-border);padding-top:15px;}
.dw-checkout .dw-donate{width:100%;min-height:50px;border-radius:13px;}
.dw-checkout :is(input,button,select):focus-visible{outline:3px solid var(--dw-primary,#0d9488);outline-offset:2px;}
@media(max-width:680px){.dw-checkout .dw618-shell{gap:12px;padding:14px;border-radius:18px}.dw-checkout .dw618-custom,.dw-checkout .dw618-donor,.dw-checkout .dw618-payment,.dw-checkout .dw-summary{padding:14px;border-radius:14px}.dw-checkout .dw618-methods label,.dw-checkout .dw618-frequency label{flex:1 1 125px}.dw-checkout .dw-item-main{padding:10px}}
@media(prefers-reduced-motion:reduce){.dw-checkout .dw-item,.dw-checkout .dw618-methods label,.dw-checkout .dw618-frequency label{transition:none}}

/* DW checkout layout refinement: visual only; the existing field order and handlers stay intact. */
.dw-checkout .dw618-shell{min-width:0;align-content:start}
.dw-checkout .dw618-shell>section{min-width:0}
.dw-checkout .dw618-frequency,.dw-checkout .dw618-methods{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.dw-checkout .dw618-frequency label,.dw-checkout .dw618-methods label{display:inline-flex;align-items:center;gap:9px;min-width:0;cursor:pointer}
.dw-checkout .dw618-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}
.dw-checkout .dw618-fields label{display:flex;flex-direction:column;gap:7px}
.dw-checkout .dw618-fields :is(input,select,textarea){box-sizing:border-box;min-height:44px;border-radius:10px}
.dw-checkout .dw618-summary-row,.dw-checkout .dw-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.dw-checkout .dw618-summary-row>*,.dw-checkout .dw-total>*{min-width:0;overflow-wrap:anywhere}
.dw-checkout .dw618-shell:dir(rtl) .dw618-summary-row,.dw-checkout .dw618-shell:dir(rtl) .dw-total{direction:rtl}
.dw-checkout .dw618-shell :is(.dw618-frequency,.dw618-methods) input[type=radio]{accent-color:var(--dw-primary,#0d9488);flex:none}
@media(max-width:480px){.dw-checkout .dw618-frequency,.dw-checkout .dw618-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dw-checkout .dw618-fields{grid-template-columns:minmax(0,1fr)}.dw-checkout .dw618-shell .dwui-form-head{align-items:flex-start}}

/* DW Studio checkout visual tokens — presentation only, no form reordering. */
.dw-checkout{
  --dw-checkout-radius:var(--dw-studio-checkout-radius,16px);
  --dw-checkout-gap:var(--dw-studio-checkout-gap,14px);
  --dw-checkout-card-bg:var(--dw-studio-checkout-card-bg,#fff);
  --dw-checkout-selected-bg:var(--dw-studio-checkout-selected-bg,color-mix(in srgb,var(--dw-primary,#0d9488) 9%,white));
}
.dw-checkout .dw-item-grid{gap:var(--dw-checkout-gap)}
.dw-checkout .dw-item{border-radius:var(--dw-checkout-radius);background:var(--dw-checkout-card-bg);min-width:0}
.dw-checkout .dw-item:is(.selected,[aria-pressed="true"],[aria-selected="true"]){
  background:var(--dw-checkout-selected-bg);border-color:var(--dw-primary,#0d9488);
}
.dw-checkout .dw-item :is(.dw-description,.dw-price){overflow-wrap:anywhere}
.dw-checkout .dw-item :is(button,input,select){max-width:100%}
.dw-checkout .dw-item:focus-within{outline:2px solid var(--dw-primary,#0d9488);outline-offset:2px}
.dw-checkout .dw-item-media img{display:block;max-width:100%;height:auto}
@media(max-width:480px){
 .dw-checkout .dw-item-grid{grid-template-columns:minmax(0,1fr)}
 .dw-checkout .dw-item{width:100%}
}
@media(forced-colors:active){
 .dw-checkout .dw-item:is(.selected,[aria-pressed="true"],[aria-selected="true"]){outline:2px solid Highlight;outline-offset:2px}
}

/* DW checkout: responsive visual polish, scoped to existing controls only. */
.dw-checkout .dw-item-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:stretch}
.dw-checkout .dw-item{display:flex;flex-direction:column;overflow:hidden;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.dw-checkout .dw-item .dw-item-content{flex:1;display:flex;flex-direction:column;gap:6px}
.dw-checkout .dw-item .dw-price{margin-top:auto;font-variant-numeric:tabular-nums}
.dw-checkout .dw-item:is(.selected,[aria-pressed="true"],[aria-selected="true"]){box-shadow:0 0 0 2px color-mix(in srgb,var(--dw-primary,#0d9488) 24%,transparent)}
.dw-checkout .dw618-fields :is(input,select,textarea){min-width:0;background:var(--dw-checkout-card-bg,#fff)}
.dw-checkout .dw618-frequency label,.dw-checkout .dw618-methods label{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.dw-checkout .dw-donate{font-weight:750;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.dw-checkout :is(.dw-item,.dw618-frequency label,.dw618-methods label):focus-within{outline:2px solid var(--dw-primary,#0d9488);outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.dw-checkout .dw-item:hover{transform:translateY(-2px)}}
@media(max-width:480px){.dw-checkout .dw-item-grid{grid-template-columns:minmax(0,1fr)}.dw-checkout .dw618-frequency,.dw-checkout .dw618-methods{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}}
@media(prefers-reduced-motion:reduce){.dw-checkout .dw-item{transition:none;transform:none!important}}

/* Studio-controlled checkout visual tokens. Scoped to the shared checkout component. */
.dw-checkout .dw-item-grid{gap:var(--dw-checkout-card-gap,12px)}
.dw-checkout .dw-item{border-radius:var(--dw-checkout-card-radius,18px)}
.dw-checkout[data-dw-checkout-style="glass"] .dw-item{background:color-mix(in srgb,var(--dw-primary,#0d9488) 7%,transparent);backdrop-filter:blur(12px)}
.dw-checkout[data-dw-checkout-style="outline"] .dw-item{background:transparent;border:1.5px solid var(--dw-primary,#0d9488)}

/* Published and Studio shared checkout appearance; strict scoped tokens. */
.dw-checkout .dw-item-grid.dw618-compact,.dw-checkout .dw-item-grid.dw618-list{gap:var(--dw-checkout-card-gap,12px)}
.dw-checkout .dw-item{border-radius:var(--dw-checkout-card-radius,18px)}
.dw-checkout[data-dw-checkout-style="glass"] .dw-item{background:rgba(255,255,255,.52);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.dw-checkout[data-dw-checkout-style="outline"] .dw-item{background:transparent;border:1.5px solid var(--dw-primary,#0d9488)}

/* Preserve selected-card visibility across Studio styles. */
.dw-checkout[data-dw-checkout-style="glass"] .dw-item.is-selected,
.dw-checkout[data-dw-checkout-style="outline"] .dw-item.is-selected{border-color:var(--dw-primary,#0d9488);box-shadow:0 0 0 2px color-mix(in srgb,var(--dw-primary,#0d9488) 32%,transparent)}
@media (prefers-reduced-transparency:reduce){.dw-checkout[data-dw-checkout-style="glass"] .dw-item{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--dw-checkout-card-bg,#fff)}}

/* DW checkout visibility patch: clear controls and distinct visual presets. */
.dwcs-appearance-heading{font-weight:750;font-size:14px;margin:16px 0 4px;padding-top:12px;border-top:1px solid #d9e4ea}
.dwcs-appearance-hint{font-size:12px;line-height:1.6;color:#516a79;margin:3px 0 10px}
.dw-checkout[data-dw-checkout-style="glass"] .dw-item{background:color-mix(in srgb,var(--dw-primary,#0d9488) 9%,#fff 91%);border:1px solid color-mix(in srgb,var(--dw-primary,#0d9488) 24%,transparent);box-shadow:0 10px 25px #0a25331a,inset 0 1px #ffffffb8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.dw-checkout[data-dw-checkout-style="outline"] .dw-item{background:transparent;border:2px solid var(--dw-primary,#0d9488);box-shadow:none}

/* QTRAH RC28 share layout parity: list row geometry and quantity control.
   Scoped to the shared checkout renderer so Studio and published campaigns agree. */
.dw-checkout.dw618 .dw-item-grid.dw618-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
.dw-checkout.dw618 .dw618-list .dw-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;min-height:66px;padding:6px 9px 6px 5px;border:2px solid var(--dw-checkout-border,#dfe6f0)!important;border-radius:14px!important;background:#fff!important;overflow:hidden;box-shadow:none!important}
.dw-checkout.dw618 .dw618-list .dw-item:hover,.dw-checkout.dw618 .dw618-list .dw-item.is-selected{border-color:var(--dw-primary)!important;background:color-mix(in srgb,var(--dw-primary) 5%,white)!important;box-shadow:0 6px 16px rgba(39,45,96,.09)!important}
.dw-checkout.dw618 .dw618-list .dw-item-main{display:grid!important;grid-template-columns:44px minmax(0,1fr) 20px!important;align-items:center;flex:none!important;gap:9px!important;padding:6px 5px!important;min-width:0}
.dw-checkout.dw618 .dw618-list .dw-item-media{display:grid!important;place-items:center;width:44px!important;min-width:44px!important;height:44px!important;aspect-ratio:1!important;border:0!important;background:transparent!important;overflow:visible!important;font-size:28px}
.dw-checkout.dw618 .dw618-list .dw-item-content{display:flex!important;min-height:0!important;gap:3px!important;min-width:0}
.dw-checkout.dw618 .dw618-list .dw-item-content strong{font-size:16px!important;line-height:1.35}
.dw-checkout.dw618 .dw618-list .dw-description{font-size:12px!important;line-height:1.4!important;-webkit-line-clamp:2}
.dw-checkout.dw618 .dw618-list .dw-price{font-size:13px!important;margin:0!important}
.dw-checkout.dw618 .dw618-list .dw-selected-indicator{position:static!important;width:20px!important;height:20px!important;box-shadow:none!important;border:0!important;background:transparent!important;color:var(--dw-primary)!important;font-size:21px}
.dw-checkout.dw618 .dw618-list .dw-item-footer{display:flex!important;flex-direction:row-reverse!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important;padding:0!important;min-width:0}
.dw-checkout.dw618 .dw618-list .dw-selected-label{display:none!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total{display:flex!important;flex-direction:column;align-items:center;min-width:68px;color:var(--dw-primary);line-height:1.2}
.dw-checkout.dw618 .dw618-list .dw618-line-total small{font-size:10px;font-weight:700;opacity:.7}
.dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:15px;white-space:nowrap}
.dw-checkout.dw618 .dw618-list .dw-counter{display:grid!important;grid-template-columns:28px 32px 28px!important;gap:0!important;width:88px!important;min-width:88px!important;height:36px!important;border:1px solid #dfe6f0!important;border-radius:10px!important;overflow:hidden;background:#fff!important;box-shadow:0 4px 12px rgba(39,45,96,.08)}
.dw-checkout.dw618 .dw618-list .dw-counter button{width:28px!important;min-width:28px!important;height:36px!important;padding:0!important;border:0!important;border-radius:0!important;background:color-mix(in srgb,var(--dw-primary) 10%,white)!important;color:var(--dw-primary)!important;font-size:18px!important;font-weight:900!important}
.dw-checkout.dw618 .dw618-list .dw-counter output{min-width:0!important;text-align:center!important;font-size:15px!important;font-weight:800!important;line-height:36px!important}
.dw-checkout.dw618 .dw618-compact .dw618-line-total{display:none!important}
.dw-checkout.dw618 .dw618-compact .dw-item-media{aspect-ratio:1/1!important;overflow:hidden!important}
.dw-checkout.dw618 .dw618-compact .dw-item-media img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(max-width:520px){
.dw-checkout.dw618 .dw618-list .dw-item{grid-template-columns:minmax(0,1fr) auto!important;gap:3px!important;padding:6px 5px!important;min-height:62px!important}
.dw-checkout.dw618 .dw618-list .dw-item-main{grid-template-columns:28px minmax(0,1fr) 14px!important;gap:5px!important;padding:6px 1px!important}
.dw-checkout.dw618 .dw618-list .dw-item-media{width:28px!important;min-width:28px!important;height:28px!important;font-size:23px!important}
.dw-checkout.dw618 .dw618-list .dw-item-content strong{font-size:13px!important}
.dw-checkout.dw618 .dw618-list .dw-description{font-size:9.5px!important;line-height:1.3!important}
.dw-checkout.dw618 .dw618-list .dw-item-footer{gap:4px!important}
.dw-checkout.dw618 .dw618-list .dw-counter{grid-template-columns:25px 28px 25px!important;width:78px!important;min-width:78px!important;height:35px!important}
.dw-checkout.dw618 .dw618-list .dw-counter button{width:25px!important;min-width:25px!important;height:35px!important}
.dw-checkout.dw618 .dw618-list .dw-counter output{line-height:35px!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total{min-width:58px!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:12px!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total small{font-size:8px!important}
}

/* QTRAH RC28 compact list geometry v2: preserve native checkout interactions. */
.dw-checkout.dw618 .dw-item-grid.dw618-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
.dw-checkout.dw618 .dw618-list .dw-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;align-content:center!important;min-height:0!important;height:auto!important;padding:8px 10px!important;gap:10px!important;border:2px solid #dfe5ef!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;transform:none!important}
.dw-checkout.dw618 .dw618-list .dw-item.is-selected{border-color:var(--dw-primary,#35b5d0)!important;background:color-mix(in srgb,var(--dw-primary,#35b5d0) 4%,#fff)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--dw-primary,#35b5d0) 18%,transparent)!important}
.dw-checkout.dw618 .dw618-list .dw-item-main{display:grid!important;grid-template-columns:36px minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;flex:none!important}
.dw-checkout.dw618 .dw618-list .dw-item-media{display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;aspect-ratio:1!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:hidden!important;font-size:26px!important}
.dw-checkout.dw618 .dw618-list .dw-item-media img{width:100%!important;height:100%!important;object-fit:contain!important}
.dw-checkout.dw618 .dw618-list .dw-item-content{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;min-height:0!important;height:auto!important;width:auto!important;overflow:visible!important}
.dw-checkout.dw618 .dw618-list .dw-item-content strong{font-size:15px!important;line-height:1.35!important;margin:0!important}
.dw-checkout.dw618 .dw618-list .dw-description{font-size:11px!important;line-height:1.35!important;max-height:2.7em!important;margin:0!important}
.dw-checkout.dw618 .dw618-list .dw-price{font-size:13px!important;line-height:1.3!important;margin:1px 0 0!important;font-weight:800!important}
.dw-checkout.dw618 .dw618-list .dw-selected-indicator{position:static!important;display:grid!important;place-items:center!important;width:18px!important;height:20px!important;min-width:18px!important;background:transparent!important;color:var(--dw-primary,#35b5d0)!important;border:0!important;box-shadow:none!important;font-size:19px!important}
.dw-checkout.dw618 .dw618-list .dw-item-footer{display:flex!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;align-self:center!important;flex-wrap:nowrap!important;gap:8px!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;flex:none!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:64px!important;line-height:1.25!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total small{font-size:10px!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:14px!important;white-space:nowrap!important}
.dw-checkout.dw618 .dw618-list .dw-counter{display:grid!important;grid-template-columns:28px 30px 28px!important;gap:0!important;align-items:center!important;width:86px!important;min-width:86px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid #cbdbe7!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.dw-checkout.dw618 .dw618-list .dw-counter button{display:grid!important;place-items:center!important;width:28px!important;min-width:28px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#e9f6fb!important;color:var(--dw-primary,#35b5d0)!important;font-size:19px!important;line-height:1!important}
.dw-checkout.dw618 .dw618-list .dw-counter output{display:block!important;min-width:0!important;height:36px!important;line-height:36px!important;text-align:center!important;font-size:15px!important;font-weight:800!important}
.dw-checkout.dw618 .dw618-list .dw-selected-label{display:none!important}
@media(max-width:560px){
 .dw-checkout.dw618 .dw618-list .dw-item{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;padding:7px 6px!important;border-radius:14px!important}
 .dw-checkout.dw618 .dw618-list .dw-item-main{grid-template-columns:27px minmax(0,1fr) 13px!important;gap:4px!important}
 .dw-checkout.dw618 .dw618-list .dw-item-media{width:27px!important;min-width:27px!important;max-width:27px!important;height:27px!important;min-height:27px!important;max-height:27px!important;font-size:22px!important}
 .dw-checkout.dw618 .dw618-list .dw-item-content strong{font-size:12px!important}
 .dw-checkout.dw618 .dw618-list .dw-description{font-size:9px!important}
 .dw-checkout.dw618 .dw618-list .dw-price{font-size:11px!important}
 .dw-checkout.dw618 .dw618-list .dw-selected-indicator{width:13px!important;min-width:13px!important;font-size:15px!important}
 .dw-checkout.dw618 .dw618-list .dw-item-footer{gap:4px!important}
 .dw-checkout.dw618 .dw618-list .dw618-line-total{min-width:46px!important}
 .dw-checkout.dw618 .dw618-list .dw618-line-total small{font-size:8px!important}
 .dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:10px!important}
 .dw-checkout.dw618 .dw618-list .dw-counter{grid-template-columns:22px 23px 22px!important;width:67px!important;min-width:67px!important;height:33px!important;min-height:33px!important}
 .dw-checkout.dw618 .dw618-list .dw-counter button{width:22px!important;min-width:22px!important;height:33px!important;min-height:33px!important;font-size:17px!important}
 .dw-checkout.dw618 .dw618-list .dw-counter output{height:33px!important;line-height:33px!important;font-size:13px!important}
}

/* QTRAH list layout v3: grid children include Studio-only media editor.
   Append after previous checkout rules; no payment logic changes. */
.dw-checkout.dw618 .dw-item-grid.dw618-list > .dw-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  align-content:center!important;
  column-gap:8px!important;
  row-gap:0!important;
  min-height:68px!important;
  height:auto!important;
  padding:7px 9px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-main{
  grid-column:1!important;grid-row:1!important;
  min-width:0!important;width:100%!important;
  display:grid!important;grid-template-columns:36px minmax(0,1fr) 16px!important;
  align-items:center!important;gap:7px!important;
  padding:0!important;margin:0!important;
}
.dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-footer{
  grid-column:2!important;grid-row:1!important;
  display:flex!important;flex-flow:row nowrap!important;
  align-items:center!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;
  gap:7px!important;padding:0!important;margin:0!important;
}
.dw-checkout.dw618 .dw618-list > .dw-item > .dw618-media-edit{
  position:absolute!important;top:2px!important;inset-inline-start:2px!important;
  width:20px!important;height:20px!important;min-height:0!important;
  padding:0!important;z-index:3!important;
}
.dw-checkout.dw618 .dw618-list > .dw-item{position:relative!important}
.dw-checkout.dw618 .dw618-list .dw-item-content{min-width:0!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total{min-width:0!important;max-width:100%!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:12px!important;white-space:nowrap!important}
.dw-checkout.dw618 .dw618-list .dw-counter{flex:none!important}
@media(max-width:580px){
  .dw-checkout.dw618 .dw-item-grid.dw618-list > .dw-item{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    row-gap:5px!important;min-height:0!important;padding:8px!important;
  }
  .dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-main{
    grid-column:1!important;grid-row:1!important;
    grid-template-columns:28px minmax(0,1fr) 14px!important;
  }
  .dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-footer{
    grid-column:1!important;grid-row:2!important;
    justify-content:space-between!important;width:100%!important;
  }
  .dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:12px!important}
}

/* DW QTRAH RC28 parity v4: shared published/Studio checkout layout.
   Keep all quantity/selection/payment DOM and event handlers unchanged. */
.dw-checkout.dw618 .dw-item-grid.dw618-list,
.dw82 .dw609-checkout .dw-checkout.dw618 .dw-item-grid.dw618-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
.dw-checkout.dw618 .dw618-list > .dw-item{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;align-items:center!important;gap:10px!important;
  min-height:0!important;height:auto!important;padding:10px 12px!important;
  border:2px solid var(--dw-checkout-border,#dfe6f0)!important;border-radius:18px!important;
  background:#fff!important;box-shadow:none!important;overflow:visible!important;
}
.dw-checkout.dw618 .dw618-list > .dw-item.is-selected{
  border-color:var(--dw-primary,#0d9488)!important;
  background:color-mix(in srgb,var(--dw-primary,#0d9488) 5%,white)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--dw-primary,#0d9488) 25%,transparent)!important;
}
.dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-main{
  grid-column:1!important;grid-row:1!important;display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 18px!important;align-items:center!important;
  gap:9px!important;min-width:0!important;width:100%!important;
  padding:0!important;margin:0!important;flex:none!important;text-align:start!important;
}
.dw-checkout.dw618 .dw618-list .dw-item-media{
  width:38px!important;min-width:38px!important;height:38px!important;aspect-ratio:1!important;
  background:transparent!important;overflow:visible!important;border:0!important;
  display:grid!important;place-items:center!important;font-size:27px!important;
}
.dw-checkout.dw618 .dw618-list .dw618-icon{font-size:27px!important;line-height:1!important}
.dw-checkout.dw618 .dw618-list .dw-item-content{min-width:0!important;min-height:0!important;gap:2px!important}
.dw-checkout.dw618 .dw618-list .dw-item-content strong{font-size:16px!important;line-height:1.35!important}
.dw-checkout.dw618 .dw618-list .dw-description{font-size:12px!important;line-height:1.35!important;-webkit-line-clamp:2!important}
.dw-checkout.dw618 .dw618-list .dw-price{font-size:14px!important;line-height:1.35!important;margin:0!important}
.dw-checkout.dw618 .dw618-list .dw-selected-indicator{position:static!important;width:18px!important;height:18px!important;background:transparent!important;box-shadow:none!important;border:0!important;color:var(--dw-primary,#0d9488)!important}
.dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-footer{
  grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:row!important;
  flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;gap:10px!important;padding:0!important;margin:0!important;
}
.dw-checkout.dw618 .dw618-list .dw-selected-label{display:none!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:72px!important;max-width:none!important;white-space:nowrap!important;line-height:1.25!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total small{font-size:11px!important}
.dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:14px!important;white-space:nowrap!important}
.dw-checkout.dw618 .dw618-list .dw-counter{display:grid!important;grid-template-columns:34px 34px 34px!important;width:102px!important;min-width:102px!important;height:38px!important;gap:0!important;overflow:hidden!important;border-radius:12px!important;box-shadow:none!important}
.dw-checkout.dw618 .dw618-list .dw-counter button{width:34px!important;min-width:34px!important;height:38px!important;padding:0!important;font-size:19px!important}
.dw-checkout.dw618 .dw618-list .dw-counter output{min-width:0!important;line-height:38px!important;font-size:16px!important}
.dw-checkout.dw618 .dw618-list > .dw-item > .dw618-media-edit{position:absolute!important;inset-inline-start:3px!important;top:3px!important;z-index:2!important;width:21px!important;height:21px!important;min-height:0!important;padding:0!important}
/* Compact form spacing; keep checkout semantics and focus targets intact. */
.dw-checkout.dw618 .dw618-shell{gap:12px!important}
.dw-checkout.dw618 .dw618-shell :is(.dw618-custom,.dw618-donor,.dw618-payment,.dw-summary){margin-block:8px!important}
.dw-checkout.dw618 .dw618-shell :is(.dw618-custom,.dw618-donor,.dw618-payment){padding:clamp(12px,2vw,18px)!important}
.dw-checkout.dw618 .dw618-custom{border-color:color-mix(in srgb,var(--dw-primary,#0d9488) 42%,#dfe6f0)!important;background:linear-gradient(120deg,color-mix(in srgb,var(--dw-primary,#0d9488) 10%,white),white)!important}
.dw-checkout.dw618 .dw618-custom:focus-within{border-color:var(--dw-primary,#0d9488)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--dw-primary,#0d9488) 20%,transparent)!important}
@media(max-width:650px){
 .dw-checkout.dw618 .dw618-list > .dw-item{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;row-gap:8px!important;padding:10px 12px!important}
 .dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-main{grid-column:1!important;grid-row:1!important;grid-template-columns:38px minmax(0,1fr) 18px!important}
 .dw-checkout.dw618 .dw618-list > .dw-item > .dw-item-footer{grid-column:1!important;grid-row:2!important;width:100%!important;justify-content:space-between!important;flex-direction:row!important}
 .dw-checkout.dw618 .dw618-list .dw-item-content strong{font-size:15px!important}
 .dw-checkout.dw618 .dw618-list .dw-description{font-size:12px!important}
 .dw-checkout.dw618 .dw618-list .dw618-line-total{min-width:0!important;align-items:flex-start!important}
 .dw-checkout.dw618 .dw618-list .dw618-line-total strong{font-size:14px!important}
 .dw-checkout.dw618 .dw618-shell{gap:9px!important}
}
