html:has(.download-rental-prompt[open]) {
  overflow: hidden;
}

dialog.download-rental-prompt {
  --rental-prompt-accent: #c23c18;
  --rental-prompt-hover: #a93113;
  --rental-prompt-button-text: #fff;
  --rental-prompt-text: #172332;
  --rental-prompt-muted: #495c70;
  --rental-prompt-icon: #f8e0d3;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(444px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 3px solid var(--rental-prompt-accent);
  border-radius: 12px;
  padding: 25px 27px;
  background: #fff;
  color: var(--rental-prompt-text);
  box-shadow: 0 18px 62px #101a3033;
  font-family: "Manrope Variable", Manrope, "Segoe UI", Arial, sans-serif;
  text-align: center;
}

dialog.download-rental-prompt:not([open]) {
  display: none;
}

dialog.download-rental-prompt[data-storefront="unlock"] {
  --rental-prompt-accent: #ff8a00;
  --rental-prompt-hover: #f17c00;
  --rental-prompt-button-text: #242a2f;
  --rental-prompt-text: #343a40;
  --rental-prompt-muted: #525b63;
  --rental-prompt-icon: #ffe5bc;
}

.download-rental-prompt::backdrop {
  background: rgb(23 31 42 / 70%);
}

.download-rental-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 13px;
  border-radius: 8px;
  background: var(--rental-prompt-icon);
  color: var(--rental-prompt-text);
}

.download-rental-lock {
  position: relative;
  box-sizing: border-box;
  width: 14px;
  height: 11px;
  margin-top: 5px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.download-rental-lock::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: 8px;
  height: 7px;
  left: 1.5px;
  top: -7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.download-rental-lock::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 3px;
  left: 4.5px;
  top: 2px;
  border-radius: 2px;
  background: currentColor;
}

.download-rental-prompt #download-rental-title {
  margin: 0 0 5px;
  color: var(--rental-prompt-text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.22;
  text-wrap: balance;
}

.download-rental-prompt #download-rental-title:focus {
  outline: 0;
}

.download-rental-prompt #download-rental-note {
  margin: 0;
  color: var(--rental-prompt-muted);
  font-size: 14px;
  line-height: 1.5;
}

.download-rental-prompt #download-rental-note strong {
  color: var(--rental-prompt-text);
  font-weight: 800;
  white-space: nowrap;
}

.download-rental-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 19px;
}

.download-rental-prompt .download-rental-order {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(176px, 100%);
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--rental-prompt-accent);
  color: var(--rental-prompt-button-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.download-rental-prompt .download-rental-order:hover {
  background: var(--rental-prompt-hover);
  color: var(--rental-prompt-button-text);
}

.download-rental-prompt .download-rental-dismiss {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 7px 8px auto auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: var(--rental-prompt-muted);
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.download-rental-prompt .download-rental-dismiss:hover {
  background: var(--rental-prompt-icon);
  color: var(--rental-prompt-text);
}

.download-rental-prompt :is(.download-rental-order, .download-rental-dismiss):focus-visible {
  outline: 3px solid #065b9f;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  dialog.download-rental-prompt {
    padding: 21px 19px;
  }

  .download-rental-prompt #download-rental-title {
    font-size: 21px;
  }
}
