/* ContextWrap phase two side cart
   A quiet extension of the Custom workspace. */

body#typewriterWorkshop.cw-cart-open { overflow: hidden; }

#typewriterWorkshop .cw-cart-shell {
  position: fixed;
  inset: 0;
  z-index: 10050;
  visibility: hidden;
  pointer-events: none;
}

#typewriterWorkshop .cw-cart-shell[hidden] { display: block !important; }
#typewriterWorkshop .cw-cart-shell.is-open { visibility: visible; pointer-events: auto; }

#typewriterWorkshop .cw-cart-shell,
#typewriterWorkshop .cw-cart-shell :where(*) { cursor: auto !important; }
#typewriterWorkshop .cw-cart-shell button:not(:disabled) { cursor: pointer !important; }
#typewriterWorkshop .cw-cart-shell button:disabled { cursor: not-allowed !important; }

#typewriterWorkshop .cw-cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgb(26 29 31 / 31%);
  opacity: 0;
  cursor: default !important;
  transition: opacity 220ms var(--ease-out);
}

#typewriterWorkshop .cw-cart-shell.is-open .cw-cart-backdrop { opacity: 1; }

#typewriterWorkshop .cw-cart-drawer {
  --cw-cart-edge: 12px;
  position: absolute;
  top: var(--cw-cart-edge);
  right: var(--cw-cart-edge);
  bottom: var(--cw-cart-edge);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(468px, calc(100vw - 24px));
  overflow: hidden;
  color: #202124;
  background: #f3f5f4;
  border: 1px solid rgb(255 255 255 / 92%);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgb(22 30 40 / 20%), 0 2px 8px rgb(22 30 40 / 7%);
  outline: none;
  transform: translateX(calc(100% + 28px));
  transition: transform 320ms cubic-bezier(.22, .8, .36, 1);
}

#typewriterWorkshop .cw-cart-shell.is-open .cw-cart-drawer { transform: translateX(0); }

#typewriterWorkshop .cw-cart-header {
  position: relative;
  padding: 25px 78px 24px 28px;
  border-bottom: 1px solid #dde0e2;
  background: #fafbfa;
}

#typewriterWorkshop .cw-cart-header h2 {
  margin: 0;
  color: #202124;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.026em;
}

#cwCartStatus.cw-cart-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#typewriterWorkshop .cw-ready-feedback {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10040;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(650px, calc(100vw - 32px));
  min-height: 64px;
  padding: 11px 11px 11px 17px;
  border: 1px solid #d8ddda;
  border-radius: 12px;
  color: #292d2a;
  background: #fbfcfb;
  box-shadow: 0 16px 42px rgb(22 30 40 / 12%), 0 2px 7px rgb(22 30 40 / 6%);
  font-family: var(--sans);
  transform: translateX(-50%);
}

#typewriterWorkshop .cw-ready-feedback[hidden] { display: none !important; }

#typewriterWorkshop .cw-ready-feedback[data-state="error"] {
  border-color: #d9b9ad;
  background: #fffaf8;
}

#typewriterWorkshop .cw-ready-feedback-message {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
}

#typewriterWorkshop .cw-ready-feedback-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

#typewriterWorkshop .cw-ready-feedback-actions button {
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid #d7ddda;
  border-radius: 9px;
  color: #343a36;
  background: #f6f8f6;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

#typewriterWorkshop .cw-ready-feedback-actions button[hidden] { display: none !important; }

#typewriterWorkshop .cw-ready-feedback-actions button:hover { background: #edf1ee; }
#typewriterWorkshop .cw-ready-feedback-actions button:active { background: #e7ece8; }

#typewriterWorkshop .cw-ready-feedback-actions [data-ready-feedback-action="view-cart"] {
  border-color: #c3cec6;
  color: #27362d;
  background: #eef3ef;
}

#typewriterWorkshop .cw-ready-feedback[data-state="error"] [data-ready-feedback-action="retry"] {
  border-color: #d4aa9a;
  color: #7d351f;
  background: #fff4ef;
}

#typewriterWorkshop .cw-ready-feedback-actions .cw-ready-feedback-close {
  display: grid;
  place-items: center;
  width: 40px;
  padding: 0;
  color: #666b68;
  background: transparent;
  font-size: 20px;
  font-weight: 400;
}

