/* Floating View Cart (product pages only) */
.md-floating-cart {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: none;
  align-items: center;
  padding: 12px 16px;
  border-radius: 50%;
  border: 1px solid rgba(15,23,42,.18);
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
}

.md-floating-cart:hover{
  transform: translateY(-2px);
  border-color: #00c9ff;
  color: #00c9ff;
}

/* Cart page: row wrapper we inject */
body.woocommerce-cart .md-cart-actions-row{
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 12px;
}

/* Buttons in the injected row */
body.woocommerce-cart .md-cart-actions-row a{
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 16px;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 600;
  
  font-size: 14px;        /* slightly smaller */
  white-space: nowrap;    /* prevent wrapping */
}

/* Continue Browsing: outline */
body.woocommerce-cart .md-continue-browsing{
  border: 1px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

body.woocommerce-cart .md-continue-browsing:hover{
  border-color: #00c9ff !important;
  color: #00c9ff !important;
  -webkit-text-fill-color: #00c9ff !important;
}

/* Woo "added to cart" notices (product pages) */
.woocommerce-message,
.woocommerce-notice,
.woocommerce-info {
  border-top-color: #00c9ff !important;   /* change green line to blue */
}

/* Style the View cart button inside the notice */
.woocommerce-message a.button,
.woocommerce-message a.wc-forward,
.woocommerce-notice a.button,
.woocommerce-notice a.wc-forward,
.woocommerce-info a.button,
.woocommerce-info a.wc-forward {
  background: #fff !important;
  border: 1px solid #000 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border-radius: 20px !important; /* match your square style */
}

/* Hover */
.woocommerce-message a.button:hover,
.woocommerce-message a.wc-forward:hover,
.woocommerce-notice a.button:hover,
.woocommerce-notice a.wc-forward:hover,
.woocommerce-info a.button:hover,
.woocommerce-info a.wc-forward:hover {
  background: #fff !important;
  border-color: #00c9ff !important;
  color: #00c9ff !important;
  -webkit-text-fill-color: #00c9ff !important;
}

/* Change Woo success notice icon color */
.woocommerce-message::before {
  color: #00c9ff !important;
}