/* The theme's /preview/ page in the practice context (reached from a therapist
   link, a postcard, the order form or the revision form). Loaded only there.

   Clients who have already paid: the order form and the revision form link to
   /preview/?prof=therapist&paid=1. practice.js (section 9) then puts tp-paid on
   <body>, and every order button on the page is hidden: the header button, any
   order link the six-look widget draws, and the button in the bottom bar, which
   the widget appends to <body> after the page has loaded. Hiding by a class on
   <body> outlasts the widget's redraws. Without paid=1 none of this applies. */

body.tp-paid .v2-header .v2-btn-sm,
body.tp-paid .idz-pv a[href^="https://buy.stripe.com/"],
body.tp-paid .idz-pv a[href*="#pricing"],
body.tp-paid .pv-bar a,
body.tp-paid a[href^="https://buy.stripe.com/"] {
  display: none !important;
}

/* The bar keeps the chosen look and its note, without the button. */
body.tp-paid .pv-bar {
  padding: 14px 18px;
  justify-content: flex-start;
}
