.eshop-dialog {
  --background: 24 12% 7%;
  --foreground: 36 28% 93%;
  --card: 24 12% 10%;
  --primary: 36 44% 66%;
  --primary-foreground: 24 20% 8%;
  --secondary: 24 10% 15%;
  --muted: 24 10% 15%;
  --muted-foreground: 34 12% 66%;
  --destructive: 4 62% 52%;
  --border: 36 24% 90% / .14;
  --input: 36 24% 90% / .2;
  --ring: 36 44% 66%;
  --radius: .25rem;
  color-scheme: dark;
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.4rem;
  overflow: auto;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow: 0 24px 80px rgb(0 0 0 / .45);
  font-family: 'Karla', ui-sans-serif, system-ui, sans-serif;
}
.eshop-dialog::backdrop { background: rgb(0 0 0 / .72); backdrop-filter: blur(3px); }
.eshop-dialog h2 { margin-top: 0; font-family: 'Cormorant Garamond', Iowan Old Style, Georgia, serif; font-weight: 500; }
.eshop-dialog li { margin: .5rem 0; }
.eshop-dialog form { margin: 0; }
.eshop-dialog .row { justify-content: flex-end; margin-top: 1.2rem; }
.eshop-dialog [hidden] { display: none !important; }
.eshop-action-dialog { padding: 0; }
.eshop-action-dialog[open] { animation: eshopDialogIn .18s ease-out; }
@keyframes eshopDialogIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.eshop-action-dialog__body { padding: 1.5rem; }
.eshop-action-dialog__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.eshop-action-dialog__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid hsl(var(--primary)/.4); border-radius: 50%; background: hsl(var(--primary)/.1); color: hsl(var(--primary)); }
.eshop-action-dialog__icon svg { width: 1.25rem; height: 1.25rem; }
.eshop-action-dialog.is-warning .eshop-action-dialog__icon { border-color: hsl(35 75% 60% / .45); background: hsl(35 75% 50% / .12); color: hsl(35 80% 72%); }
.eshop-action-dialog.is-danger .eshop-action-dialog__icon { border-color: hsl(var(--destructive)/.55); background: hsl(var(--destructive)/.12); color: hsl(5 75% 75%); }
.eshop-action-dialog.is-success .eshop-action-dialog__icon { border-color: hsl(145 50% 55% / .45); background: hsl(145 50% 40% / .12); color: hsl(145 50% 72%); }
.eshop-action-dialog__close { display: inline-grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: hsl(var(--muted-foreground)); cursor: pointer; }
.eshop-action-dialog__close:hover, .eshop-action-dialog__close:focus-visible { background: hsl(var(--muted)); color: hsl(var(--foreground)); outline: none; }
.eshop-action-dialog__close svg { width: 1rem; height: 1rem; }
.eshop-action-dialog__kicker { margin: 0 0 .3rem; color: hsl(var(--muted-foreground)); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.eshop-action-dialog h2 { font-size: 1.65rem; margin-bottom: .55rem; }
.eshop-action-dialog__description { margin: 0; color: hsl(var(--muted-foreground)); line-height: 1.65; white-space: pre-line; }
.eshop-action-dialog__field { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.2rem; color: hsl(var(--muted-foreground)); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.eshop-action-dialog__field input { width: 100%; padding: .65rem .75rem; border: 1px solid hsl(var(--input)); border-radius: var(--radius); background: hsl(var(--background)); color: hsl(var(--foreground)); font: inherit; font-size: .9rem; letter-spacing: normal; text-transform: none; }
.eshop-action-dialog__field input:focus { outline: none; border-color: hsl(var(--ring)); box-shadow: 0 0 0 1px hsl(var(--ring)); }
.eshop-action-dialog__footer { display: flex; justify-content: flex-end; gap: .6rem; padding: 1rem 1.5rem; border-top: 1px solid hsl(var(--border)); background: hsl(var(--muted)/.35); }
.eshop-action-dialog .btn { display: inline-flex; align-items: center; justify-content: center; padding: .6rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.eshop-action-dialog .btn.ghost { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.eshop-action-dialog .btn:hover { filter: brightness(1.08); }
@media (max-width: 560px) {
  .eshop-action-dialog__body { padding: 1.15rem; }
  .eshop-action-dialog__footer { padding: .9rem 1.15rem; }
}