#typewriterWorkshop .cw-ready-feedback-actions button:focus-visible {
  outline: 2px solid #202124;
  outline-offset: 2px;
}

#typewriterWorkshop .cw-cart-close {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe3e7;
  border-radius: 11px;
  color: #42464c;
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #d9dde1, 0 5px 10px rgb(22 30 40 / 5%);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  transition: transform 110ms var(--ease-out), box-shadow 110ms var(--ease-out), background-color 150ms var(--ease-out);
}

#typewriterWorkshop .cw-cart-close:hover { background: #fbfcfc; }
#typewriterWorkshop .cw-cart-close:active {
  box-shadow: inset 0 1px 2px rgb(22 30 40 / 12%), 0 1px 0 #d9dde1;
  transform: translateY(2px);
}

#typewriterWorkshop .cw-cart-close:focus-visible,
#typewriterWorkshop .cw-cart-content a:focus-visible,
#typewriterWorkshop .cw-cart-content button:focus-visible,
#typewriterWorkshop .cw-cart-footer button:focus-visible {
  outline: 2px solid #202124;
  outline-offset: 2px;
}

#typewriterWorkshop .cw-cart-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c3c7ca transparent;
}

#typewriterWorkshop .cw-cart-content {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 100%;
  padding: 22px 24px 32px;
}

#typewriterWorkshop .cw-cart-content.is-empty {
  height: 100%;
  min-height: 0;
  padding: 0;
}

#typewriterWorkshop .cw-cart-groups {
  display: grid;
  gap: 20px;
}

#typewriterWorkshop .cw-cart-group-title {
  margin: 0 0 10px 2px;
  color: #30343a;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

#typewriterWorkshop .cw-cart-items {
  display: grid;
  gap: 10px;
}

#typewriterWorkshop .cw-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #dfe2e4;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(22 30 40 / 3%), 0 8px 22px rgb(22 30 40 / 3.5%);
}

#typewriterWorkshop .cw-cart-media {
  position: relative;
  display: block;
  width: 88px;
  height: 104px;
  overflow: hidden;
  border: 1px solid #e0e3e5;
  border-radius: 11px;
  background: #eef1f2;
}

#typewriterWorkshop a.cw-cart-media { color: inherit; text-decoration: none; }

#typewriterWorkshop .cw-cart-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#typewriterWorkshop .cw-cart-media.is-custom img {
  object-fit: contain;
  padding: 6px;
  background: #f8f6ef;
}

#typewriterWorkshop .cw-cart-item-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#typewriterWorkshop .cw-cart-item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

#typewriterWorkshop .cw-cart-item h3 {
  display: -webkit-box;
  max-width: 22ch;
  margin: 0;
  overflow: hidden;
  color: #202124;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  white-space: normal;
}

#typewriterWorkshop .cw-cart-item h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

#typewriterWorkshop .cw-cart-item h3 a:hover { text-decoration-color: currentColor; }

#typewriterWorkshop .cw-cart-line-prices {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

#typewriterWorkshop .cw-cart-line-original {
  color: #777c82;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration-thickness: 1px;
}

#typewriterWorkshop .cw-cart-line-price {
  flex: none;
  color: #202124;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#typewriterWorkshop .cw-cart-detail {
  margin: 8px 0 0;
  overflow: hidden;
  color: #686d75;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#typewriterWorkshop .cw-cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}

#typewriterWorkshop .cw-cart-quantity {
  display: grid;
  grid-template-columns: 34px 38px 34px;
  gap: 2px;
  padding: 3px;
  border: 1px solid #dde0e2;
  border-radius: 11px;
  background: #eceeed;
  box-shadow: inset 0 1px 2px rgb(29 34 38 / 4%);
}

#typewriterWorkshop .cw-cart-quantity button,
#typewriterWorkshop .cw-cart-quantity output {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  color: #353940;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

#typewriterWorkshop .cw-cart-quantity button {
  transition: transform 100ms var(--ease-out), background-color 140ms var(--ease-out), box-shadow 100ms var(--ease-out);
}

