.soi-demo-order {
  position: fixed;
  z-index: 60;
  top: max(var(--soi-demo-order-top, 190px), env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: auto;
  left: auto;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(320px, calc(100% - 32px));
  padding: 12px 36px 12px 10px;
  border: 1px solid #ead8d9;
  border-left: 4px solid var(--brand-red-dark);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px #0002;
  animation: soi-demo-order-enter .2s ease-out;
}
.soi-demo-order-close {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 12px 0 8px;
  background: transparent;
  color: #66585a;
}
.soi-demo-order-close:hover { background: #fff1f1; color: var(--brand-red-dark); }
.soi-demo-order-close svg { width: 17px; height: 17px; }
.soi-demo-order-photo { display: block; border: 1px solid #f0e9e9; border-radius: 8px; overflow: hidden; }
.soi-demo-order-photo img { display: block; width: 50px; height: 50px; padding: 3px; object-fit: contain; background: #fff; }
.soi-demo-order-content { min-width: 0; }
.soi-demo-order-label { display: inline-block; color: var(--brand-red-dark); font-size: 11px; line-height: 1.4; font-weight: 700; }
.soi-demo-order-message { margin: 3px 0 2px; font-size: 10px; line-height: 1.4; color: #65595b; }
.soi-demo-order-product { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.5; }
.soi-demo-order-product:hover { color: var(--brand-red-dark); }
.soi-demo-order-content small { display: block; margin-top: 6px; font-size: 10px; line-height: 1.45; color: #716466; }
@keyframes soi-demo-order-enter { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:540px) {
  .soi-demo-order { right: max(8px, env(safe-area-inset-right, 0px)); width: min(280px, calc(100% - 16px)); grid-template-columns: 44px minmax(0, 1fr); padding: 10px 34px 10px 8px; gap: 8px; }
  .soi-demo-order-photo img { width: 44px; height: 44px; }
  .soi-demo-order-label { font-size: 10px; }
  .soi-demo-order-product { font-size: 11px; line-height: 1.4; }
}
@media(prefers-reduced-motion:reduce) { .soi-demo-order { animation: none; } }
