.puramu-product-toast {
  position: fixed;
  z-index: 80;
  left: 24px;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  width: min(430px, calc(100vw - 48px));
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #171717;
  box-shadow: 0 8px 30px rgb(0 0 0 / 12%);
  font-family: var(--font-sans, Inter, sans-serif);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease;
}
.puramu-product-toast[hidden],
.puramu-product-toast [hidden] { display: none !important; }
.puramu-product-toast.is-visible { opacity: 1; transform: translateY(0); }
.puramu-product-toast__link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}
.puramu-product-toast__link:hover { color: inherit; }
.puramu-product-toast__image { display: block; position: relative; min-height: 88px; border-radius: 6px; overflow: hidden; }
.puramu-product-toast__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.puramu-product-toast__content { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-width: 0; min-height: 88px; }
.puramu-product-toast__heading {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 20px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-primary, #c82026);
}
.puramu-product-toast__heading svg { width: 14px; height: 14px; flex-shrink: 0; }
.puramu-product-toast__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.puramu-product-toast__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-primary, #c82026);
}
.puramu-product-toast__price ins { order: 0; background: none; text-decoration: none; }
.puramu-product-toast__price del { order: 1; font-size: 11px; font-weight: 400; color: #9ca3af; }
.puramu-product-toast__price .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.puramu-product-toast__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 10px; font-size: 11px; line-height: 1.25; color: #737373; }
.puramu-product-toast__stat { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.puramu-product-toast__stat svg { width: 13px; height: 13px; flex-shrink: 0; }
.puramu-product-toast__close {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #858585;
  cursor: pointer;
}
.puramu-product-toast__close:hover { background: transparent; color: var(--color-primary, #c82026); }
.puramu-product-toast__close svg { width: 18px; height: 18px; }
.puramu-product-toast :focus-visible { outline: 2px solid var(--color-primary, #c82026); outline-offset: 3px; }
@media (max-width: 639px) {
  .puramu-product-toast { left: 12px; bottom: max(calc(80px + env(safe-area-inset-bottom, 0px)), var(--puramu-toast-clearance, 0px)); width: min(390px, calc(100vw - 24px)); }
  .puramu-product-toast__link { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .puramu-product-toast__image, .puramu-product-toast__content { min-height: 80px; }
  .puramu-product-toast__heading { font-size: 11px; }
  .puramu-product-toast__title { font-size: 12px; }
  .puramu-product-toast__price { font-size: 15px; }
  .puramu-product-toast__price del { font-size: 10px; }
  .puramu-product-toast__meta { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .puramu-product-toast { transition: none; transform: none; }
}
