/*
  Pagina do carrinho (shopping_cart.php, montada por includes/cart/shell.php).

  Tudo fica dentro de #swcart e usa o prefixo swcart-. Nao reutilize aqui classes ou ids
  antigos do carrinho (.cont_carrinho, .contentInfoText, .title_produto, .cart_total,
  .botao_t, #cep_box_busca, #cep, #b_cep, #dialog_cep, .stockWarning): os estilos de
  templates/<loja>/css miram esses nomes e voltariam a alterar a pagina. Os poucos
  "!important" abaixo existem porque o CSS global das lojas traz regras como
  "button{width:auto!important}".

  Cor de destaque: a mesma do checkout. O template da loja define --swck-accent (e, se
  quiser, --swck-accent-ink, o texto sobre ela), de preferencia em ":root", e as duas
  paginas usam a mesma cor. Este arquivo nunca define essas duas variaveis. Sem elas,
  checkout-app/src/accent.js descobre a cor do botao de compra da loja
  (--swck-accent-auto) e escurece o texto quando o branco nao da contraste AA
  (--swck-accent-ink-auto). Sem nada disso, vale o grafite. --swck-a e --swck-a-ink sao a
  mesma conta de checkout_shell.css, lida tambem por accent.js.

  O conteudo de #swcart e desenhado pelo app React em checkout-app/cart (build em
  ext/js/checkout/dist/cart.js).
*/
#swcart {
  --swck-a: var(--swck-accent, var(--swck-accent-auto, #1c2430));
  --swck-a-ink: var(--swck-accent-ink, var(--swck-accent-ink-auto, #ffffff));
  --swcart-ink: #1c2430;
  --swcart-muted: #5b6673;
  --swcart-line: #dfe4ea;
  --swcart-edge: #7b8794;
  --swcart-soft: #f4f6f8;
  --swcart-surface: #ffffff;
  --swcart-ok: #18794e;
  --swcart-danger: #b42318;
  --swcart-danger-soft: #fef3f2;
  --swcart-danger-line: #f1c4bf;
  --swcart-radius: 14px;

  position: relative;
  box-sizing: border-box;
  clear: both;
  width: 100%;
  max-width: 1120px;
  min-height: 320px;
  margin: 0 auto;
  padding: 8px 16px 56px;
  color: #1c2430;
  color: var(--swcart-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
#swcart *,
#swcart *:before,
#swcart *:after {
  box-sizing: border-box;
}
#swcart h1,
#swcart h2,
#swcart p,
#swcart ul,
#swcart li,
#swcart label,
#swcart b,
#swcart strong,
#swcart small,
#swcart aside,
#swcart section,
#swcart header,
#swcart form {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  list-style: none;
  text-align: left;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
}
#swcart b,
#swcart strong {
  font-weight: 700;
}
/* O CSS global das lojas poe "clearfix" (content:""; display:block) em botoes e links;
   dentro de grid/flex isso vira um item a mais e tira o conteudo do centro. */
#swcart button:before,
#swcart button:after,
#swcart a:before,
#swcart a:after,
#swcart li:before,
#swcart li:after,
#swcart h1:before,
#swcart h1:after,
#swcart h2:before,
#swcart h2:after {
  content: none;
}
#swcart a {
  color: inherit;
  font: inherit;
  text-decoration: none;
  text-transform: none;
}
#swcart img {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  float: none;
}
#swcart svg {
  display: block;
  flex: none;
}
#swcart button,
#swcart input {
  float: none;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  transition: none;
}
#swcart button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
#swcart [hidden] {
  display: none !important;
}
#swcart .swcart-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Texto mostrado ate o app montar (e para quem esta sem JavaScript). */
#swcart .swcart-boot {
  padding: 48px 0;
  color: var(--swcart-muted);
  text-align: center;
}

/* Cabecalho */
#swcart .swcart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 8px 0 22px;
}
#swcart .swcart-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}
#swcart .swcart-count {
  color: var(--swcart-muted);
  font-size: 15px;
}

/* Avisos gerais */
#swcart .swcart-error,
#swcart .swcart-stock-note {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--swcart-danger-line);
  border-radius: 10px;
  background: var(--swcart-danger-soft);
  color: #8a1c12;
  font-size: 14px;
}

/* Grade: itens a esquerda, resumo a direita (no HTML, itens antes do resumo: a ordem
   do celular e a de leitura). */