#typewriterWorkshop .cw-cart-quantity button:hover:not(:disabled) { background: rgb(255 255 255 / 76%); }
#typewriterWorkshop .cw-cart-quantity button:active:not(:disabled) { transform: translateY(1px); }
#typewriterWorkshop .cw-cart-quantity button:disabled { color: #a7acb0; cursor: not-allowed !important; }

#typewriterWorkshop .cw-cart-remove {
  min-height: 40px;
  padding: 6px 2px;
  color: #646970;
  font-family: var(--sans);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#typewriterWorkshop .cw-cart-remove:hover { color: #202124; }

#typewriterWorkshop .cw-cart-pricing {
  padding: 18px;
  border: 1px solid #dfe3e2;
  border-radius: 15px;
  background: #fafbfa;
}

#typewriterWorkshop .cw-cart-pricing-title {
  margin: 0 0 15px;
  color: #202124;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

#typewriterWorkshop .cw-cart-pricing-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 0;
  color: #62676e;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
}

#typewriterWorkshop .cw-cart-pricing-row + .cw-cart-pricing-row {
  margin-top: 12px;
  padding-top: 12px;
}
#typewriterWorkshop .cw-cart-pricing-row > span { color: #5e6369; }
#typewriterWorkshop .cw-cart-pricing-row > strong { color: #202124; font-weight: 600; }

#typewriterWorkshop .cw-cart-pricing-note {
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid #e1e5e3;
  color: #747980;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
}

#typewriterWorkshop .cw-cart-undo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #dfe3e2;
  border-radius: 12px;
  color: #5e6369;
  background: #fafbfa;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
}

#typewriterWorkshop .cw-cart-undo button {
  min-height: 36px;
  padding: 5px 3px;
  color: #202124;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#typewriterWorkshop .cw-cart-empty .cw-cart-undo {
  width: min(100%, 238px);
  margin: 0 0 14px;
  text-align: left;
}

#typewriterWorkshop .cw-cart-footer {
  padding: 18px 24px 15px;
  border-top: 1px solid #dde0e2;
  background: #fafbfa;
  box-shadow: 0 -10px 28px rgb(22 30 40 / 4%);
}

#typewriterWorkshop .cw-cart-footer[hidden] { display: none; }

#typewriterWorkshop .cw-cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: #686d75;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
}

#typewriterWorkshop .cw-cart-total-row strong {
  color: #30343a;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#typewriterWorkshop .cw-cart-total-row.is-saving strong { color: #b9481e; }

#typewriterWorkshop .cw-cart-total-row.is-total {
  margin-top: 9px;
  padding-top: 12px;
  border-top: 1px solid #e0e3e5;
  color: #202124;
  font-size: 15px;
  font-weight: 650;
}

#typewriterWorkshop .cw-cart-total-row.is-total strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

#typewriterWorkshop .cw-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 15px;
  padding: 12px 18px;
  border: 1px solid #161719;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(#303237, #191a1d);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 2px 0 #101113, 0 5px 10px rgb(22 30 40 / 7%);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  transition: transform 110ms var(--ease-out), box-shadow 110ms var(--ease-out), background-color 150ms var(--ease-out);
}

#typewriterWorkshop .cw-cart-checkout:hover:not(:disabled) { background: #151619; }
#typewriterWorkshop .cw-cart-checkout:active:not(:disabled) {
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 24%), 0 1px 0 #101113;
  transform: translateY(2px);
}

#typewriterWorkshop .cw-cart-checkout:disabled {
  border-color: #d7dbe0;
  color: #8e949a;
  background: #e7eaed;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #d8dce0;
}

#typewriterWorkshop .cw-cart-checkout span:last-child { font-size: 17px; font-weight: 400; }

#typewriterWorkshop .cw-cart-continue {
  display: block;
  min-height: 40px;
  margin: 7px auto 0;
  padding: 6px 8px;
  color: #4e545b;
  font-family: var(--sans);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#typewriterWorkshop .cw-cart-continue:hover { color: #202124; }

#typewriterWorkshop .cw-cart-shipping {
  margin: 10px 0 0;
  color: #737981;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

#typewriterWorkshop .cw-cart-empty {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 0;
  height: 100%;
  padding: 42px 32px;
  text-align: center;
}

#typewriterWorkshop .cw-cart-empty-proof {
  width: 184px;
  height: 184px;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid #e0e3e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 3px rgb(22 30 40 / 4%), 0 14px 28px rgb(22 30 40 / 6%);
}

