#mtd-purchase-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.mtd-purchase-feedback[hidden] { display: none !important; }
.mtd-purchase-feedback {
  position: fixed;
  z-index: 10000;
  top: 66px;
  right: max(16px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  width: min(370px, calc(100% - 32px));
  padding: 12px 12px 12px 16px;
  border: 1px solid #dfe5e6;
  border-radius: 10px;
  background: #fff;
  color: #30383a;
  box-shadow: 0 8px 24px #30383a20;
  overflow-wrap: anywhere;
}
body.modal-open .mtd-purchase-feedback { visibility: hidden; }
.mtd-purchase-feedback__body > strong { font-size: 16px; }
.mtd-purchase-feedback__item { margin: 4px 0 8px; color: #59676a; font-size: 13px; line-height: 1.35; }
.mtd-purchase-feedback__cart {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #ea9947;
  color: #29190b;
  font-weight: 700;
  text-decoration: none;
}
.mtd-purchase-feedback__cart:hover,
.mtd-purchase-feedback__cart:focus { color: #29190b; background: #e58d34; text-decoration: none; }
.mtd-purchase-feedback__close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #f6f7f7;
  color: #30383a;
  font: inherit;
  font-size: 23px;
}
.mtd-purchase-feedback :is(a, button):focus-visible { outline: 2px solid #7c4319; outline-offset: 2px; }
.product-card-cta .btn-add-to-cart { white-space: normal; }

@media (max-width: 767px) {
  .mtd-purchase-feedback { top: max(118px, calc(110px + env(safe-area-inset-top))); }
}