#swcart .swcart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 368px);
  column-gap: 32px;
  align-items: start;
}
#swcart .swcart-main {
  min-width: 0;
}
#swcart .swcart-items {
  padding: 0 24px;
  border: 1px solid var(--swcart-line);
  border-radius: var(--swcart-radius);
  background: var(--swcart-surface);
}

/* Item */
#swcart .swcart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas:
    "thumb info"
    "thumb actions";
  column-gap: 20px;
  row-gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--swcart-line);
}
#swcart .swcart-item:last-child {
  border-bottom: 0;
}
#swcart .swcart-thumb {
  grid-area: thumb;
  display: block;
  width: 104px;
  height: 104px;
  overflow: hidden;
  border: 1px solid var(--swcart-line);
  border-radius: 12px;
  background: #fff;
}
#swcart .swcart-thumb.is-empty {
  background: var(--swcart-soft);
}
#swcart .swcart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#swcart .swcart-item-info {
  grid-area: info;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  min-width: 0;
}
#swcart .swcart-item-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#swcart .swcart-item-name:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
#swcart .swcart-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* Texto corrido: em tela estreita "Tamanho / Cor P - Vermelho" quebra como frase. */
#swcart .swcart-variant {
  display: inline-block;
  max-width: 100%;
  padding: 3px 10px;
  border: 1px solid var(--swcart-line);
  border-radius: 8px;
  background: var(--swcart-soft);
  font-size: 13px;
  line-height: 1.35;
}
#swcart .swcart-variant-name {
  margin-right: 6px;
  color: var(--swcart-muted);
}
#swcart .swcart-variant-value {
  color: var(--swcart-ink);
  font-weight: 700;
}
#swcart .swcart-item-unit {
  color: var(--swcart-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
#swcart .swcart-item-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
#swcart .swcart-item-total {
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#swcart .swcart-item.is-busy .swcart-item-total,
#swcart [aria-busy="true"] .swcart-subtotal-value,
#swcart .swcart-bar-total[aria-busy="true"] strong {
  opacity: .45;
}

/* Quantidade: alvos de 44px */
#swcart .swcart-qty {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--swcart-edge);
  border-radius: 10px;
  background: #fff;
}
#swcart .swcart-qty-btn {
  display: grid;
  place-items: center;
  width: 44px !important;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--swcart-ink);
  cursor: pointer;
}
#swcart .swcart-qty-btn:hover {
  background: var(--swcart-soft);
}
#swcart .swcart-qty-btn:disabled {
  background: #fff;
  color: #b3bcc6;
  cursor: default;
}
#swcart .swcart-qty-input {
  width: 52px !important;
  min-width: 52px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  border-right: 1px solid var(--swcart-line);
  border-left: 1px solid var(--swcart-line);
  border-radius: 0;
  background: #fff;
  color: var(--swcart-ink);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
#swcart .swcart-qty-input:focus {
  outline: 2px solid var(--swck-a);
  outline-offset: -2px;
}
#swcart .swcart-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto !important;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--swcart-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#swcart .swcart-remove:hover {
  background: var(--swcart-danger-soft);
  color: var(--swcart-danger);
}

/* Estoque: texto e acao, nao so cor */
#swcart .swcart-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 8px 8px 10px;
  border: 1px solid var(--swcart-danger-line);
  border-radius: 10px;
  background: var(--swcart-danger-soft);
  color: #8a1c12;
  font-size: 14px;
  line-height: 1.35;
}
#swcart .swcart-stock-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--swcart-danger);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
#swcart .swcart-stock-text {
  flex: 1 1 160px;
  font-weight: 600;
}
#swcart .swcart-chip-btn {
  width: auto !important;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #8a1c12;
  border-radius: 8px;
  background: #fff;
  color: #8a1c12;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
#swcart .swcart-chip-btn:hover {
  background: #fff7f6;
}
#swcart .swcart-item.is-out .swcart-thumb {
  border-color: var(--swcart-danger-line);
}

/* Resumo */
#swcart .swcart-summary {
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--swcart-line);
  border-radius: var(--swcart-radius);
  background: var(--swcart-surface);
}
#swcart .swcart-summary-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
#swcart .swcart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
#swcart .swcart-subtotal > span {
  display: grid;
  font-size: 15px;
  font-weight: 600;
}
#swcart .swcart-subtotal small {
  color: var(--swcart-muted);
  font-size: 13px;
  font-weight: 400;
}
#swcart .swcart-subtotal-value {
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  white-space: nowrap;
}
#swcart .swcart-next {
  color: var(--swcart-muted);
  font-size: 13px;
}
#swcart .swcart-blocked {
  color: var(--swcart-danger);
  font-size: 14px;
  font-weight: 600;
}

