.wc-block-mini-cart__badge {
  background-color: var(--wp--preset--color--highlight) !important;
  color: #fff !important;
  font-size: 11px;
}

.wc-block-mini-cart__button {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 540px) {
  .wc-block-components-drawer {
    width: calc(100% - 50px) !important;
  }
}

.wc-block-components-drawer__screen-overlay {
  backdrop-filter: blur(10px) saturate(130%);
  background-color: var(--wp--custom--color--overlay) !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
  padding: var(--wp--preset--spacing--20);
}
@media (min-width: 768px) {
  .wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
    padding: var(--wp--preset--spacing--40);
  }
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents .wc-block-components-notices {
  margin: 0 !important;
}

h2.wc-block-mini-cart__title {
  font-size: var(--wp--preset--font-size--medium);
  margin-top: 0 !important;
}

.wc-block-components-button.wc-block-components-drawer__close {
  right: calc(var(--wp--preset--spacing--20) + 12px) !important;
  top: calc(var(--wp--preset--spacing--20) + 12px) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  box-shadow: unset !important;
  transform: translateY(0) scale(1) rotate(0) !important;
  border-radius: 12px !important;
  border: none !important;
  font-size: 18px !important;
  line-height: 1 !important;
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  .wc-block-components-button.wc-block-components-drawer__close {
    right: calc(var(--wp--preset--spacing--40) + 12px) !important;
    top: calc(var(--wp--preset--spacing--40) + 12px) !important;
  }
}
.wc-block-components-button.wc-block-components-drawer__close:hover {
  transform: translateY(0) rotate(90deg) !important;
  box-shadow: unset !important;
  border: none !important;
  outline: none !important;
  background: var(--wp--preset--color--outline) !important;
}
.wc-block-components-button.wc-block-components-drawer__close:hover > svg {
  transform: translateX(0) !important;
}
.wc-block-components-button.wc-block-components-drawer__close:active, .wc-block-components-button.wc-block-components-drawer__close:focus, .wc-block-components-button.wc-block-components-drawer__close:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}
.wc-block-components-button.wc-block-components-drawer__close:active {
  transform: scale(0.85) rotate(90deg) !important;
  transition-duration: 0.1s !important;
}

.wc-block-mini-cart__footer {
  border-color: var(--wp--preset--color--outline);
}

.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions > .block-editor-inner-blocks > .block-editor-block-list__layout {
  flex-direction: column;
}
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wp-block-woocommerce-mini-cart-cart-button-block,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions > .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-woocommerce-mini-cart-cart-button-block {
  transition: 0.1s;
  border: 1px solid var(--wp--preset--color--outline) !important;
  box-shadow: none !important;
}
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wp-block-woocommerce-mini-cart-cart-button-block:hover,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions > .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-woocommerce-mini-cart-cart-button-block:hover {
  background-color: transparent !important;
  color: var(--wp--preset--color--body) !important;
  box-shadow: var(--wp--preset--shadow--medium);
  transform: scale(1.03);
}
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions .wp-block-woocommerce-mini-cart-checkout-button-block,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions > .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-woocommerce-mini-cart-checkout-button-block {
  background-color: var(--wp--custom--button-action--background);
  color: var(--wp--custom--button-action--color);
}

.wc-block-mini-cart__footer::after {
  border-color: var(--wp--preset--color--outline);
  opacity: 1;
}

table.wc-block-cart-items .wc-block-cart-items__row {
  border-bottom: 1px solid var(--wp--preset--color--outline);
}

table.wc-block-cart-items .wc-block-cart-items__row:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .is-mobile .wp-block-woocommerce-mini-cart-contents table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns: 80px 132px;
  }
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
  border-radius: var(--wp--custom--border-radius--medium);
  overflow: hidden;
  display: flex;
  align-items: center;
  text-decoration: none;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
  font-size: var(--wp--preset--font-size--x-small);
  color: var(--wp--preset--color--heading);
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
  padding: 0 !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-quantity-selector:after {
  border-color: var(--wp--preset--color--outline);
  border-radius: var(--wp--custom--border-radius--medium);
  opacity: 1;
}

table.wc-block-cart-items .wc-block-cart-items__row input.wc-block-components-quantity-selector__input {
  font-size: var(--wp--preset--font-size--xx-small);
  font-weight: var(--wp--custom--font-weight--regular);
  padding-top: 8px;
  padding-bottom: 8px;
}
table.wc-block-cart-items .wc-block-cart-items__row input.wc-block-components-quantity-selector__input:focus {
  box-shadow: none;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-quantity-selector__button:focus {
  box-shadow: none;
  background-color: var(--wp--preset--color--outline);
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description {
  display: none;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-price {
  font-size: var(--wp--preset--font-size--x-small);
  color: var(--wp--preset--color--meta);
}

@media (max-width: 470px) {
  table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    display: none;
  }
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-sale-badge {
  font-weight: var(--wp--custom--font-weight--regular);
  font-size: 11px;
}

.wc-block-cart-item__remove-link {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.wc-block-cart-item__remove-link:hover {
  transform: scale(1.1);
  text-decoration: none;
}
.wc-block-cart-item__remove-link:active {
  transform: scale(0.96);
  transition: all 0.1s;
}