.form044-dialog {
  width: min(520px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #2c2d43;
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgb(20 23 42 / 28%);
}

.form044-dialog::backdrop { background: rgb(44 45 67 / 68%); }

.form044-dialog[open] { animation: form044-in .16s ease-out; }

.form044-form {
  display: grid;
  gap: 16px;
  padding: 32px;
}

.form044-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #2c2d43;
  font: 400 32px/1 Arial, sans-serif;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.form044-close:hover { color: #af0017; }

.form044-logo {
  width: 240px;
  max-width: 75%;
  height: auto;
  margin: 10px auto 4px;
}

.form044-dialog h2 {
  margin: 0;
  color: #2c2d43;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.form044-subtitle {
  margin: 0 0 4px;
  color: #7e879f;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.form044-context {
  margin: -4px 0 0;
  padding: 10px 12px;
  color: #2c2d43;
  font-size: 13px;
  line-height: 18px;
  background: #f1f5f8;
  border-radius: 3px;
}

.form044-field { display: grid; gap: 6px; color: #2c2d43; font-size: 14px; line-height: 20px; }

.form044-field input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px;
  color: #2c2d43;
  font: inherit;
  background: #f1f5f8;
  border: 1px solid #dce3ea;
  border-radius: 3px;
}

.form044-field input:focus,
.form044-channel:has(input:focus-visible),
.form044-consent input:focus-visible { outline: 2px solid #2c2d43; outline-offset: 2px; }

.form044-channels { min-width: 0; margin: 0; padding: 0; border: 0; }
.form044-channels legend { margin-bottom: 8px; padding: 0; font-size: 16px; font-weight: 600; }
.form044-channels > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.form044-channel {
  display: flex;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #2c2d43;
  border: 1px solid #9aa4a2;
  border-radius: 3px;
  cursor: pointer;
}

.form044-channel:has(input:checked) { color: #315650; background: #edf4f2; }
.form044-channel input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form044-radio { width: 16px; height: 16px; flex: 0 0 auto; border: 1.5px solid currentColor; border-radius: 50%; }
.form044-channel:has(input:checked) .form044-radio { box-shadow: inset 0 0 0 4px #edf4f2; background: currentColor; }
.form044-channel svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form044-channel span:last-child { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }

.form044-consent { display: flex; align-items: flex-start; gap: 9px; color: #5f687d; font-size: 13px; line-height: 18px; }
.form044-consent input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: #af0017; }
.form044-consent a { color: #2c2d43; text-decoration: underline; }

.form044-submit,
.product042-basket .form044-cart {
  min-height: var(--button-height, 44px);
  box-sizing: border-box;
  padding: 9px 16px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  background: #af0017;
  border: 1px solid #af0017;
  border-radius: 3px;
  cursor: pointer;
}

.form044-submit { width: 100%; }
.form044-submit:hover:not(:disabled),
.product042-basket .form044-cart:hover { background: #c91a30; border-color: #c91a30; }
.form044-submit:disabled { cursor: not-allowed; opacity: .55; }
.form044-note, .form044-feedback { margin: 0; color: #7e879f; font-size: 12px; line-height: 17px; text-align: center; }
.form044-feedback { min-height: 17px; color: #315650; font-weight: 600; }
html.form044-open { overflow: hidden; }

@keyframes form044-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 480px) {
  .form044-form { gap: 14px; padding: 20px; }
  .form044-logo { margin-top: 16px; }
  .form044-dialog h2 { font-size: 21px; line-height: 27px; }
  .form044-channel { gap: 4px; padding-inline: 6px; }
  .form044-channel svg { width: 16px; height: 16px; }
  .form044-field input { font-size: 16px; }
  .form044-channel span:last-child { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) { .form044-dialog[open] { animation: none; } }

.form044-dialog [hidden] { display: none !important; }
