/* PepLine PL53: compact login, unified headings, and secure post-order payment step. */

.admin-auth.admin-login-page {
  min-height: 100svh;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(30, 95, 173, .11), transparent 32rem),
    #f5f8fb;
}

.admin-login-page::before,
.admin-login-page::after {
  content: none !important;
}

.admin-login-form {
  width: min(360px, calc(100vw - 28px)) !important;
  gap: 11px !important;
  padding: 20px 22px 22px !important;
  border: 1px solid #d4deea !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 20px 55px rgba(15, 33, 56, .14) !important;
}

.admin-login-form::before {
  content: "PepLine Admin";
  display: flex;
  min-height: 38px;
  align-items: center;
  margin: 0 0 1px;
  padding: 0 0 12px 41px;
  border-bottom: 1px solid #e3e9f0;
  background: url('/branding/pepline-favicon.svg?v=pl4') no-repeat 0 0 / 32px 32px;
  color: #10233a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.45px;
  line-height: 1.15;
}

.admin-login-form > label {
  position: relative;
  display: grid !important;
  gap: 5px !important;
  color: #34475e !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.admin-login-form > label::after {
  content: "";
  position: absolute;
  bottom: 13px;
  left: 14px;
  width: 16px;
  height: 16px;
  background: #315d91;
  pointer-events: none;
}

.admin-login-form > label:nth-of-type(1)::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.admin-login-form > label:nth-of-type(2)::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.admin-login-form > label input {
  width: 100% !important;
  height: 44px !important;
  padding: 0 13px 0 41px !important;
  border: 1px solid #cbd6e3 !important;
  border-radius: 10px !important;
  background: #f9fbfd !important;
  color: #10233a !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.admin-login-form > label input:hover {
  border-color: #9db2cc !important;
}

.admin-login-form > label input:focus {
  border-color: #2867ae !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(40, 103, 174, .13) !important;
}

.admin-login-form > button {
  width: 100% !important;
  min-height: 44px !important;
  margin: 2px 0 0 !important;
  border-radius: 10px !important;
}

.site-main .home-standard-v2 h2 {
  width: min(100%, 470px) !important;
  max-width: 470px !important;
  margin: 10px 0 16px !important;
  font-size: clamp(32px, 2.65vw, 36px) !important;
  line-height: 1.08 !important;
  letter-spacing: -1.45px !important;
}

