/* Quiet selectable cart. The 9.14 entry loads this after side-cart-v1.css. */

#typewriterWorkshop .cw-cart-selectable .cw-cart-drawer {
  --cw-cart-edge: 12px;
  width: min(440px, calc(100vw - 24px));
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-header {
  padding: 18px 72px 16px 20px;
  border-bottom-color: #e8eaec;
  background: #fff;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-header h2::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  background: #111;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-close {
  top: 7px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-color: transparent;
  border-radius: 3px;
  color: transparent;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  transition: background-color 160ms ease, transform 120ms cubic-bezier(.23, 1, .32, 1);
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-close::before {
  content: "";
  position: absolute;
  inset: 10px;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  background:
    linear-gradient(45deg, transparent 43%, #fff 43% 57%, transparent 57%) center / 11px 11px no-repeat,
    linear-gradient(-45deg, transparent 43%, #fff 43% 57%, transparent 57%) center / 11px 11px no-repeat,
    #111;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-close:hover { background: #f2f2f2; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-close:active { transform: translateY(1px); box-shadow: none; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-content {
  min-width: 0;
  gap: 8px;
  padding: 10px 20px 16px;
  background: #fff;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-selection-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  min-width: 0;
  padding: 0 0 6px;
  border-bottom: 1px solid #e8eaec;
  color: #777d82;
  font-size: 11px;
  line-height: 1.45;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-selection-bar > span {
  margin-left: auto;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #303438;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer !important;
}

/* All three levels share the checkbox centre at 22px from the content edge. */
#typewriterWorkshop .cw-cart-selectable .cw-cart-selection-bar .cw-cart-check {
  gap: 21px;
  padding-left: 13px;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #202124;
  cursor: pointer !important;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-check input[type="checkbox"]:focus-visible,
#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > summary:focus-visible {
  outline: 2px solid #202124;
  outline-offset: 3px;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-check:has(input:disabled),
#typewriterWorkshop .cw-cart-selectable .cw-cart-check input:disabled { cursor: not-allowed !important; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-check .sr-only {
  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-cart-selectable .cw-cart-groups { gap: 0; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-group {
  min-width: 0;
  padding: 5px 0 8px;
  border-bottom: 1px solid #e8eaec;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group:last-child { border-bottom: 0; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-group[data-collapsed="true"] { padding-bottom: 5px; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group-head > .cw-cart-check {
  flex: 0 0 44px;
  justify-content: center;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group-copy {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group-title {
  margin: 0;
  color: #303438;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group-copy small {
  margin: 0;
  color: #777d82;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group-price {
  display: none;
  flex: 0 1 auto;
  max-width: 30%;
  margin-left: auto;
  color: #525960;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-group[data-empty="false"][data-collapsed="true"] .cw-cart-group-price { display: block; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-collapse {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-collapse:hover { color: #fff; background: #f2f2f2; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-collapse > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  background: #111;
  font-size: 0;
}
#typewriterWorkshop .cw-cart-selectable .cw-cart-collapse > span::before {
  content: "−";
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
#typewriterWorkshop .cw-cart-selectable .cw-cart-collapse[aria-expanded="false"] > span::before { content: "+"; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-group-body { min-width: 0; }
#typewriterWorkshop .cw-cart-selectable [hidden] { display: none !important; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-items { gap: 0; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-item {
  grid-template-columns: 44px 84px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #eef0f2;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-item:last-child { border-bottom: 0; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-item[data-selected="false"] { background: #fff; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-item-check {
  justify-content: center;
  align-self: start;
  width: 44px;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-media {
  width: 84px;
  height: 104px;
  border: 0;
  border-radius: 3px;
  background: #f5f5f5;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-media img { object-fit: contain; padding: 4px; background: #f5f5f5; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-media.is-custom img { background: #f5f5f5; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  color: #687179;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}
#typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading { flex-wrap: wrap; gap: 4px 10px; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading h3 {
  flex: 1 1 120px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading h3 a { color: inherit; text-decoration: none; transition: color 160ms ease; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading h3 a:hover { color: #666; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading h3 a:focus-visible { color: #111; transition: none; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-line-price {
  max-width: 100%;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-detail { margin-top: 4px; font-size: 12px; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-item-actions {
  flex-wrap: wrap;
  gap: 2px 10px;
  padding-top: 6px;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity {
  grid-template-columns: 44px 32px 44px;
  gap: 0;
  padding: 0;
  border-color: #e1e4e7;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity button,
#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity output { min-height: 44px; border-radius: 2px; font-size: 13px; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity button { font-size: 18px; font-weight: 700; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity button:hover:not(:disabled) { background: #f3f5f6; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity button:disabled { color: #b8b8b8; opacity: .7; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-remove { min-height: 44px; color: #777; font-size: 12px; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-remove:hover { color: #111; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-item-note {
  margin: 4px 0 0;
  color: #737a80;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-category-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  padding: 0 0 0 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-discover {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #626262;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: #cbd0d4;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  cursor: pointer !important;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:hover { color: #202124; text-decoration-color: currentColor; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover > span { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 3px; border-radius: 2px; color: #fff; background: #111; font-size: 13px; font-weight: 700; line-height: 1; }


/* Keep the Custom discovery action distinct from catalog browsing. */
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:where([data-cart-route="/custom"]) {
  color: #c45424;
  font-weight: 650;
  text-decoration-color: currentColor;
}
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:where([data-cart-route="/custom"]):hover { color: #9f3c16; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:where([data-cart-route="/custom"]) > span { background: #c45424; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-pricing {
  padding: 12px 0 0 52px;
  border: 0;
  border-top: 1px solid #e8eaec;
  border-radius: 0;
  background: transparent;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-pricing-row strong { overflow-wrap: anywhere; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #747b81;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-items + .cw-cart-recommendation { margin: 0 0 2px 52px; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 3px 0;
  border-radius: 3px;
  color: #626a72;
  list-style: none;
  cursor: pointer !important;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > summary::-webkit-details-marker { display: none; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > summary::after {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-right: 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation[open] > summary::after { transform: rotate(225deg); }
#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > summary:hover { color: #30373e; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > summary > strong { min-width: 0; margin: 0; color: inherit; font-size: inherit; font-weight: 500; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation > p { margin: 0 0 8px; padding-right: 16px; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-recommendation:not([open]) > :not(summary) { display: none; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-item .cw-cart-recommendation { margin: 2px 0 0; font-size: 11px; line-height: 1.5; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-footer {
  min-height: 0;
  max-height: min(44vh, 256px);
  max-height: min(44dvh, 256px);
  padding: 12px 24px 8px;
  overflow-y: auto;
  border-top-color: #e5e8eb;
  background: #fff;
  box-shadow: 0 -4px 12px rgb(0 0 0 / 4%);
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-total-row { flex-wrap: wrap; gap: 2px 12px; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-total-row > strong {
  max-width: 100%;
  margin-left: auto;
  text-align: right;
  overflow-wrap: anywhere;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-selected-total {
  margin-top: 3px;
  padding-top: 0;
  border-top: 0;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-selected-total strong {
  color: #202124;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

#typewriterWorkshop .cw-cart-selectable .cw-cart-all-total { margin-top: 0; color: #7c8389; font-size: 11px; font-weight: 400; line-height: 1.5; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-all-total strong { color: #7c8389; font-size: 12px; font-weight: 400; line-height: 1.5; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-selection-note { margin: 4px 0 0; color: #7c8389; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-checkout {
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 16px;
  border-color: #111;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  font-size: 13px;
  font-weight: 650;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms cubic-bezier(.23, 1, .32, 1);
}
#typewriterWorkshop .cw-cart-selectable .cw-cart-checkout:hover:not(:disabled) { background: #242424; box-shadow: 0 3px 9px rgb(0 0 0 / 12%); }
#typewriterWorkshop .cw-cart-selectable .cw-cart-checkout:active:not(:disabled) { transform: translateY(1px); }
#typewriterWorkshop .cw-cart-selectable .cw-cart-checkout:disabled { border-color: #ddd; color: #929292; background: #eee; box-shadow: none; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-continue { min-height: 44px; margin-top: 3px; padding-top: 5px; padding-bottom: 5px; font-size: 13px; }

#typewriterWorkshop .cw-cart-selectable .cw-cart-close:focus-visible,
#typewriterWorkshop .cw-cart-selectable .cw-cart-collapse:focus-visible,
#typewriterWorkshop .cw-cart-selectable .cw-cart-quantity button:focus-visible,
#typewriterWorkshop .cw-cart-selectable .cw-cart-remove:focus-visible,
#typewriterWorkshop .cw-cart-selectable .cw-cart-checkout:focus-visible,
#typewriterWorkshop .cw-cart-selectable .cw-cart-continue:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
  transition: none;
}

@media (max-width: 540px) {
  #typewriterWorkshop .cw-cart-selectable .cw-cart-drawer { --cw-cart-edge: 0px; width: 100%; border-width: 0; border-radius: 0; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-header { padding-left: 16px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-content { padding: 8px 16px 12px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item { grid-template-columns: 44px 72px minmax(0, 1fr); padding: 10px 0; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-media { width: 72px; height: 90px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading { flex-direction: column; gap: 6px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading h3 { flex: none; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item-actions { align-items: center; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-footer { padding-right: 16px; padding-bottom: max(8px, env(safe-area-inset-bottom)); padding-left: 16px; }
}

@media (max-width: 380px) {
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item { grid-template-columns: 44px 64px minmax(0, 1fr); gap: 6px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-media { width: 64px; height: 80px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item-heading h3 { flex: none; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-group-copy { column-gap: 6px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-group-price { max-width: 26%; font-size: 11px; }
}

@media (max-height: 620px) {
  #typewriterWorkshop .cw-cart-selectable .cw-cart-header { padding-top: 12px; padding-bottom: 12px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-close { top: 2px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-footer { max-height: 42vh; max-height: 42dvh; padding-top: 9px; padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-selected-total strong { font-size: 23px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-checkout { min-height: 46px; margin-top: 8px; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-continue { margin-top: 1px; }
}

html.reduce-motion #typewriterWorkshop .cw-cart-selectable :is(.cw-cart-close, .cw-cart-quantity button, .cw-cart-checkout, .cw-cart-item-heading h3 a) { transition: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  #typewriterWorkshop .cw-cart-selectable :is(.cw-cart-close, .cw-cart-quantity button, .cw-cart-checkout, .cw-cart-item-heading h3 a) { transition: none; transform: none; }
}

@media (forced-colors: active) {
  #typewriterWorkshop .cw-cart-selectable .cw-cart-selection-bar,
  #typewriterWorkshop .cw-cart-selectable .cw-cart-group,
  #typewriterWorkshop .cw-cart-selectable .cw-cart-item,
  #typewriterWorkshop .cw-cart-selectable .cw-cart-footer { border-color: CanvasText; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-collapse { color: ButtonText; background: ButtonFace; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-collapse > span,
  #typewriterWorkshop .cw-cart-selectable .cw-cart-close::before { forced-color-adjust: none; background-color: ButtonText; }
  #typewriterWorkshop .cw-cart-selectable .cw-cart-discover { color: LinkText; text-decoration-color: LinkText; }
}

/* Native Woo coupon controls; prices are server-rendered. */
.cw-cart-coupons { margin: 0 0 12px; font-size: 13px; }
.cw-cart-coupons summary { cursor: pointer; padding: 8px 0; font-weight: 600; }
.cw-cart-coupon-input { display: flex; gap: 8px; margin: 6px 0; }
.cw-cart-coupon-input input { flex: 1; min-width: 0; width: 0; border: 1px solid #d8dadd; border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; color: #202124; }
.cw-cart-coupon-input button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 10px 16px; background: #202124; color: #fff; font: inherit; cursor: pointer; }
.cw-cart-coupon-line { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; padding: 7px 0; }
.cw-cart-coupon-chip { overflow-wrap: anywhere; max-width: 100%; font-size: 12px; border-radius: 6px; background: #f2f3f4; padding: 4px 6px; }
.cw-cart-coupon-saving { margin-left: auto; white-space: nowrap; }
.cw-cart-coupon-line button { border: 0; padding: 5px 0; background: transparent; color: #5f646c; font: inherit; text-decoration: underline; cursor: pointer; }
.cw-cart-coupon-message { margin: 6px 0 0; line-height: 1.4; overflow-wrap: anywhere; color: #5f646c; }
.cw-cart-coupon-message:empty { display: none; }
.cw-cart-total-prices { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.cw-cart-total-prices s { color: #757a80; font-size: 14px; font-weight: 400; white-space: nowrap; }
.cw-cart-total-prices strong { color: #202124; white-space: nowrap; }
.cw-cart-coupons button:disabled { opacity: .5; cursor: wait; }

/* Coupon details can grow without pushing Checkout outside the visible drawer. */
#typewriterWorkshop .cw-cart-selectable .cw-cart-footer:has(.cw-cart-coupons) {
  max-height: min(62vh, 460px);
  max-height: min(62dvh, 460px);
}

/* Coupon-first guest checkout: the entry stays visible above the server totals. */
.cw-cart-coupon-entry { padding:10px; border:1px dashed #aebbb4; border-radius:10px; background:#f7faf8; }
.cw-cart-coupon-entry label { display:flex; align-items:center; gap:7px; font-weight:600; font-size:12px; }
.cw-cart-coupon-entry label svg { flex:none; }
.cw-cart-coupon-guest { display:block; margin:4px 0; color:#5f646c; font-size:11px; }
.cw-cart-coupon-input input { font-size:13px; padding:10px 8px; }
.cw-cart-coupon-input input::placeholder { color:#778078; opacity:1; }
.cw-cart-coupon-input button { padding:10px 12px; min-height:44px; }
.cw-cart-coupon-line { margin-top:8px; padding:8px; border-radius:8px; background:#edf5ef; color:#245438; }
.cw-cart-coupon-chip { background:none; color:inherit; padding:0; }
.cw-cart-coupon-saving { white-space:normal; font-size:12px; }
.cw-cart-coupon-line button { color:#245438; }
.cw-cart-no-payment { margin:8px 0; font-size:12px; color:#245438; }
.cw-cart-coupon-banner { display:flex; align-items:flex-start; gap:8px; padding:10px; margin:4px 0 8px; border-radius:8px; background:#edf5ef; color:#245438; font-size:12px; overflow-wrap:anywhere; }
.cw-cart-coupon-banner span { flex:1; min-width:0; }
.cw-cart-coupon-banner button { border:0; background:none; color:inherit; font-size:20px; line-height:1; padding:4px; cursor:pointer; }

/* FE1 11/09 Holiday deals group (same group component; Christmas cranberry accent). */
#typewriterWorkshop .cw-cart-selectable .cw-cart-group[data-cart-group="Holiday"] .cw-cart-group-copy { flex-wrap: wrap; row-gap: 4px; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-group-title { white-space: nowrap; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-chip { display: inline-block; padding: 3px 6px; border-radius: 3px; background: #2b5a44; color: #f7f0e2; font-size: 9.5px; font-weight: 800; line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:where([data-cart-route^="/christmas/"],[data-cart-route^="/thanksgiving/"]) { color: #722826; font-weight: 650; text-decoration-color: currentColor; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:where([data-cart-route^="/christmas/"],[data-cart-route^="/thanksgiving/"]):hover { color: #561b1a; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-discover:where([data-cart-route^="/christmas/"],[data-cart-route^="/thanksgiving/"]) > span { background: #722826; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-summary { margin: 12px 0 2px; padding: 10px 12px; border: 1px solid #ecd6cf; border-radius: 8px; background: #fbf3ef; font-size: 13px; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-summary p.is-deal { color: #722826; font-weight: 700; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-summary p.is-total { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #e0c4bb; font-weight: 700; }
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-summary small { display: block; margin-top: 6px; color: #6b6b6b; font-size: 11.5px; }
@media (forced-colors: active) { #typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-chip { border: 1px solid CanvasText; } }

/* FE1 11/10 price emphasis in Holiday deals. */
#typewriterWorkshop .cw-cart-selectable .cw-cart-item[data-holiday] .cw-cart-line-price{color:#b3202f;font-weight:800;font-size:16px}
#typewriterWorkshop .cw-cart-selectable .cw-cart-item[data-holiday="thanksgiving"] .cw-cart-line-price{color:#b3202f}
#typewriterWorkshop .cw-cart-selectable .cw-cart-group[data-cart-group="Holiday"] .cw-cart-group-price{font-size:17px;font-weight:800}
#typewriterWorkshop .cw-cart-selectable .cw-cart-holiday-summary p.is-total{font-size:15px}
