.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}