.site-main .lab-reports__heading h1,
.site-main .lab-reports__heading h2 {
  max-width: none !important;
  font-size: clamp(22px, 2.35vw, 32px) !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

/* Match primary public headings to “Start with what matters to you.” */
.site-main > .hero .hero-copy h1,
.site-main .category-showcase-heading h2,
.site-main .section-head h2,
.site-main .home-opening__title h2,
.site-main .home-pathways > header h2,
.site-main .home-video-guide__copy h2,
.site-main .home-standard-v2 h2,
.site-main .review-home-heading h2,
.site-main .home-stack-feature h2,
.site-main .shop-head h1,
.site-main .detail-copy h1,
.site-main .cart-checkout-intro h1,
.site-main .thanks-confirmation h1,
.site-main .dose-page-intro h1,
.site-main .dose-cta h2,
.site-main .reviews-intro h1,
.site-main .review-home h2,
.site-main .review-submission-intro h2,
.site-main .content-page > h1,
.site-main .content-page__cta h2,
.site-main .policy-hero > h1,
.site-main .contact-form__heading h1,
.site-main .about-hero-v2__copy h1,
.site-main .about-method-v2 > header h2,
.site-main .about-responsibility-v2 h2,
.site-main .about-values-v2 > header h2,
.site-main .about-next-step h2,
.site-main .about-standard__copy h2,
.site-main .about-principles__heading h2,
.site-main .about-journey__heading h2,
.site-main .about-boundary h2 {
  font-size: clamp(34px, 4.1vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
  letter-spacing: -1.9px !important;
}

.site-main .home-video-guide__copy h2,
.site-main .home-opening__title h2 {
  width: min(100%, 650px) !important;
  max-width: 650px !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

.site-main .home-standard-v2 h2 {
  width: min(100%, 700px) !important;
  max-width: 700px !important;
}

@media (min-width: 901px) {
  .site-main .home-standard-v2 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) !important;
    gap: clamp(40px, 5vw, 70px) !important;
  }
}

body:not(#pl41-hero) .site-main > .hero.hero-v2 .hero-copy h1,
body:not(#pl41-hero) .site-main > .hero.hero-v2 .hero-copy h1 span,
body:not(#pl41-hero) .site-main > .hero.hero-v2 .hero-copy h1 em {
  font-size: clamp(34px, 4.1vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
  letter-spacing: -1.9px !important;
}

.site-main .home-video-guide__copy h2 br,
.site-main .home-opening__title h2 br {
  display: block !important;
}

/* Saved-order payment hand-off. */
.payment-gateway-page {
  min-height: clamp(590px, 72vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(46px, 7vw, 96px) 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(38, 103, 174, .10), transparent 32rem),
    #f5f8fb;
}

.payment-gateway-card {
  width: min(100%, 560px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #d4deea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 35, 59, .12);
  text-align: center;
}

.payment-gateway-card .eyebrow {
  margin: 0 0 9px;
  color: #315d91;
  font-weight: 800;
}

.payment-gateway-card h1 {
  margin: 0;
  color: #10233a;
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 700;
  letter-spacing: -1.45px;
  line-height: 1.08;
}

.payment-gateway-intro {
  max-width: 450px;
  margin: 14px auto 23px;
  color: #63768d;
  font-size: 14px;
  line-height: 1.55;
}

.payment-gateway-card dl {
  margin: 0 0 22px;
  border-top: 1px solid #dce5ef;
  text-align: left;
}

.payment-gateway-card dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 2px;
  border-bottom: 1px solid #dce5ef;
}

.payment-gateway-card dt {
  color: #6d7d91;
  font-size: 11px;
  font-weight: 650;
}

.payment-gateway-card dd {
  margin: 0;
  color: #10233a;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.payment-gateway-pay {
  width: 100%;
  min-height: 52px;
  border-radius: 11px;
  background: #102d4d;
  font-size: 14px;
  font-weight: 800;
}

.payment-gateway-confirmation {
  display: inline-flex;
  margin-top: 17px;
  border-bottom: 1px solid currentColor;
  color: #244f83;
  font-size: 12px;
  font-weight: 750;
}

.payment-gateway-card > small {
  display: block;
  max-width: 410px;
  margin: 15px auto 0;
  color: #7b899a;
  font-size: 10px;
  line-height: 1.5;
}

.payment-gateway-loading {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #63768d;
}

.payment-gateway-loading > span {
  width: 31px;
  height: 31px;
  border: 3px solid #d5dfeb;
  border-top-color: #275f9f;
  border-radius: 50%;
  animation: pl-payment-spin .75s linear infinite;
}

@keyframes pl-payment-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .admin-auth.admin-login-page {
    padding: 14px;
  }

  .admin-login-form {
    gap: 9px !important;
    padding: 17px 18px 18px !important;
  }

  .admin-login-form::before {
    min-height: 34px;
    padding: 0 0 10px 39px;
    background-size: 29px 29px;
    font-size: 17px;
  }

  .site-main .home-standard-v2 h2 {
    width: min(100%, 315px) !important;
    max-width: 315px !important;
    font-size: clamp(25px, 7.2vw, 28px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.9px !important;
  }

  .site-main .lab-reports__heading h1,
  .site-main .lab-reports__heading h2 {
    font-size: clamp(15px, 4.6vw, 18px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.55px !important;
  }

  .site-main > .hero .hero-copy h1,
  .site-main .category-showcase-heading h2,
  .site-main .section-head h2,
  .site-main .home-opening__title h2,
  .site-main .home-pathways > header h2,
  .site-main .home-video-guide__copy h2,
  .site-main .home-standard-v2 h2,
  .site-main .review-home-heading h2,
  .site-main .home-stack-feature h2,
  .site-main .shop-head h1,
  .site-main .detail-copy h1,
  .site-main .cart-checkout-intro h1,
  .site-main .thanks-confirmation h1,
  .site-main .dose-page-intro h1,
  .site-main .dose-cta h2,
  .site-main .reviews-intro h1,
  .site-main .review-home h2,
  .site-main .review-submission-intro h2,
  .site-main .content-page > h1,
  .site-main .content-page__cta h2,
  .site-main .policy-hero > h1,
  .site-main .contact-form__heading h1,
  .site-main .about-hero-v2__copy h1,
  .site-main .about-method-v2 > header h2,
  .site-main .about-responsibility-v2 h2,
  .site-main .about-values-v2 > header h2,
  .site-main .about-next-step h2,
  .site-main .about-standard__copy h2,
  .site-main .about-principles__heading h2,
  .site-main .about-journey__heading h2,
  .site-main .about-boundary h2 {
    font-size: 20px !important;
    font-weight: 650 !important;
    line-height: 1.16 !important;
    letter-spacing: -.35px !important;
  }

  .site-main .home-video-guide__copy h2,
  .site-main .home-opening__title h2 {
    width: min(100%, 350px) !important;
    max-width: 350px !important;
    margin-inline: auto !important;
  }

  .site-main .home-standard-v2 h2 {
    width: min(100%, 315px) !important;
    max-width: 315px !important;
  }

  body:not(#pl41-hero) .site-main > .hero.hero-v2 .hero-copy h1,
  body:not(#pl41-hero) .site-main > .hero.hero-v2 .hero-copy h1 span,
  body:not(#pl41-hero) .site-main > .hero.hero-v2 .hero-copy h1 em {
    font-size: 20px !important;
    font-weight: 650 !important;
    line-height: 1.16 !important;
    letter-spacing: -.35px !important;
  }

  .payment-gateway-page {
    min-height: calc(100svh - 126px);
    padding: 30px 14px 88px;
  }

  .payment-gateway-card {
    padding: 24px 19px;
    border-radius: 18px;
  }

  .payment-gateway-card h1 {
    font-size: 29px;
  }

  .payment-gateway-intro {
    margin-bottom: 20px;
    font-size: 13px;
  }
}
/* Checkout: make the matched payment-link email step explicit before submission. */
.checkout-payment-email-notice {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2px 0 6px;
  padding: 15px 16px;
  border: 1px solid #b9ddc8;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0faf4 0%, #f7fbf8 100%);
  color: #173d2a;
}

.checkout-payment-email-notice > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #218452;
}

.checkout-payment-email-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 750;
}

.checkout-payment-email-notice p {
  margin: 0;
  color: #496657;
  font-size: 13px;
  line-height: 1.55;
}

.summary-coupon > span.error {
  color: #b4233b;
}

.summary-discount span,
.summary-discount b {
  color: #167a4b !important;
}

@media (max-width: 600px) {
  .checkout-payment-email-notice {
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
  }

  .checkout-payment-email-notice strong {
    font-size: 13px;
  }

  .checkout-payment-email-notice p {
    font-size: 12px;
    line-height: 1.5;
  }
}
