/* Pricing uses the approved homepage components; these rules only join the
   surfaces and adapt their existing states to the inner-page shell. */
#main-content.pr3 #ypn-pricing {
  background: var(--cream) !important;
  padding: 56px 0 88px !important;
}
#main-content.pr3 #ypn-pricing .ypn-calculator-band {
  margin-top: 48px;
  padding: 0;
  background: transparent;
}
#main-content.pr3 .ypn-pricing-card-head h3 { color: #fff; }
#main-content.pr3 .ypn-package-note {
  margin: 0;
  padding: 20px 28px 16px;
  font-size: 14px;
  line-height: 1.5;
}

#main-content.pr3 .ypn-price span { white-space: nowrap; flex-shrink: 0; }
#main-content.pr3 .ypn-price small { white-space: nowrap; }
#main-content.pr3 [data-tier="Enterprise"] .ypn-price span {
  white-space: normal;
  flex-shrink: 1;
}
#main-content.pr3 .ypn-pricing-card.is-match {
  outline: 2px solid var(--ypn-navy);
  outline-offset: 3px;
}
#main-content.pr3 .ypn-pricing-button:focus-visible {
  outline: 2px solid var(--ypn-navy);
  outline-offset: 4px;
}
@media (max-width:640px) {
  #main-content.pr3 #ypn-pricing { padding: 40px 0 56px !important; }
  #main-content.pr3 #ypn-pricing .ypn-calculator-band { margin-top: 32px; }
}

@media (min-width: 961px) {
  #main-content.pr3 .ypn-pricing-badge {
    position: absolute;
    border-radius: 999px;
  }
  html[lang="th"] #main-content.pr3 .ypn-pricing-card-head {
    min-height: 236px;
  }
}

@media (max-width: 960px) {
  #main-content.pr3 .ypn-pricing-grid { grid-template-columns: 1fr !important; }
}
