#total { font-variant-numeric: tabular-nums; }

.price-discount:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin: 0 0 12px;
}

.price-discount s {
  color: #cbc1d8;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  text-decoration-color: #b6a1cb;
  text-decoration-thickness: 2px;
}

.price-discount strong {
  padding: 3px 9px;
  border-radius: 6px;
  color: #f0dbff;
  background: #482867;
  font-size: .85rem;
  font-weight: 750;
}

.device-message p:empty { display: none; }

.device-message p:not(:empty) {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 10px 10px 10px 2px;
  background: #472762;
  color: #faefff;
  font-size: .9rem;
  line-height: 1.4;
}

.device-message p:not(:empty)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  border: 5px solid transparent;
  border-top-color: #472762;
  border-left: 0;
  border-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .device-message p:not(:empty) { animation: device-message-in 210ms ease-out; }
  @keyframes device-message-in {
    from { opacity: .35; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
