/* Cart-only reading contrast and floating-contact clearance.
   No product prices, cart values, shipping rules or global theme tokens change. */
body:has(#shoppingCartPage) :is(#wa-newsletter-gift, .btn-whatsapp),
body:has(#modal-cart.modal-show, #modal-cart.modal-visible) :is(#wa-newsletter-gift, .btn-whatsapp) {
  display: none !important;
}

:is(#shoppingCartPage, #modal-cart),
:is(#shoppingCartPage, #modal-cart) :is(h1, h2, h3, h4, h5, h6, p, span, small, strong, em, label, legend, dt, dd, a, button, input, select, textarea) {
  color: #626466 !important;
}

:is(#shoppingCartPage, #modal-cart) :is(.opacity-40, .opacity-50) {
  opacity: 1 !important;
}

:is(#shoppingCartPage, #modal-cart) :is(input, textarea)::placeholder {
  color: #626466 !important;
  opacity: 1 !important;
}

:is(#shoppingCartPage, #modal-cart) :is(.label-accent, .alert) {
  background-color: #f8f8f8 !important;
  color: #626466 !important;
}

:is(#shoppingCartPage, #modal-cart) svg {
  color: #626466 !important;
}

:is(#shoppingCartPage, #modal-cart) .btn-primary,
:is(#shoppingCartPage, #modal-cart) .btn-primary * {
  background-color: #2e7d32 !important;
  border-color: #2e7d32 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none;
}

:is(#shoppingCartPage, #modal-cart) .btn-primary:hover,
:is(#shoppingCartPage, #modal-cart) .btn-primary:active {
  background-color: #256529 !important;
  border-color: #256529 !important;
}

:is(#shoppingCartPage, #modal-cart) .btn-primary:focus-visible {
  outline: 2px solid #626466;
  outline-offset: 3px;
}

:is(#shoppingCartPage, #modal-cart) .btn-primary:disabled,
:is(#shoppingCartPage, #modal-cart) .btn-primary[disabled] {
  background-color: #68746a !important;
  border-color: #68746a !important;
}

/* Keep the Funsales notice in the drawer flow with the app's native states and actions. */
#modal-cart #fun-brindes-alerta-carrinho:not(.modo-padrao) {
  animation: none;
  background: #f6f4ef !important;
  border: 1px solid #dfd9cd;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  column-gap: 10px;
  justify-content: flex-start !important;
  margin: 0 0 10px;
  min-height: 0;
  padding: 9px 12px;
  transform: none;
  transition: none;
  width: 100%;
  z-index: auto;
}

#modal-cart #fun-brindes-alerta-carrinho:not(.modo-padrao)::after {
  content: none;
}

#modal-cart #fun-brindes-alerta-carrinho:not(.modo-padrao) .fun-brindes-icons {
  margin: 0;
}

#modal-cart #fun-brindes-alerta-carrinho:not(.modo-padrao) .fun-brindes-mensagem > span {
  color: #48433e !important;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

#modal-cart #fun-brindes-alerta-carrinho:not(.modo-padrao) .fun-brindes-alerta-btn {
  background: #e8e2d6 !important;
  color: #48433e !important;
  margin: 4px 0 0;
}

#modal-cart #fun-brindes-alerta-carrinho:not(.modo-padrao) .fun-brindes-alerta-btn:hover {
  background: #dfd9cd !important;
}
