/* Only One-Home product, first-month checkout, and native enrollment order screens. */
.bm-oh-enroll, .bm-oh-receipt, .bm-oh-payment .bm-oh-steps,
.bm-oh-payment .woocommerce-checkout, .bm-oh-payment .wp-block-woocommerce-checkout,
.bm-oh-payment #order_review {
  --oh-ink: #f6f4ee;
  --oh-muted: #bdccc2;
  --oh-gold: #efbd72;
  --oh-edge: #375748;
  --oh-input: #0d2018;
  color: var(--oh-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
.bm-oh-enroll, .bm-oh-receipt, .bm-oh-payment .bm-oh-steps { box-sizing: border-box; }
.bm-oh-enroll *, .bm-oh-receipt *, .bm-oh-steps * { box-sizing: border-box; }
.bm-oh-enroll {
  width: min(1120px, calc(100% - 48px));
  margin: 2rem auto 3rem;
  padding: clamp(1rem, 2vw, 1.6rem);
  background: #0a1510;
  border-radius: 9px;
}
.bm-oh-enroll :is(h1,h2,h3), .bm-oh-receipt :is(h2,h3) {
  color: var(--oh-ink);
  font: 400 1.75rem/1.15 Georgia, "Times New Roman", serif;
  margin: 1.1rem 0 .6rem;
}
.bm-oh-enroll .bm-oh-intro h1 { font-size: clamp(2.4rem, 4.9vw, 3.5rem); letter-spacing: -.04em; margin: 0; }
.bm-oh-enroll .bm-oh-intro p { color: var(--oh-muted); margin: .5rem 0 1.4rem; }
.bm-oh-steps {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0;
  list-style: none; border: 1px solid #375748; border-radius: 7px; overflow: hidden;
  margin: .85rem 0 1.4rem;
}
.bm-oh-steps li {
  display: flex; align-items: center; gap: .55rem; min-height: 49px;
  background: #101d17; color: #bdccc2; padding: .5rem .8rem; margin: 0; font-size: .89rem;
}
.bm-oh-steps li + li { border-left: 1px solid #375748; }
.bm-oh-steps li[aria-current] { background: #244333; color: #f6f4ee; font-weight: 700; box-shadow: inset 0 -2px #d9a54e; }
.bm-oh-steps li span {
  display: grid; place-items: center; min-width: 24px; height: 24px;
  border: 1px solid #50695a; border-radius: 50%; font-size: .78rem; line-height: 1;
}
.bm-oh-steps li[aria-current] span { color: #1d160b; background: #efbd72; border-color: #efbd72; }
.bm-oh-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(230px,1fr); align-items: start; gap: 20px; }
.bm-oh-panel, .bm-oh-summary, .bm-oh-receipt,
.bm-oh-payment form.woocommerce-checkout, .bm-oh-payment .wp-block-woocommerce-checkout,
.bm-oh-payment #order_review:not(form.woocommerce-checkout #order_review) {
  min-width: 0; padding: clamp(1.1rem, 2.2vw, 2rem);
  border: 1px solid #375748; border-top: 3px solid #d9a54e; border-radius: 9px;
  background: linear-gradient(135deg,#18372a 0%,#142b21 58%,#11251d 100%);
}
.bm-oh-summary { background: #101f18; border-top: 1px solid #375748; }
.bm-oh-summary h2 { font-size: 1.55rem; }
.bm-oh-panel > h2:first-child, .bm-oh-summary h2:first-child, .bm-oh-receipt > h2:first-child { margin-top: 0; }
.bm-oh-panel :is(p,label), .bm-oh-summary p, .bm-oh-receipt :is(p,label) { color: var(--oh-ink); overflow-wrap: anywhere; }
.bm-oh-summary p { color: var(--oh-muted); font-size: .94rem; margin: .6rem 0; }
.bm-oh-summary .bm-oh-price { color: var(--oh-gold); font: 400 2.65rem/1 Georgia,serif; margin-bottom: 0; }
.bm-oh-summary hr { border: 0; border-top: 1px solid var(--oh-edge); margin: 1.1rem 0; }
.bm-oh-panel label, .bm-oh-receipt label { display: block; margin: .85rem 0; color: var(--oh-ink); }
.bm-oh-enroll .bm-oh-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
.bm-oh-fields label { margin: 0; font-size: .9rem; font-weight: 650; }
.bm-oh-fields label:nth-child(3) { grid-column: 1 / -1; }
.bm-oh-enroll input:not([type=checkbox],[type=hidden],[type=submit]),
.bm-oh-receipt input[type=text] {
  display: block; width: 100%; min-height: 44px; margin-top: .3rem; border: 1px solid #668373;
  padding: .6rem .7rem; font: inherit; color: var(--oh-ink); background: var(--oh-input); border-radius: 5px;
}
.bm-oh-enroll input[type=checkbox], .bm-oh-receipt input[type=checkbox] { accent-color: #d9a54e; width: 1rem; height: 1rem; }
.bm-oh-enroll button:not(.show-password-input), .bm-oh-receipt button, .bm-oh-receipt .bm-copy {
  display: inline-block; padding: .68rem 1rem; border: 1px solid #d9a54e; border-radius: 5px;
  background: #d9a54e; color: #1d160b; font: 700 .95rem/1.4 Inter,"Segoe UI",Arial,sans-serif;
  text-decoration: none; cursor: pointer; white-space: normal;
}
.bm-oh-panel button:hover:not(.show-password-input), .bm-oh-receipt :is(button,.bm-copy):hover { background: #efbd72; }
.bm-oh-panel .bm-oh-secondary, .bm-oh-receipt form:has(> input[value="bm_cancel"]) button { color: #efbd72; background: #11251d; margin-top: .75rem; }
.bm-oh-panel .bm-oh-secondary:hover, .bm-oh-receipt form:has(> input[value="bm_cancel"]) button:hover { color: #1d160b; }
.bm-oh-panel a, .bm-oh-receipt a { color: #efbd72; text-underline-offset: 3px; }
.bm-oh-panel :is(input,button,a):focus-visible, .bm-oh-receipt :is(input,button,a):focus-visible {
  outline: 2px solid #efbd72; outline-offset: 3px;
}
.bm-oh-panel [role=alert], .bm-oh-receipt [role=alert] { border-left: 3px solid #efbd72; padding-left: .7rem; font-weight: 700; }
.bm-oh-enroll .bm-oh-agreement, .bm-oh-receipt article, .bm-oh-enroll .bm-oh-total {
  border: 1px solid #446452; border-radius: 6px; padding: .85rem 1.05rem; background: #11251b; margin: 1rem 0;
}
.bm-oh-total div { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .25rem 0; }
.bm-oh-total div:last-child { margin-top: .35rem; border-top: 1px solid #375748; color: #efbd72; font-weight: 700; }
.bm-oh-total dd { text-align: right; margin: 0; font-variant-numeric: tabular-nums; }
.bm-oh-enroll.woocommerce .col2-set { display: grid; grid-template-columns: minmax(0,1fr); }
.bm-oh-enroll.woocommerce .col2-set .col-1, .bm-oh-enroll.woocommerce .col2-set .col-2 {
  float: none; width: 100%; max-width: none;
}
.bm-oh-payment .wp-block-woocommerce-checkout :is(h2,h3), .bm-oh-payment form.woocommerce-checkout :is(h2,h3) {
  font-family: Georgia, "Times New Roman", serif; color: #f6f4ee;
}
/* Gateway-owned secure fields retain their provider controls and styles. */
@media (max-width: 840px) {
  .bm-oh-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 520px) {
  .bm-oh-enroll { width: calc(100% - 20px); padding: 12px; margin: .8rem auto 2rem; }
  .bm-oh-enroll .bm-oh-fields { grid-template-columns: 1fr; }
  .bm-oh-steps li { flex-direction: column; justify-content: center; gap: .25rem; padding: .42rem .1rem; text-align: center; font-size: .75rem; }
  .bm-oh-steps li span { min-width: 20px; height: 20px; }
}
