/* STX cart remove confirmation — checkout/cart/mini-cart only chrome */
.stx-cart-remove-modal[hidden],
.stx-cart-empty-panel[hidden] {
  display: none !important;
}

body.stx-cart-remove-open {
  overflow: hidden;
}

.stx-cart-remove-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.stx-cart-remove-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.62);
}

.stx-cart-remove-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  color: #1a1d21;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  padding: 28px 28px 24px;
  font-family: Inter, system-ui, sans-serif;
}

.stx-cart-remove-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #5b6570;
  cursor: pointer;
  padding: 4px 8px;
}

.stx-cart-remove-modal__heading {
  margin: 0 28px 16px 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #1a1d21;
}

.stx-cart-remove-modal__product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.stx-cart-remove-modal__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #e5e8ec;
  border-radius: 2px;
  background: #f4f6f8;
}

.stx-cart-remove-modal__message {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
  color: #2c333a;
}

.stx-cart-remove-modal__qty {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.stx-cart-remove-modal__error {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13px;
}

.stx-cart-remove-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stx-cart-remove-modal__btn {
  flex: 1 1 140px;
  min-height: 44px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.stx-cart-remove-modal__btn--danger {
  background: #fff;
  color: #b42318;
  border: 2px solid #b42318;
}

.stx-cart-remove-modal__btn--danger:hover,
.stx-cart-remove-modal__btn--danger:focus-visible {
  background: #b42318;
  color: #fff;
}

.stx-cart-remove-modal__btn--danger:disabled {
  opacity: 0.65;
  cursor: wait;
}

.stx-cart-remove-modal__btn--secondary {
  background: #1a1d21;
  color: #fff;
  border: 2px solid #1a1d21;
}

.stx-cart-remove-modal__btn--secondary:hover,
.stx-cart-remove-modal__btn--secondary:focus-visible {
  background: #0d1117;
}

.stx-cart-empty-panel {
  max-width: 520px;
  margin: 40px auto;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e8ec;
}

.stx-cart-empty-panel__title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 40px;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.stx-cart-empty-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.stx-cart-empty-panel__continue,
.stx-cart-empty-panel__undo {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.stx-cart-empty-panel__continue {
  background: #1e5a8a;
  color: #fff !important;
  border: 2px solid #1e5a8a;
}

.stx-cart-empty-panel__undo {
  background: #fff;
  color: #1a1d21;
  border: 2px solid #1a1d21;
  cursor: pointer;
}
