html.pn-payment-step-loading .thanks-receipt-page { visibility: hidden; }

.pn-checkout-payment-notice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 22px;
  padding: 17px 18px;
  border: 1px solid #a9cae9;
  border-radius: 16px;
  background: linear-gradient(135deg, #edf6ff, #f8fbff);
  color: #0b396b;
  box-shadow: 0 12px 28px rgba(13, 53, 91, .08);
}

.pn-checkout-payment-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: #1769c9;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 850;
}

.pn-checkout-payment-notice strong {
  display: block;
  margin: 1px 0 4px;
  color: #082a52;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.pn-checkout-payment-notice p {
  margin: 0;
  color: #4f6982;
  font-size: 13px;
  line-height: 1.6;
}

.summary .pn-coupon-status {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 10px 0 0;
  padding: 9px 12px;
  border: 1px solid #c8ddef;
  border-radius: 11px;
  background: #f4f9fe;
  color: #526d86;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.summary .pn-coupon-status[hidden] { display: none; }
.summary .pn-coupon-status.is-loading { color: #0e5eac; }
.summary .pn-coupon-status.is-success { border-color: #a9d9c2; background: #edf9f3; color: #08734d; }
.summary .pn-coupon-status.is-error { border-color: #efb5bd; background: #fff3f5; color: #b42336; }

.summary .pn-coupon-discount {
  margin-top: 12px;
  color: #08734d;
}

.summary .pn-coupon-discount b { color: #08734d; }
.summary-coupon input.is-applied { border-color: #28a36d; box-shadow: 0 0 0 3px rgba(40, 163, 109, .12); }

.pn-out-of-stock-label {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid #e2b5bc;
  border-radius: 999px;
  background: #fff2f4;
  color: #a72b3b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.product-card.pn-is-out-of-stock .price button:disabled,
.detail-copy .pn-out-of-stock-button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.admin-field.pn-password-field {
  position: relative;
}

.admin-field.pn-password-field input[name="password"] {
  padding-right: 52px;
}

.pn-password-toggle {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid #c5d9ec;
  border-radius: 10px;
  background: #f7fbff;
  color: #0d5da8;
  cursor: pointer;
  touch-action: manipulation;
}

.pn-password-toggle:hover,
.pn-password-toggle:focus-visible,
.pn-password-toggle[aria-pressed="true"] {
  border-color: #69a5dd;
  background: #eaf4fd;
  color: #073f78;
  outline: none;
}

.pn-password-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(23, 105, 201, .18);
}

.pn-password-toggle:disabled {
  cursor: wait;
  opacity: .58;
}

.pn-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pn-password-reveal-status {
  position: absolute;
  top: calc(100% + 2px);
  left: 2px;
  z-index: 2;
  color: #476987;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.pn-password-reveal-status:empty {
  display: none;
}

.detail-copy .pn-out-of-stock-button:disabled {
  border-color: #d9aeb5;
  background: #f9e9ec;
  color: #982f3d;
}

.pn-payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 32px 20px;
  background: radial-gradient(circle at 16% 12%, rgba(126, 190, 255, .2), transparent 34%), linear-gradient(145deg, rgba(5, 32, 62, .97), rgba(8, 57, 105, .96));
}

.pn-payment-card {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(190, 220, 249, .9);
  border-radius: 26px;
  background: #fff;
  color: #082a52;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 18, 43, .34);
}

.pn-payment-secure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #b9ddcd;
  border-radius: 999px;
  background: #eaf8f2;
  color: #08734d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.25px;
}

.pn-payment-card .eyebrow { margin: 22px 0 7px; color: #1769c9; font-weight: 800; }
.pn-payment-card h1 { margin: 0; color: #082a52; font-family: Manrope, sans-serif; font-size: clamp(34px, 6vw, 54px); font-weight: 750; line-height: 1.07; letter-spacing: -2px; }
.pn-payment-lead { max-width: 500px; margin: 18px auto 25px; color: #587089; font-size: 16px; line-height: 1.7; }
.pn-payment-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0 0 24px; border: 1px solid #d2e3f2; border-radius: 16px; background: #d2e3f2; }
.pn-payment-summary div { min-width: 0; padding: 16px; background: #f7fbff; }
.pn-payment-summary dt { margin-bottom: 4px; color: #6b8197; font-size: 10px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
.pn-payment-summary dd { margin: 0; color: #082a52; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.pn-payment-card .button { width: 100%; min-height: 54px; border-radius: 13px; font-weight: 800; }
.pn-payment-primary { background: #126bc5; box-shadow: 0 14px 30px rgba(18, 107, 197, .23); }
.pn-payment-primary:hover { background: #0d579f; }
.pn-payment-continue { margin-top: 11px; border-color: #bdd5eb; background: #fff; color: #0b396b; }
.pn-payment-note { display: block; margin-top: 18px; color: #71869a; line-height: 1.55; }

@media (max-width: 520px) {
  .pn-checkout-payment-notice { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; padding: 14px; }
  .pn-checkout-payment-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 17px; }
  .pn-payment-overlay { align-items: end; padding: 12px; }
  .pn-payment-card { padding: 28px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 22px; }
  .pn-payment-card h1 { font-size: 36px; letter-spacing: -1.4px; }
  .pn-payment-lead { font-size: 14px; }
  .pn-payment-summary { grid-template-columns: 1fr; }
}

/* Mobile navigation hardening: accessible tap targets and clear separation from
   the fixed quick-navigation bar. */
@media (max-width: 600px) {
  .site-footer {
    position: relative;
    z-index: 1;
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
  }

  .site-footer a {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 44px;
    align-items: center;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .site-footer > div > a,
  .site-footer nav a {
    width: fit-content;
  }

  .mobile-pill {
    bottom: calc(7px + env(safe-area-inset-bottom));
    z-index: 70;
    pointer-events: auto;
  }

  .mobile-pill a {
    min-height: 56px;
    justify-content: center;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .floating-contacts {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    z-index: 69;
    pointer-events: auto;
  }

  .floating-contacts a,
  .to-top {
    pointer-events: auto;
    touch-action: manipulation;
  }

  .to-top {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    z-index: 69;
  }

  .floating-contacts.contacts-1 + .to-top {
    bottom: calc(150px + env(safe-area-inset-bottom)) !important;
  }

  .floating-contacts.contacts-2 + .to-top {
    bottom: calc(208px + env(safe-area-inset-bottom)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pn-payment-overlay, .pn-payment-card, .pn-payment-card .button { animation: none; transition: none; }
}
