/* Ranktiva theme: fourth part of the site styles (theme 1.0.14). Loaded after site-3.css.
   Checkout: the two rows under the payment form, and the message shown after payment.
   Phones: where the sample report picture is hidden.
   The payment frame and its loading dots are not styled here. */

/* Under the form: row 1 "Secure payment by Stripe" with the lock (styled in site-3.css), row 2 the refund line */
.rk-cko .rk-fnote2{margin-top:4px;font-size:var(--body);line-height:1.4;font-weight:500;text-align:center}

/* After payment: a message covers the form card while the window moves to the Thank-you page */
.rk-cko .has-rk-paid{position:relative}
.rk-cko .rk-paid{position:absolute;inset:0;z-index:5;background:#fff;border-radius:inherit;display:flex;align-items:flex-start;justify-content:center;padding:0 24px;text-align:center}
.rk-cko .rk-paid p{position:sticky;top:38vh;margin:120px 0;max-width:15em;font-size:var(--h3);line-height:1.2;font-weight:800;color:var(--ink)}
.rk-cko .rk-paid p::before{content:"";display:block;width:48px;height:48px;margin:0 auto 16px;border-radius:999px;background:var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1422' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") no-repeat center/26px}

/* Phones (up to 781 px): the sample report picture is hidden where it cannot be read at that size.
   Pricing, top of the page: headline, the line under it, then the price card.
   How it works, step 4: the "Open a sample report" button above it stays.
   Home and Features keep the picture (cropped view, readable). Tablet and desktop are unchanged. */
@media (max-width:781px){
  .r4.phead .shot{display:none!important}
  .r4 .step .pic.shot{display:none!important}
}

/* Home, "Works with" (theme 1.0.16, final pass 30 Nov 2026): from 782 px up, one row of eight,
   centred, never moving. Every mark is 48 px tall with its name under it; the DataForSEO wordmark
   carries its own name and sits in the middle of the same 48 px band. Up to 781 px nothing changes:
   two rows of four (site-3.css). To undo: remove this block. */
@media (min-width:782px){
  .r4.works .logos{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));justify-content:center;justify-items:center;align-items:start;gap:0 12px;width:100%;max-width:1160px;margin-left:auto;margin-right:auto}
  .r4.works .logos .lg{flex-direction:column;justify-content:flex-start;align-items:center;gap:10px;min-height:48px;text-align:center;white-space:normal;font-size:var(--small);line-height:1.25}
  .r4.works .logos img{height:48px;width:auto}
  .r4.works .logos .wm{align-self:start;justify-content:center;width:100%;max-width:150px;min-height:48px}
  .r4.works .logos .wm img{height:auto;width:100%}
}
@media (min-width:1100px){
  .r4.works .logos .lg{font-size:16px}
}
