.price-dialog {
  box-sizing: border-box;
  width: min(30rem, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  background: #fff;
  color: #172033;
  font: inherit;
  text-align: start;
  box-shadow: 0 24px 90px #0e182949;
}
.price-dialog::backdrop { background: #17203392; }
html:has(.price-dialog[open]) { overflow: hidden; }
.price-dialog svg { width: 1.15em; height: 1.15em; flex: none; }
.price-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1.2rem;
  border-bottom: 1px solid #e2e6ec;
}
.price-dialog h2, .price-dialog h3, .price-dialog label, .price-dialog-apply a {
  display: flex;
  gap: .55rem;
  align-items: center;
}
.price-dialog h2 { margin: 0; color: #172033; font-size: 1.25rem; letter-spacing: normal; line-height: 1.35; }
.price-dialog h2 svg { color: #3775de; }
.price-dialog h2:focus { outline: none; }
.price-dialog button { border: 0; font: inherit; cursor: pointer; }
.price-dialog-head button { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; color: #536075; border-radius: 8px; }
.price-dialog-head button:hover, .price-dialog-actions [data-price-dismiss]:hover { background: #e6ebf0; }
.price-dialog-body { padding: 1.2rem; }
.price-dialog-body > p { margin: 0 0 1.15rem; font-size: 1rem; color: #536075; }
.price-dialog label { margin: 0 0 .38rem; font-size: .94rem; font-weight: 600; color: #344055; }
.price-dialog label svg { color: #637084; }
.price-dialog input {
  display: block;
  width: 100%;
  height: 2.9rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  border: 1px solid #bac4d0;
  background: #f6f8fb;
  color: #172033;
  font: inherit;
  font-size: 1rem;
}
.price-dialog input + label { margin-top: 1.1rem; }
.price-dialog input::placeholder { color: #657387; }
.price-dialog :is(button, a, input):focus-visible { outline: 3px solid #3377db; outline-offset: 2px; }
.price-dialog #login-status { color: #94371b; font-size: .9rem; margin: .8rem 0; }
.price-dialog-actions { display: flex; justify-content: end; gap: .65rem; margin: 1.15rem 0 1.35rem; }
.price-dialog-actions button, .price-dialog-apply a { padding: .6rem 1.2rem; border-radius: 8px; min-height: 44px; font-size: .95rem; font-weight: 650; }
.price-dialog-actions [data-price-dismiss] { background: #f0f2f5; color: #344055; }
.price-dialog-actions [type=submit] { background: #2866ce; color: #fff; }
.price-dialog-actions [type=submit]:hover:enabled { background: #1e53ae; }
.price-dialog-actions [type=submit]:disabled { background: #a9c3f2; color: #233953; cursor: default; }
.price-dialog-apply { padding: 1.1rem; border: 1px solid #58bb91; border-radius: 12px; background: linear-gradient(115deg, #ecfbf3, #d8f7e7); color: #155c43; text-align: center; }
.price-dialog-apply h3 { justify-content: center; margin: 0; font-size: 1.1rem; line-height: 1.4; color: #145e46; }
.price-dialog-apply p { margin: .55rem 0 .85rem; font-size: .92rem; }
.price-dialog-apply a { display: inline-flex; justify-content: center; background: #078457; color: #fff; text-decoration: none; }
.price-dialog-apply a:hover { background: #096c4b; }