/* Frete */
#swcart .swcart-ship {
  padding-top: 16px;
  border-top: 1px solid var(--swcart-line);
}
#swcart .swcart-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
#swcart .swcart-ship-row {
  display: flex;
  gap: 8px;
}
#swcart .swcart-input {
  display: block;
  flex: 1 1 auto;
  width: 100% !important;
  min-width: 0;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--swcart-edge);
  border-radius: 10px;
  background-color: #fff;
  color: var(--swcart-ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
#swcart .swcart-input:focus {
  border-color: var(--swck-a);
  outline: 2px solid var(--swck-a);
  outline-offset: 1px;
}
#swcart .swcart-input[aria-invalid="true"] {
  border-color: var(--swcart-danger);
}
#swcart .swcart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: auto !important;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--swcart-ink);
  border-radius: 10px;
  background: #fff;
  color: var(--swcart-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
#swcart .swcart-btn:hover {
  background: var(--swcart-soft);
}
#swcart .swcart-btn:disabled {
  cursor: progress;
  opacity: .6;
}
#swcart .swcart-ship-help {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--swcart-muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#swcart .swcart-ship-result:empty {
  display: none;
}
#swcart .swcart-ship-msg {
  margin-top: 6px;
  color: var(--swcart-muted);
  font-size: 14px;
}
#swcart .swcart-ship-msg.is-error {
  color: var(--swcart-danger);
}
#swcart .swcart-text-btn {
  width: auto !important;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
#swcart .swcart-ship-list {
  margin-top: 6px;
}
#swcart .swcart-ship-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed #c9d0d8;
}
#swcart .swcart-ship-option:first-child {
  border-top: 0;
}
#swcart .swcart-ship-option.is-error {
  display: grid;
  gap: 2px;
}
/* Rotulos tratados em checkout-app/src/shipping.js: logo pequeno, nome e prazo juntos. */
#swcart .swcart-ship-logo {
  flex: none;
  width: 28px;
  height: 20px;
  object-fit: contain;
}
#swcart .swcart-ship-text {
  display: grid;
  flex: 1;
  gap: 1px;
  min-width: 0;
}
#swcart .swcart-ship-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
#swcart .swcart-ship-detail {
  color: var(--swcart-muted);
  font-size: 13px;
  line-height: 1.35;
}
#swcart .swcart-ship-price {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#swcart .swcart-ship-price.is-free {
  color: var(--swcart-ok);
}
#swcart .swcart-ship-option.is-off .swcart-ship-price {
  color: var(--swcart-muted);
  font-weight: 400;
}

/* Acoes principais */
#swcart .swcart-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid var(--swck-a);
  border-radius: 12px;
  background: var(--swck-a);
  color: var(--swck-a-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
#swcart .swcart-btn-primary:hover,
#swcart .swcart-btn-primary:focus {
  background: var(--swck-a);
  color: var(--swck-a-ink);
  filter: brightness(.92);
}
#swcart .swcart-btn-primary.is-blocked {
  opacity: .5;
  cursor: not-allowed;
}
#swcart .swcart-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  margin-top: -6px;
  color: var(--swcart-ink);
  font-size: 15px;
  font-weight: 600;
}
#swcart .swcart-continue:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
#swcart .swcart-btn:focus-visible,
#swcart .swcart-btn-primary:focus-visible,
#swcart .swcart-qty-btn:focus-visible,
#swcart .swcart-remove:focus-visible,
#swcart .swcart-chip-btn:focus-visible,
#swcart .swcart-text-btn:focus-visible,
#swcart .swcart-continue:focus-visible,
#swcart .swcart-ship-help:focus-visible,
#swcart .swcart-item-name:focus-visible,
#swcart .swcart-toast button:focus-visible {
  outline: 2px solid var(--swck-a);
  outline-offset: 3px;
}