#typewriterWorkshop .cw-cart-empty-proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#typewriterWorkshop .cw-cart-empty h3 {
  margin: 0;
  color: #202124;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.2;
}

#typewriterWorkshop .cw-cart-empty p {
  max-width: 33ch;
  margin: 10px 0 25px;
  color: #686d75;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

#typewriterWorkshop .cw-cart-empty-actions {
  display: grid;
  gap: 10px;
  width: min(100%, 238px);
}

#typewriterWorkshop .cw-cart-empty-actions button {
  min-height: 48px;
  border-radius: 11px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  transition: transform 110ms var(--ease-out), box-shadow 110ms var(--ease-out), background-color 150ms var(--ease-out);
}

#typewriterWorkshop .cw-cart-empty-primary {
  border: 1px solid #161719;
  color: #fff;
  background: linear-gradient(#303237, #191a1d);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 2px 0 #101113;
}

#typewriterWorkshop .cw-cart-empty-secondary {
  border: 1px solid #dfe3e7;
  color: #202124;
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #d9dde1;
}

#typewriterWorkshop .cw-cart-empty-actions button:active { transform: translateY(2px); }

/* Header counters share placement, while color communicates different meaning. */
#typewriterWorkshop .nav-right .global-task-trigger .md-count {
  position: static;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid #b8d8ea;
  border-radius: 50%;
  color: #244f6b;
  background: #e7f3fb;
  box-shadow: none;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transform-origin: center;
  animation: cwTaskCountBreath 2800ms cubic-bezier(.77, 0, .175, 1) infinite;
}

#typewriterWorkshop .nav-right .global-task-trigger[aria-expanded="true"] .md-count {
  color: #244f6b;
  border-color: #a9cfe3;
  background: #deeff9;
}

#typewriterWorkshop .nav-cart {
  position: relative;
  width: auto;
  min-width: 44px;
  padding: 0 10px;
  gap: 7px;
}

#typewriterWorkshop .nav-cart .ready-cart-count {
  position: static;
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #f2642a;
  box-shadow: none;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

#typewriterWorkshop .nav-cart .ready-cart-count[hidden],
#typewriterWorkshop .nav-right .global-task-trigger .md-count[hidden] { display: none; }

#typewriterWorkshop .nav-cart[aria-expanded="true"] {
  background: #fff1e8;
  box-shadow: inset 0 -2px #f2642a;
}

#typewriterWorkshop .nav-right .global-task-trigger .md-count.is-counting {
  animation: cwUpdatesCountIn 300ms cubic-bezier(.22, .8, .36, 1);
}

#typewriterWorkshop .nav-cart .ready-cart-count.is-counting {
  animation: cwCartCountIn 320ms cubic-bezier(.22, .8, .36, 1);
}

