
.pd-price-alert-modal[hidden] {
  display: none;
}

.pd-price-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 12px;
}

.pd-price-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
}

.pd-price-alert-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
  padding: 20px;
}

.pd-price-alert-close {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--pd-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.pd-price-alert-title {
  margin: 0 44px 8px 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.pd-price-alert-text {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--pd-muted);
}

.pd-price-alert-form {
  display: grid;
  gap: 10px;
}

.pd-price-alert-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.pd-price-alert-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.pd-price-alert-option span {
  font-size: 0.92rem;
  line-height: 1.4;
}

.pd-price-alert-target {
  white-space: nowrap;
  color: var(--pd-muted);
}

.pd-price-alert-submit {
  min-height: 44px;
  border: 1px solid #111827;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
}

.pd-price-alert-submit:hover {
  background: #1f2937;
}

.pd-offer-request-cta {
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
}

.pd-offer-request-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--pd-accent-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--pd-accent-strong);
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.pd-offer-request-btn:hover {
  background: #f3f7f1;
}

.pd-offer-request-status {
  margin: 0;
  min-height: 1em;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--pd-muted);
}

.pd-offer-request-modal[hidden] {
  display: none;
}

.pd-offer-request-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 14px;
}

.pd-offer-request-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.pd-offer-request-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(calc(100dvh - 28px), 880px);
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  padding: 24px;
}

.pd-offer-request-close {
  appearance: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--pd-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pd-offer-request-head {
  display: grid;
  gap: 8px;
  margin: 0 44px 18px 0;
}

.pd-offer-request-kicker {
  margin: 0;
  color: var(--pd-accent);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-offer-request-title {
  margin: 0;
  font-size: clamp(1.3rem, 1.16rem + 0.5vw, 1.6rem);
  line-height: 1.2;
}

.pd-offer-request-text,
.pd-offer-request-note,
.pd-offer-request-contact,
.pd-offer-request-required {
  margin: 0;
  color: var(--pd-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pd-offer-request-contact a {
  color: var(--pd-accent-strong);
  font-weight: 600;
}

.pd-offer-request-flash {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
}

.pd-offer-request-flash--success {
  background: #eef8f0;
  color: #1f5a2e;
}

.pd-offer-request-flash--error {
  background: #fff1f2;
  color: #9f1239;
}

.pd-offer-request-form {
  display: grid;
  gap: 16px;
}

.pd-offer-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pd-offer-request-field {
  display: grid;
  gap: 6px;
}

.pd-offer-request-field--full {
  grid-column: 1 / -1;
}

.pd-offer-request-field label {
  color: var(--pd-text);
  font-size: 0.92rem;
  font-weight: 600;
}

.pd-offer-request-field input,
.pd-offer-request-field select,
.pd-offer-request-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  background: #fff;
  color: var(--pd-text);
  padding: 11px 12px;
}

.pd-offer-request-field textarea {
  min-height: 132px;
  resize: vertical;
}

.pd-offer-request-consent {
  display: grid;
  gap: 10px;
}

.pd-offer-request-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--pd-text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pd-offer-request-check input {
  margin: 2px 0 0;
}

.pd-offer-request-submit {
  justify-self: start;
  min-height: 44px;
  border: 1px solid var(--pd-accent);
  border-radius: 999px;
  background: var(--pd-accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.pd-offer-request-submit:hover {
  background: var(--pd-accent-strong);
  border-color: var(--pd-accent-strong);
}

.pd-offer-request-hp {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.pd-offer-request-form ul.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pd-danger);
  font-size: 0.86rem;
  line-height: 1.4;
}

@media (min-width: 641px) {
  .pd-offer-request-grid {
    grid-template-columns: minmax(104px, max-content) minmax(0, 1fr) minmax(0, 1fr);
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(1) {
    grid-column: 1;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(2) {
    grid-column: 2;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(3) {
    grid-column: 3;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(4) {
    grid-column: 1 / span 2;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(5) {
    grid-column: 3;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(6) {
    grid-column: 1 / span 2;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(7) {
    grid-column: 3;
  }

  .pd-offer-request-grid > .pd-offer-request-field:nth-child(1) select {
    min-width: 104px;
    width: auto;
    padding-right: 34px;
  }
}

@media (max-width: 640px) {
  .pd-offer-request-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 18px 14px;
    border-radius: 16px 16px 0 0;
    align-self: end;
  }

  .pd-offer-request-grid {
    grid-template-columns: 1fr;
  }

  .pd-offer-request-submit {
    width: 100%;
    justify-self: stretch;
  }
}
