.purchase-notice {
  position: fixed;
  z-index: 35;
  inset: auto auto var(--purchase-bottom, 20px) 20px;
  box-sizing: border-box;
  width: min(356px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  padding: 14px 10px 14px 14px;
  color: #23352c;
  background: #fffdf6;
  border: 1px solid #d8d1bf;
  border-radius: 10px;
  box-shadow: 0 5px 22px #0002;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  animation: purchase-arrive 220ms ease-out;
}
.purchase-notice[hidden] { display: none !important; }
.purchase-notice__cover {
  display: block;
  width: 44px;
  height: 62px;
  object-fit: contain;
  border-radius: 2px;
}
.purchase-notice__intro {
  display: block;
  color: #52594f;
  font-size: 12px;
}
.purchase-notice__product {
  display: block;
  margin: 3px 0 6px;
  color: #23352c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.purchase-notice__meta {
  display: block;
  color: #526052;
  font-size: 11px;
  line-height: 1.4;
}
.purchase-notice .purchase-notice__close {
  appearance: none;
  display: grid;
  place-items: center;
  align-self: start;
  width: 36px;
  min-width: 36px;
  height: 40px;
  min-height: 40px;
  margin: -8px -6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: #52594f;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}
.purchase-notice .purchase-notice__close:hover { color: #23352c; background: #eeeadd; }
.purchase-notice .purchase-notice__close:focus-visible { outline: 2px solid #345c42; outline-offset: 1px; }
@keyframes purchase-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .purchase-notice { left: 12px; width: min(356px, calc(100% - 24px)); padding: 12px 10px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { .purchase-notice { animation: none; } }