/* Carrinho vazio */
#swcart .swcart-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto;
  padding: 56px 24px;
  border: 1px solid var(--swcart-line);
  border-radius: var(--swcart-radius);
  background: var(--swcart-surface);
  text-align: center;
}
#swcart .swcart-empty-icon {
  color: var(--swcart-muted);
}
#swcart .swcart-empty-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
#swcart .swcart-empty-text {
  color: var(--swcart-muted);
  text-align: center;
}
#swcart .swcart-empty-btn {
  max-width: 320px;
  margin-top: 8px;
}

/* Avisos (toasts): "saiu do carrinho / Desfazer" e qualquer alert() da pagina
   (checkout-app/src/toast.js e components/Toasts.jsx, com prefix="swcart"). */
#swcart .swcart-toasts {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1000000;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
#swcart .swcart-toasts:empty {
  display: none;
}
#swcart .swcart-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  padding: 6px 6px 6px 14px;
  border-radius: 12px;
  background: #1c2430;
  color: #fff;
  box-shadow: 0 10px 30px rgba(28, 36, 48, .25);
  font-size: 14px;
  line-height: 1.4;
  pointer-events: auto;
  animation: swcart-toast-in .18s ease-out;
}
#swcart .swcart-toast-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f97066;
  color: #1c2430;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
#swcart .swcart-toast-text {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  white-space: pre-line;
}
#swcart .swcart-toast-btn {
  flex: none;
  width: auto !important;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#swcart .swcart-toast-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px !important;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #fff;
  cursor: pointer;
}
#swcart .swcart-toast-btn:hover,
#swcart .swcart-toast-close:hover {
  background: rgba(255, 255, 255, .12);
}
/* So deslocamento: se a animacao nao rodar (aba em segundo plano), o aviso continua visivel. */
@keyframes swcart-toast-in {
  from {
    transform: translateY(8px);
  }
}

/* Barra fixa do celular */
#swcart .swcart-bar {
  display: none;
}

@media (max-width: 900px) {
  /* As laterais ja vem do container da loja. */
  #swcart {
    padding: 4px 0 112px;
  }
  #swcart .swcart-head {
    margin: 4px 0 14px;
  }
  #swcart .swcart-title {
    font-size: 24px;
  }
  #swcart .swcart-count {
    font-size: 14px;
  }
  #swcart .swcart-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
  #swcart .swcart-items {
    padding: 0 16px;
  }
  #swcart .swcart-summary {
    position: static;
    padding: 20px 16px;
  }
  /* Campos com 16px: abaixo disso o Safari do iPhone amplia a pagina ao focar. */
  #swcart .swcart-input {
    font-size: 16px;
  }
  #swcart .swcart-ship-help,
  #swcart .swcart-chip-btn {
    min-height: 44px;
  }
  #swcart .swcart-toasts {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  #swcart .swcart-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--swcart-line);
    background: #fff;
    box-shadow: 0 -6px 18px rgba(28, 36, 48, .08);
    transition: transform .2s ease, visibility .2s;
  }
  #swcart .swcart-bar.is-away {
    visibility: hidden;
    transform: translateY(110%);
  }
  #swcart .swcart-bar-total {
    display: grid;
    flex: none;
    line-height: 1.2;
  }
  #swcart .swcart-bar-total small {
    color: var(--swcart-muted);
    font-size: 12px;
  }
  #swcart .swcart-bar-total strong {
    font-size: 19px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  #swcart .swcart-bar .swcart-btn-primary {
    flex: 1;
    width: auto !important;
    min-height: 50px;
    padding: 11px 12px;
    font-size: 16px;
  }
  /* Widgets flutuantes da loja (ex.: WhatsApp) sobem para nao cobrir a barra. */
  body.shopping_cart #bm_whatsapp {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 560px) {
  #swcart .swcart-item {
    grid-template-columns: 80px minmax(0, 1fr);
    grid-template-areas:
      "thumb info"
      "actions actions";
    column-gap: 14px;
    row-gap: 12px;
    padding: 16px 0;
  }
  #swcart .swcart-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }
  #swcart .swcart-item-name {
    font-size: 15px;
  }
  #swcart .swcart-item-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }
  #swcart .swcart-item-total {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  /* So o icone fica visivel; o nome "Remover" continua para leitores de tela. */
  #swcart .swcart-remove {
    justify-content: center;
    width: 44px !important;
    padding: 0;
  }
  #swcart .swcart-remove-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  #swcart .swcart-bar {
    transition: none;
  }
  #swcart .swcart-toast {
    animation: none;
  }
}
