[data-moddy-theme-host="commerce-example"] .ws-cart-main {
  width: min(calc(100% - 2rem), 100rem);
  min-height: 72vh;
  margin-inline: auto;
  padding-bottom: 7rem;
}

[data-moddy-theme-host="commerce-example"] .ws-cart-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(2.5rem, 5vw, 5rem);
  border-bottom: 3px solid var(--ws-ink);
}

[data-moddy-theme-host="commerce-example"] .ws-cart-heading h1,
[data-moddy-theme-host="commerce-example"] .ws-cart-empty h1 {
  margin: .5rem 0 0;
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: .76;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

[data-moddy-theme-host="commerce-example"] .ws-cart-heading-meta { display: grid; justify-items: end; gap: .3rem; padding-bottom: .35rem; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
[data-moddy-theme-host="commerce-example"] .ws-cart-heading-meta strong { font-size: .82rem; }
[data-moddy-theme-host="commerce-example"] .ws-cart-heading-meta span { color: var(--ws-muted); font-size: .6rem; letter-spacing: .06em; }
[data-moddy-theme-host="commerce-example"] .ws-cart-layout { padding-top: 1.5rem; }

[data-moddy-theme-host="commerce-example"] .ws-cart-lines { border-top: 1px solid var(--ws-ink); }
[data-moddy-theme-host="commerce-example"] .ws-cart-columns,
[data-moddy-theme-host="commerce-example"] .ws-cart-line {
  display: grid;
  grid-template-columns: 3rem 8rem minmax(0, 1fr) 7rem 9rem;
  gap: 1rem;
  align-items: center;
}

[data-moddy-theme-host="commerce-example"] .ws-cart-columns {
  min-height: 2.5rem;
  padding-inline: .75rem;
  border-bottom: 1px solid var(--ws-ink);
  color: var(--ws-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .6rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
[data-moddy-theme-host="commerce-example"] .ws-cart-columns span:nth-child(4),
[data-moddy-theme-host="commerce-example"] .ws-cart-columns span:nth-child(5) { text-align: right; }

[data-moddy-theme-host="commerce-example"] .ws-cart-line { min-height: 11rem; padding: .75rem; border-bottom: 1px solid var(--ws-line); }
[data-moddy-theme-host="commerce-example"] .ws-cart-index { align-self: start; padding-top: .25rem; color: var(--ws-muted); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .65rem; }
[data-moddy-theme-host="commerce-example"] .ws-cart-media { display: block; height: 9rem; overflow: hidden; background: var(--ws-paper-deep); }
[data-moddy-theme-host="commerce-example"] .ws-cart-image { width: 100%; height: 100%; object-fit: cover; }
[data-moddy-theme-host="commerce-example"] .ws-cart-copy { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding-block: .2rem; }
[data-moddy-theme-host="commerce-example"] .ws-cart-name { font-size: clamp(1.6rem, 3vw, 3rem); font-weight: 850; letter-spacing: -.06em; line-height: .9; overflow-wrap: anywhere; }
[data-moddy-theme-host="commerce-example"] .ws-cart-name:hover { color: var(--ws-signal); }
[data-moddy-theme-host="commerce-example"] .ws-cart-meta { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: .75rem; color: var(--ws-muted); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .62rem; }

[data-moddy-theme-host="commerce-example"] .ws-remove {
  justify-self: start;
  padding: 0 0 .2rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ws-muted);
  cursor: pointer;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}
[data-moddy-theme-host="commerce-example"] .ws-remove:hover { color: var(--ws-signal); }

[data-moddy-theme-host="commerce-example"] .ws-cart-quantity > span { display: block; margin-bottom: .45rem; color: var(--ws-muted); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; }
[data-moddy-theme-host="commerce-example"] .ws-cart-quantity input { width: 100%; min-height: 3rem; padding: .65rem; border: 1px solid var(--ws-ink); border-radius: 0; background: var(--ws-paper-soft); text-align: right; font-variant-numeric: tabular-nums; }
[data-moddy-theme-host="commerce-example"] .ws-cart-line-total { justify-self: end; font-size: 1.15rem; font-weight: 850; font-variant-numeric: tabular-nums; }

[data-moddy-theme-host="commerce-example"] .ws-cart-summary {
  width: min(100%, 42rem);
  margin-left: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--ws-ink);
  color: var(--ws-white);
}
[data-moddy-theme-host="commerce-example"] .ws-summary-label { display: block; margin-bottom: clamp(2rem, 5vw, 5rem); color: #9b9d95; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
[data-moddy-theme-host="commerce-example"] .ws-cart-total-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ws-white); }
[data-moddy-theme-host="commerce-example"] .ws-cart-total-row span { color: #9b9d95; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
[data-moddy-theme-host="commerce-example"] .ws-cart-total-row strong { font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 850; letter-spacing: -.06em; line-height: .85; }
[data-moddy-theme-host="commerce-example"] .ws-cart-note { max-width: 34rem; margin: 1.25rem 0 0; color: #aaaca4; font-size: .78rem; line-height: 1.55; }
[data-moddy-theme-host="commerce-example"] .ws-cart-summary .ws-live { color: #aaaca4; }
[data-moddy-theme-host="commerce-example"] .ws-cart-summary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1.5rem; }

[data-moddy-theme-host="commerce-example"] .ws-button-secondary { border-color: #777970; background: transparent; color: inherit; }
[data-moddy-theme-host="commerce-example"] .ws-button-secondary:hover { border-color: var(--ws-signal); background: var(--ws-signal); color: var(--ws-ink); }

[data-moddy-theme-host="commerce-example"] .ws-cart-empty { min-height: 72vh; display: grid; align-content: center; justify-items: start; max-width: 62rem; padding-block: 5rem; }
[data-moddy-theme-host="commerce-example"] .ws-cart-empty .ws-kicker { color: var(--ws-signal); }
[data-moddy-theme-host="commerce-example"] .ws-cart-empty > p:not(.ws-kicker):not(.ws-live) { max-width: 38rem; margin: 2rem 0 1rem; color: var(--ws-muted); font-size: 1rem; line-height: 1.6; }
[data-moddy-theme-host="commerce-example"] .ws-cart-empty .ws-live { margin-bottom: .75rem; }

@media (max-width: 52rem) {
  [data-moddy-theme-host="commerce-example"] .ws-cart-heading { grid-template-columns: 1fr; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-heading-meta { justify-items: start; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-columns { display: none; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-line { grid-template-columns: 2.5rem 7rem minmax(0, 1fr); min-height: 0; align-items: start; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-index { grid-column: 1; grid-row: 1 / 4; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-media { grid-column: 2; grid-row: 1 / 4; height: 8.5rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-copy { grid-column: 3; min-height: 8.5rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-quantity { grid-column: 2; width: 7rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-line-total { grid-column: 3; justify-self: start; align-self: end; }
}

@media (max-width: 34rem) {
  [data-moddy-theme-host="commerce-example"] .ws-cart-main { width: min(calc(100% - 1.25rem), 100rem); }
  [data-moddy-theme-host="commerce-example"] .ws-cart-heading { padding-block: 3.5rem 2.5rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-heading h1,
  [data-moddy-theme-host="commerce-example"] .ws-cart-empty h1 { font-size: clamp(4.5rem, 23vw, 7rem); }
  [data-moddy-theme-host="commerce-example"] .ws-cart-line { grid-template-columns: 2rem 5.75rem minmax(0, 1fr); gap: .65rem; padding-inline: .5rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-media { height: 7rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-copy { min-height: 7rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-name { font-size: 1.35rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-quantity { width: 5.75rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-summary { width: calc(100% + 1.25rem); margin-left: -.625rem; }
  [data-moddy-theme-host="commerce-example"] .ws-cart-summary-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-moddy-theme-host="commerce-example"] .ws-button,
  [data-moddy-theme-host="commerce-example"] .ws-remove { transition-duration: .001ms !important; }
}
