/* /pricing ([bytekeel_pricing_hub], inc/pricing-hub.php), PR3 2026-11-05.
  Layout plus matching plan-card sizing from plan-cards.css. */

.bk-ph [hidden] { display: none !important; }

/* Header: no dark hero here, so the page starts below the fixed header like the doc pages. */
.bk-ph-top { padding-top: calc(7rem + var(--promo-h, 0px)); }
.bk-ph-top__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; }
.bk-ph-top__copy { min-width: 0; }
.bk-ph-title { margin-top: .5rem; max-width: 14ch; }
.bk-ph-toggles { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: .75rem; }
.bk-ph-toggles .bk-pr-toggle { margin: 0; }
.bk-ph-toggle__tag { font-size: .75rem; opacity: .85; }

/* Suite band (the theme's dark section colour with its grid texture, rounded-card radius). */
.bk-ph-band-wrap { padding-top: 3rem; }
.bk-ph-band { position: relative; overflow: hidden; display: grid; align-items: center; gap: 2rem; padding: 2rem 1.5rem; }
.bk-ph-band__grid { position: absolute; inset: 0; opacity: .4; pointer-events: none; }
.bk-ph-band > *:not(.bk-ph-band__grid) { position: relative; }
.bk-ph-band__kick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.bk-ph-band__title { margin-top: 1.25rem; }
.bk-ph-band__lead { margin-top: 1rem; max-width: 36rem; }
.bk-ph-band__note { margin-top: .75rem; font-size: .875rem; color: #fde68a; }
.bk-ph-band__tiles { display: grid; gap: .75rem; margin-top: 2rem; }
.bk-ph-band__tile { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1rem 1.25rem; border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; transition: border-color .15s; }
.bk-ph-band__tile:hover { border-color: rgba(255, 255, 255, .5); }
.bk-ph-band__tile-name { font-weight: 700; }
.bk-ph-band__tile-sub { font-size: .875rem; color: rgba(255, 255, 255, .72); }
.bk-ph-band__card-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.bk-ph-band__card-top .bk-pr-card__sites { margin-top: 0; }
.bk-ph-band__save { margin-top: 1rem; border-radius: 8px; background: #ecfdf5; padding: .75rem 1rem; font-size: .9375rem; font-weight: 600; color: #047857; }

/* Plugin cards: the product pricing page card (bk-pr-card), three across. */
.bk-ph-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.bk-ph-product__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .5rem 1rem; }
.bk-ph-product__head .bk-pr-card__name a { display: inline-flex; align-items: center; min-height: 44px; margin: -.375rem 0; color: inherit; text-decoration: none; }
.bk-ph-product__head .bk-pr-card__name a:hover { color: var(--pr-primary); }
.bk-ph-product .bk-pr-card__blurb { padding-bottom: 1.25rem; border-bottom: 1px solid var(--pr-line); }
.bk-ph-product__cta { margin-top: auto; }
.bk-ph-product .bk-pr-card__list { border-top: 0; padding-top: 0; }
.bk-ph-note { margin-top: 1.5rem; font-size: .875rem; }

/* Plugin cards: the same design as the product pages' plan cards (assets/css/plan-cards.css). */
.bk-ph-product { padding: 1.75rem 1.6rem 1.5rem; border-radius: 20px; box-shadow: 0 1px 2px rgba(22, 17, 31, .04); }
.bk-ph-product .bk-pr-card__name { font: 800 1.3rem/1.2 var(--bkpc-head); color: var(--bkpc-ink); }
.bk-ph-product .bk-pr-card__blurb { margin-top: .3rem; padding-bottom: 0; border-bottom: 0; font-size: .92rem; line-height: 1.4; color: var(--bkpc-soft); }
.bk-ph-product .bk-pr-card__price { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--bkpc-line); }
.bk-ph-product .bk-pr-card__sites { margin: 0 0 .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bkpc-subtle); }
.bk-ph-product .bkpc-list { margin-bottom: 0; }
@media (max-width: 767px) { .bk-ph-product .bkpc-foot:empty { display: none; } }
/* Side by side, the price rows line up even when one tagline wraps. */
@media (min-width: 768px) { .bk-ph-product .bk-pr-card__blurb { min-height: 2.8em; } }
.bk-ph-product .bk-pr-card__cta { width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: 12px; font: 700 1rem/1.2 var(--bkpc-head); }
.bk-ph-product a.bk-pr-card__cta:not(.btn-primary) { border: 0; background: var(--bkpc-ink); color: #fff; }
.bk-ph-product a.bk-pr-card__cta:not(.btn-primary):hover { background: #2E2540; }
.bk-ph-product a.bk-pr-card__cta:focus-visible { outline: 3px solid var(--bkpc-p); outline-offset: 3px; }
.bk-ph-product .bk-ph-product__head > .badge { padding: .3rem .75rem; border-radius: 999px; background: var(--bkpc-p7); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.2; }

/* CTAs: theme buttons, full width in cards, never a shadow. */
.bk-ph .btn-primary, .bk-ph .btn-ghost { box-shadow: none !important; }
.bk-ph-band__card .bk-pr-card__cta { margin-top: 1.25rem; }
.bk-ph-product__cta .bk-pr-card__cta { margin-top: 1.5rem; }
.bk-ph-off { cursor: default; }
.bk-ph-off:hover { transform: none !important; border-color: inherit; color: inherit; }
.btn-primary.bk-ph-off:hover { background-color: rgb(124 58 237); color: #fff; }

/* "Get notified when checkout opens" */
.bk-ph-notify__open { display: block; margin: .75rem auto 0; min-height: 44px; padding: 0 .5rem; border: 0; background: none; font-size: .875rem; cursor: pointer; }
.bk-ph-notify__open:hover { text-decoration: underline; }
.bk-ph-notify { margin-top: .5rem; }
.bk-ph-notify__row { display: flex; gap: .5rem; }
.bk-ph-notify__row input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 .875rem; border: 1px solid var(--pr-line); border-radius: 8px; font: inherit; }
.bk-ph-notify__status { min-height: 1.25rem; margin-top: .5rem; font-size: .8125rem; color: #047857; }
.bk-ph-notify__status.is-error { color: #b42318; }

/* Trust row: bk-pr-disclose cards, four across on wide screens. */
.bk-ph-trust strong { margin-bottom: .125rem; }

/* Compare: bk-pr-compare, grouped by product. */
.bk-ph-table { margin-top: 2rem; border-radius: 20px; }
.bk-ph-table table { min-width: 760px; }
.bk-ph-table table { font-size: .92rem; }
.bk-ph-table th, .bk-ph-table td { white-space: nowrap; }
.bk-ph-table th, .bk-ph-table td { padding: .8rem 1rem; }
.bk-ph-table tbody { border-top: 1px solid var(--pr-line); }
.bk-ph-table tbody tr { border-top: 0; }
.bk-ph-table tbody tr + tr td { border-top: 1px dashed var(--pr-line); }
.bk-ph-table tbody th { width: auto; background: #fff; }
/* pricing.css highlights column 2 (the lead plan on product pages); here column 2 is "Plan". */
.bk-ph-table thead th:nth-child(2) { color: var(--pr-ink); }
.bk-ph-table__first { font-weight: 700; }

/* FAQ: open, two columns. */
.bk-ph-faq__grid { display: grid; gap: 2rem 3rem; margin-top: 2.5rem; }

/* Offer terms */
.bk-ph-terms ul { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; color: rgb(76 67 97); }
.bk-ph-terms li + li { margin-top: .375rem; }

/* Suite checkout form (L3) */
.bk-ph-suite-buy { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--pr-line); }
.bk-ph-suite-buy__plan { font-weight: 700; color: var(--pr-ink); }
.bk-ph-suite-buy__help { margin: .375rem 0 1rem; font-size: .875rem; color: var(--pr-soft); }
.bk-ph-suite-buy__fields { display: grid; gap: .625rem; }
.bk-ph-suite-buy__fields label { display: flex; flex-direction: column; gap: .375rem; font-size: .8125rem; font-weight: 700; color: var(--pr-ink); }
.bk-ph-suite-buy__fields input { min-height: 44px; padding: 0 .875rem; border: 1px solid var(--pr-line); border-radius: 8px; font: inherit; font-weight: 500; }
.bk-ph-suite-buy__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-ph-suite-buy__actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1rem; }
.bk-ph-suite-buy__actions > * { flex: 1 1 auto; }
.bk-ph-suite-buy__signin { margin-top: .75rem; font-size: .875rem; color: var(--pr-soft); }
.bk-ph-suite-buy__status { min-height: 1.25rem; margin-top: .625rem; font-size: .875rem; font-weight: 600; color: var(--pr-ink); }
.bk-ph-suite-buy__status.is-error { color: #b42318; }

.bk-ph a:focus-visible, .bk-ph button:focus-visible, .bk-ph input:focus-visible, .bk-ph-table:focus-visible { outline: 2px solid var(--pr-primary); outline-offset: 2px; }

/* Responsive: mobile first, same breakpoints as the theme (768 / 1024 / 1200). */
@media (max-width: 1023px) {
  .bk-ph-top__in { flex-direction: column; align-items: stretch; }
  .bk-ph-toggles { align-items: stretch; }
  .bk-ph-toggles .bk-pr-toggle { width: 100%; }
  .bk-ph-toggles .bk-pr-toggle button { min-width: 0; padding: 0 .75rem; }
}
@media (max-width: 767px) {
  .bk-ph-top { padding-top: calc(6rem + var(--promo-h, 0px)); }
  .bk-ph-table th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
  .bk-ph-notify__row { flex-direction: column; }
}
@media (max-width: 479px) {
  .bk-ph-product { padding: 1.5rem 1.2rem 1.25rem; }
}
@media (min-width: 640px) {
  .bk-ph-band__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .bk-ph-band { padding: 3rem; }
  .bk-ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-ph-faq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .bk-ph-band { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; padding: 3.5rem; }
  .bk-ph-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-ph-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .bk-ph * { transition: none !important; animation: none !important; }
}
