/* Original storefront.css is deliberately unchanged. System-only additions live here. */
[hidden] {
  display: none !important;
}
.profile-demo .account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.account-actions select {
  width: auto;
  min-width: 70px;
}
.account-actions button {
  white-space: nowrap;
}
.profile-demo .account-identity {
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-demo .account-identity p {
  margin: 5px 0;
}
.stock-notice {
  font-size: 11px;
  color: var(--muted);
}
.checkout-dialog .system-message {
  padding: 12px 15px;
  background: var(--light);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.65;
}
.checkout-dialog .field-grid {
  margin-top: 16px;
}
.checkout-dialog .full-button {
  width: 100%;
  margin-top: 20px;
}
.checkout-dialog h3.delivery-title {
  font-size: 16px;
  margin-top: 27px;
}
.payment-options button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.storefront-root .modal-footer {
  flex-wrap: wrap;
  gap: 12px;
}
.storefront-root .history-table button {
  text-align: left;
}
.storefront-root .history-table-wrap {
  overflow: auto;
}
.history-dialog .primary-button {
  width: 100%;
  margin-top: 20px;
}
.empty-results .outline-button {
  margin: auto;
}
.storefront-root .source-link {
  overflow-wrap: anywhere;
}
.storefront-root .receipt details {
  overflow-wrap: anywhere;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--ink);
  color: white;
  border-radius: 12px;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
}
#notice.visible {
  opacity: 1;
}
#notice:not(:empty) {
  padding: 14px 20px;
}
#modal {
  width: min(550px, 94vw);
  padding: 28px;
}
#modal input {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 8px 0 18px;
}
#modal .actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
#modal button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
@media (max-width: 650px) {
  .profile-demo .account-actions {
    justify-content: flex-start;
    gap: 10px;
  }
  .profile-demo {
    gap: 12px;
  }
}
