.x-mini-cart .vp-cart-remove-action,
.vp-cart-remove-action,
.vp-checkout-remove-action {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  bottom: 0 !important;
  box-sizing: border-box;
  color: #111 !important;
  display: inline-flex !important;
  float: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  height: auto !important;
  justify-content: center;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 44px;
  min-width: 44px;
  overflow: visible !important;
  padding: 0 !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  width: 44px !important;
}

.vp-cart-remove-action::before,
.vp-checkout-remove-action::before {
  background: rgba(139, 30, 30, 0.09);
  border-left: 1px solid rgba(139, 30, 30, 0.12);
  bottom: 0;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color 160ms ease, border-color 160ms ease;
  width: 40px;
}

.vp-cart-remove-action:hover,
.vp-cart-remove-action:focus-visible,
.vp-checkout-remove-action:hover,
.vp-checkout-remove-action:focus-visible {
  color: #fff !important;
  outline: 3px solid rgba(139, 30, 30, 0.3);
  outline-offset: 2px;
}

.vp-cart-remove-action:hover::before,
.vp-cart-remove-action:focus-visible::before,
.vp-checkout-remove-action:hover::before,
.vp-checkout-remove-action:focus-visible::before {
  background: #6f1111;
  border-color: #6f1111;
}

.vp-checkout-remove-confirmation button:hover,
.vp-checkout-remove-confirmation button:focus-visible {
  background: #fff4f4;
  color: #6f1111 !important;
  outline: 3px solid rgba(139, 30, 30, 0.3);
  outline-offset: 2px;
}

.vp-cart-remove-action[aria-disabled="true"],
.vp-checkout-remove-action[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.55;
  pointer-events: none;
}

.vp-cart-remove-icon {
  font-size: 1.55em;
  line-height: 1;
  position: relative;
  transform: translate(2px, -1px);
  z-index: 1;
}

.vp-cart-remove-label {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.x-mini-cart li.woocommerce-mini-cart-item,
.x-mini-cart li.mini_cart_item {
  padding-right: 54px !important;
  position: relative;
}

.vp-cart-removal-locked {
  clear: both;
  color: #595959;
  display: block;
  float: none;
  font-size: 0.85rem;
  margin-top: 10px;
}

.vp-cart-remove-confirmation {
  align-items: stretch;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
}

.vp-cart-remove-confirmation__prompt {
  flex-basis: 100%;
  font-size: 0.9rem;
  font-weight: 600;
}

.vp-cart-remove-confirmation button,
.vp-checkout-remove-confirmation button {
  border: 1px solid #222;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
  padding: 9px 14px;
}

.vp-cart-remove-confirmation__confirm,
.vp-checkout-remove-confirmation__confirm {
  background: #8b1e1e;
  border-color: #8b1e1e !important;
  color: #fff;
}

.vp-cart-remove-confirmation__cancel,
.vp-checkout-remove-confirmation__cancel {
  background: #fff;
  color: #111;
}

.wc-block-components-order-summary-item.vp-checkout-removal-row {
  padding-right: 52px !important;
  position: relative;
}

.wc-block-components-order-summary-item.vp-checkout-removal-row--locked {
  padding-bottom: 27px !important;
}

.wp-block-woocommerce-checkout-order-summary-block {
  position: relative;
}

.vp-checkout-removal-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.vp-checkout-removal-control {
  pointer-events: none;
  position: absolute;
  width: 44px;
}

.vp-checkout-remove-action,
.vp-checkout-remove-confirmation {
  pointer-events: auto;
}

.vp-checkout-removal-locked {
  color: #595959;
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 190px;
  pointer-events: none;
  position: absolute;
}

.vp-checkout-remove-confirmation {
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 4px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: none;
  padding: 10px;
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: min(252px, calc(100vw - 76px));
  z-index: 3;
}

.vp-checkout-remove-confirmation__prompt,
.vp-checkout-remove-confirmation__error {
  flex-basis: 100%;
  font-size: 0.84rem;
}

.vp-checkout-remove-confirmation__prompt {
  font-weight: 600;
}

.vp-checkout-remove-confirmation__error {
  color: #8b1e1e;
}

.vp-checkout-removal-status {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

@media (max-width: 480px) {
  .vp-cart-remove-confirmation button {
    width: 100% !important;
  }

  .vp-checkout-remove-confirmation {
    right: 46px;
  }
}
