/* Header cart (WooCommerce Mini-Cart): the drawer's title, its two footer
 * buttons and the item-count badge on the header icon. Loaded on every page
 * with the header. The buttons carry older block styles (.aurify-cart gold,
 * per-block custom CSS, the theme's uppercase button type), hence !important.
 */

/* Title: clear of the top edge (and of the admin bar), level with the close button. */
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  margin: 18px 64px -32px 20px;
  line-height: 1.3;
}

/* A rendered store-notices box above the title already brings 16px of margin. */
.wc-block-mini-cart__drawer .wc-block-components-notices:not(:empty) + h2.wc-block-mini-cart__title {
  margin-top: 2px;
}

.wc-block-mini-cart__drawer .wc-block-components-button.wc-block-components-drawer__close {
  top: 22px;
  inset-inline-end: 16px;
}

/* Footer buttons: glass "View cart", solid "Checkout", side by side. */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions {
  gap: 10px;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-components-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-components-button:active {
  transform: scale(.98);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart {
  border: 1px solid rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #f5f5f3 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart:hover {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-checkout {
  border: 1px solid transparent !important;
  background: #f5f5f3 !important;
  color: #0b0b0d !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-checkout:hover {
  background: #fff !important;
  color: #0b0b0d !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-checkout::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13.5M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13.5M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Phones: WooCommerce stacks the two buttons. */
@media only screen and (max-width: 480px) {
  .wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wc-block-components-button {
    flex: none !important;
    width: 100% !important;
  }
}

/* Item count on the header cart icon (its block colours were white on white). */
.wc-block-mini-cart__badge {
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  background-color: #00dfca !important;
  color: #03201d !important;
  box-shadow: 0 0 0 2px #050507;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1;
}
