/* === MINI CART – FORÇAR CORES DOS BOTÕES === */

/* GERAR ORÇAMENTO (AZUL) */
.nasa-static-sidebar .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-generate-orc,
.ns-cart-popup-v2 .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-generate-orc {
  background-color: #0074fe !important;
  border-color: #0074fe !important;
  color: #fff !important;
}

/* LIMPAR CARRINHO (VERMELHO) */
.nasa-static-sidebar .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-clear-mini-cart,
.ns-cart-popup-v2 .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-clear-mini-cart {
  background-color: #FFF0F3 !important;
  border-color: #ef4444 !important;
  color: red !important;
}

/* Hover */
.nasa-static-sidebar .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-generate-orc:hover,
.ns-cart-popup-v2 .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-generate-orc:hover {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

.nasa-static-sidebar .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-clear-mini-cart:hover,
.ns-cart-popup-v2 .btn-mini-cart .woocommerce-mini-cart__buttons a.exp-clear-mini-cart:hover {
  background-color: #ef4444 !important;
  border-color: #dc2626 !important;
  color: #FFF0F3 !important;
}

/* Wrapper dos botões do mini-cart */
.woocommerce-mini-cart__buttons,
.mini-cart-buttons,
.widget_shopping_cart_content .buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Ambos ocupam metade da linha */
a.button.exp-generate-orc,
a.button.exp-clear-mini-cart {
  flex: 1 1 calc(50% - 5px);
  text-align: center;
  height: 40px;
  line-height: 40px;
  padding: 0 !important;
  border-radius: 5px !important;
  font-weight: 500;
  font-size: small;
}

/* === Gerar Orçamento (AZUL) === */
a.button.exp-generate-orc {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

a.button.exp-generate-orc:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

/* === Limpar Carrinho (VERMELHO) === */
a.button.exp-clear-mini-cart {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #fff !important;
}

a.button.exp-clear-mini-cart:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
}

/* Mobile safety */
@media (max-width: 420px) {
  a.button.exp-generate-orc,
  a.button.exp-clear-mini-cart {
    flex: 1 1 100%;
  }
}

.exp-clean-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  background: #e53935 !important;
  color: white !important;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

a.button.buy-end {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
}

a.button.buy-end:hover,
a.button.buy-end:focus {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
}

.exp-clean-btn:hover,
.exp-clean-btn:focus-visible,
.exp-remove-row:hover,
.exp-remove-row:focus-visible {
  border-color: #e53935 !important;
  background: #e53935 !important;
  color: white !important;
  outline: none;
}

.exp-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
}

.exp-pdf-btn:hover {
  background: #f5f5f5;
}

.exp-pdf-btn img {
  display: block;
}