@keyframes cwUpdatesCountIn {
  0% { opacity: .3; transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes cwCartCountIn {
  0% { opacity: .4; transform: translateY(-2px) scale(.86); }
  62% { opacity: 1; transform: translateY(1px) scale(1.07); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  #typewriterWorkshop .cw-ready-feedback {
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    width: calc(100vw - 24px);
    padding: 14px;
  }

  #typewriterWorkshop .cw-ready-feedback-actions {
    flex-wrap: wrap;
  }

  #typewriterWorkshop .cw-ready-feedback-actions .cw-ready-feedback-close {
    margin-left: auto;
  }

  #typewriterWorkshop .cw-cart-drawer {
    --cw-cart-edge: 0px;
    width: 100%;
    border-width: 0;
    border-radius: 0;
  }

  #typewriterWorkshop .cw-cart-header { padding: 21px 70px 20px 18px; }
  #typewriterWorkshop .cw-cart-header h2 { font-size: 36px; }
  #typewriterWorkshop .cw-cart-close { top: 18px; right: 16px; width: 42px; height: 42px; }
  #typewriterWorkshop .cw-cart-content { gap: 18px; padding: 16px 12px 22px; }
  #typewriterWorkshop .cw-cart-items { gap: 9px; }
  #typewriterWorkshop .cw-cart-item { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 13px; border-radius: 14px; }
  #typewriterWorkshop .cw-cart-media { width: 78px; height: 96px; }
  #typewriterWorkshop .cw-cart-item h3 { max-width: 16ch; font-size: 15px; }
  #typewriterWorkshop .cw-cart-line-price { font-size: 17px; }
  #typewriterWorkshop .cw-cart-detail { margin: 7px 0 0; font-size: 12px; }
  #typewriterWorkshop .cw-cart-item-actions { gap: 16px; padding-top: 14px; }
  #typewriterWorkshop .cw-cart-quantity { grid-template-columns: 31px 35px 31px; }
  #typewriterWorkshop .cw-cart-quantity button,
  #typewriterWorkshop .cw-cart-quantity output { min-height: 32px; font-size: 13px; }
  #typewriterWorkshop .cw-cart-pricing { padding: 16px 15px; border-radius: 14px; }
  #typewriterWorkshop .cw-cart-pricing-row { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
  #typewriterWorkshop .cw-cart-footer { padding: 16px 15px max(13px, env(safe-area-inset-bottom)); }

  #typewriterWorkshop .nav-right .global-task-trigger,
  #typewriterWorkshop .nav-cart {
    position: relative;
    justify-content: center;
    width: auto;
    min-width: 42px;
    padding: 0 5px;
    gap: 3px;
  }

  #typewriterWorkshop .nav-right .global-task-trigger .md-count {
    position: static;
    width: 18px;
    min-width: 18px;
    height: 18px;
    padding: 0;
    border-width: 1px;
    font-size: 9px;
  }

  #typewriterWorkshop .nav-cart .ready-cart-count {
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  #typewriterWorkshop .cw-cart-item { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 12px; }
  #typewriterWorkshop .cw-cart-media { width: 70px; height: 88px; }
  #typewriterWorkshop .cw-cart-item-heading { gap: 7px; }
  #typewriterWorkshop .cw-cart-item h3 { max-width: 13ch; }
  #typewriterWorkshop .cw-cart-line-price { font-size: 16px; }
  #typewriterWorkshop .cw-cart-remove { font-size: 11px; }
}

@media (max-height: 700px) and (min-width: 641px) {
  #typewriterWorkshop .cw-cart-empty-proof { width: 154px; height: 154px; margin-bottom: 22px; }
  #typewriterWorkshop .cw-cart-empty p { margin: 8px 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  #typewriterWorkshop .cw-cart-backdrop,
  #typewriterWorkshop .cw-cart-drawer,
  #typewriterWorkshop .cw-cart-close,
  #typewriterWorkshop .cw-cart-quantity button,
  #typewriterWorkshop .cw-cart-checkout,
  #typewriterWorkshop .cw-cart-empty-actions button,
  #typewriterWorkshop .nav-right .global-task-trigger .md-count,
  #typewriterWorkshop .nav-cart .ready-cart-count {
    transition: none !important;
    animation: none !important;
  }
}

html.reduce-motion #typewriterWorkshop .cw-cart-backdrop,
html.reduce-motion #typewriterWorkshop .cw-cart-drawer,
html.reduce-motion #typewriterWorkshop .cw-cart-close,
html.reduce-motion #typewriterWorkshop .cw-cart-quantity button,
html.reduce-motion #typewriterWorkshop .cw-cart-checkout,
html.reduce-motion #typewriterWorkshop .cw-cart-empty-actions button,
html.reduce-motion #typewriterWorkshop .nav-right .global-task-trigger .md-count,
html.reduce-motion #typewriterWorkshop .nav-cart .ready-cart-count {
  transition: none !important;
  animation: none !important;
}

@media (forced-colors: active) {
  #typewriterWorkshop .cw-cart-backdrop { background: rgb(0 0 0 / 55%); }
  #typewriterWorkshop .cw-cart-drawer,
  #typewriterWorkshop .cw-cart-item,
  #typewriterWorkshop .cw-cart-pricing,
  #typewriterWorkshop .cw-ready-feedback,
  #typewriterWorkshop .cw-ready-feedback-actions button { border: 1px solid CanvasText; }
  #typewriterWorkshop .nav-cart .ready-cart-count,
  #typewriterWorkshop .nav-right .global-task-trigger .md-count {
    color: ButtonText;
    border-color: ButtonText;
    background: ButtonFace;
  }
}
