/* Cartão independente, sem alterar o layout ou os links da página. */
.hl-order-notice {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 390px;
  max-width: calc(100vw - 36px);
  padding: 15px 35px 17px 13px;
  overflow: hidden;
  border: 1px solid #cfacd9;
  border-radius: 15px;
  background: linear-gradient(120deg, #fffafd, #f3e8fa);
  color: #351045;
  box-shadow: 0 10px 35px #35104526;
  font-family: HialumiaSans, Arial, sans-serif;
  text-align: left;
  line-height: 1.4;
}
.hl-order-notice[hidden] { display: none; }
.hl-order-visible { animation: hl-order-enter .4s ease both; }
.hl-order-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 53px;
  height: 76px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ead9ee;
}
.hl-order-thumb img { width: 43px; height: 66px; object-fit: contain; }
.hl-order-content { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hl-order-demo {
  align-self: flex-start;
  padding: 3px 6px;
  margin-bottom: 3px;
  border-radius: 4px;
  background: #562268;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.hl-order-name { font-size: 14px; font-weight: 800; }
.hl-order-kit { font-size: 12px; color: #572968; }
.hl-order-city { font-size: 11px; color: #694c72; }
.hl-order-close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #572968;
  font-size: 24px;
}
.hl-order-close:hover { background: #e8d8ee; }
.hl-order-close:focus-visible { outline: 2px solid #562268; outline-offset: -2px; }
.hl-order-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #76358a, #dc7bb3);
  transform-origin: left;
}
.hl-order-visible .hl-order-progress { animation: hl-order-progress var(--hl-order-duration) linear forwards; }
@keyframes hl-order-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hl-order-progress { to { transform: scaleX(0); } }
@media (max-width: 600px) {
  .hl-order-notice { left: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 365px; max-width: calc(100vw - 24px); gap: 9px; padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-order-visible, .hl-order-visible .hl-order-progress { animation: none; }
}
