/* Scope the parent theme's color variables to the Gros7 cart identity. */
body.gros7-cart-page {
  --color: #0752c9;
  --darken10: #0644a8;
}

/* The ID outranks Emarket's important table/action button selectors. */
#g7-main.g7-cart-page .woocommerce .actions .button {
  background: #0752c9 !important;
  border-color: #0752c9 !important;
  color: #fff !important;
}

#g7-main.g7-cart-page .woocommerce .actions .button:hover,
#g7-main.g7-cart-page .woocommerce .actions .button:focus-visible {
  background: #0644a8 !important;
  border-color: #0644a8 !important;
  color: #fff !important;
}

.g7-cart-page .g7-cart-card {
  background: #ffffff !important;
  border-color: #dce6f4 !important;
}

.g7-cart-page .g7-cart-card .woocommerce table.shop_table th {
  color: #061f51 !important;
  background: #edf4ff !important;
  border-color: #cddcf2 !important;
}

.g7-cart-page .g7-cart-card .woocommerce table.shop_table td {
  border-color: #e2eaf5 !important;
}

.g7-cart-page .g7-cart-card .woocommerce .cart-collaterals {
  width: 100% !important;
  clear: both !important;
  float: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.g7-cart-page .g7-cart-card .woocommerce .cart_totals {
  float: none !important;
  width: min(100%, 450px) !important;
  margin: 0 0 0 auto !important;
  padding: 24px !important;
  color: #101828 !important;
  background: #f3f7ff !important;
  border: 1px solid #cddcf2 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.g7-cart-page .g7-cart-card .woocommerce .cart_totals h2 {
  color: #061f51 !important;
}

.g7-cart-page .g7-cart-card .woocommerce .cart_totals th,
.g7-cart-page .g7-cart-card .woocommerce .cart_totals td {
  color: #101828 !important;
  background: transparent !important;
  border-color: #cddcf2 !important;
}

.g7-cart-page .g7-cart-card .woocommerce button.button,
.g7-cart-page .g7-cart-card .woocommerce input.button,
.g7-cart-page .g7-cart-card .woocommerce .coupon .button,
.g7-cart-page .g7-cart-card .woocommerce button[name="update_cart"] {
  color: #ffffff !important;
  background: #0752c9 !important;
  border-color: #0752c9 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

.g7-cart-page .g7-cart-card .woocommerce button.button:hover,
.g7-cart-page .g7-cart-card .woocommerce input.button:hover,
.g7-cart-page .g7-cart-card .woocommerce .coupon .button:hover,
.g7-cart-page .g7-cart-card .woocommerce button[name="update_cart"]:hover {
  color: #ffffff !important;
  background: #0b65e8 !important;
  border-color: #0b65e8 !important;
}

.g7-cart-page .g7-cart-card .woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  width: 100% !important;
  min-height: 50px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 14px !important;
  color: #061f51 !important;
  background: #ffc400 !important;
  border: 1px solid #ffc400 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.g7-cart-page .g7-cart-card .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  color: #061f51 !important;
  background: #ffdc55 !important;
  border-color: #ffdc55 !important;
}

.g7-cart-page .g7-cart-card .woocommerce a.remove {
  color: #d02d45 !important;
}

@media (max-width: 760px) {
  .g7-cart-page .g7-cart-card .woocommerce .cart_totals {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 14px !important;
  }

  .g7-cart-page .g7-cart-card .woocommerce .wc-proceed-to-checkout a.checkout-button {
    font-size: 14px !important;
  }
}
