/* about.homeasap.com product sales pages (sales1 family): styles shared by two or more of them.
   Values measured on live (computed styles at 1440 / 375). Page-only rules stay in each page's <style>. */

/* --------------------------------------------------------------------------
   Rebuilt WP Simple Pay checkout form (markup: see customer-engagement/instagram/)
   <form class="sp-form" data-checkout-pending data-simpay-form-id="…">
     .sp-field > .sp-label + .sp-input           text fields
     .sp-field.sp-plans > .sp-label + ul.sp-plans__list > li > label > input[type=radio][data-plan-amount]
     .sp-field.sp-coupon > .sp-label + .sp-coupon__row > .sp-input + button.sp-apply
     .sp-field.sp-total > "Total Due: " .sp-total__value
     .sp-field > button.sp-pay
   -------------------------------------------------------------------------- */
.sp-form { margin-top: 19px; padding-bottom: 86.6px; }    /* margin: live's empty <p> before the form */                  /* live: four hidden custom fields (15px each) + a <br> after the form */
.sp-form--short { padding-bottom: 26.6px; }           /* forms whose hidden fields render nothing below the button */
.sp-field { margin-bottom: 15px; }
.sp-label { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 21px; letter-spacing: .5px; }
.sp-input { display: block; width: 100%; height: 50px; margin: 0; padding: 10px; border: 1px solid #eaeaea; border-radius: 5px;
  background: #fff; color: #4e4e4e; font-size: 20px; font-weight: 400; line-height: 28px; box-shadow: none; outline-color: #226fd3; }
.sp-coupon__row { display: flex; align-items: baseline; }   /* live: inline-blocks on one baseline (Apply sits 2px lower) */
.sp-coupon .sp-input { width: 200px; padding: 8px; }
.sp-apply { flex: none; margin: 0 0 0 10px; padding: 14px 20px; border: 0; border-radius: 5px; background: #226fd3; color: #fff;
  font-size: 16px; font-weight: 700; line-height: 22.4px; letter-spacing: .5px; cursor: pointer; }
.sp-plans { display: flow-root; }   /* keeps the list's 9.5px bottom margin inside the field, as live */
.sp-plans__list { margin: 0 0 9.5px; padding: 0 !important; list-style: none !important; line-height: 26px; }
.sp-plans__list li { font-size: 17px; line-height: 23.8px; list-style: none; }
.sp-plans__list label { display: block; margin-bottom: 8.5px; font-size: 17px; line-height: 23.8px; cursor: pointer; }
.sp-plans__list input { width: 13px; height: 13px; margin: 3px 9px 0 5px; vertical-align: baseline; }
.sp-total { margin-top: 10px; color: var(--ink); font-size: 22px; font-weight: 800; line-height: 30.8px; letter-spacing: .5px; }
.sp-total-wrap { display: flow-root; margin-bottom: 15px; }
.sp-pay { display: inline-block; margin-top: 20px; padding: 14px 24px; border: 0; border-radius: 5px; background: #0a7f28; color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.2); font-size: 18px; font-weight: 700; line-height: 25.2px; letter-spacing: .5px; text-align: center; cursor: pointer; }
.sp-pay span { display: block; position: relative; padding: 0 12px; line-height: 30px; }
.sp-pay svg { width: 12px; height: 15px; margin: 0 10px -1px 0; fill: currentColor; }
.sp-form [hidden] { display: none !important; }
.cc-icon-container img { display: inline; }
.checkout-container .tos { padding-bottom: 12px; }
.checkout-container .site-security-seal { padding-bottom: 1em; }   /* live: an empty <p> follows it */

/* Checkout section: "What's included" list (Divi blurbs with a green check icon) */
.incl { margin: 5px 0; }
.incl__inner { display: flex; align-items: flex-start; }
.incl__icon { flex: none; width: 24px; height: 24px; color: #3ec144; }
.incl__icon svg { display: block; width: 24px; height: 24px; fill: currentColor; }
/* Live sets 'Barlow Semi Condensed' 300 on the title, but its inner <span> takes the theme's Barlow (body *), so Barlow renders */
.incl__text { padding: 0 0 10px 15px; color: var(--navy); font-family: var(--font); font-size: 18px; font-weight: 300; line-height: 1.4; }

/* Checkout section (#checkout, specialty row: form box left, what's included + contact info right) */
#checkout > .row--specialty { padding: 0; }   /* Divi specialty section row: no row padding */
#checkout .checkout-col { padding: 32.875px 0; }
.checkout-container { margin-top: 50px; padding: 2rem 3rem; border-radius: 20px; overflow: hidden; background-color: #e3e7e8;
  box-shadow: 0 4px 8px rgba(27,27,27,.05), 0 10px 20px rgba(27,27,27,.05); }
.checkout-container h2 { font-size: 2.2rem; }
#checkout .incl-row { margin-top: 50px; padding: 31.672px 0; }
#checkout .incl-row h2 { margin: 40px 0 10px; font-family: 'Barlow Condensed', Helvetica, Arial, Lucida, sans-serif; font-size: 28px; }
#checkout .info-row { padding: 0; }
#checkout .guarantee { margin: 28px 0 18px; }
#checkout .guarantee p { font-size: 15px; font-weight: 500; }
#checkout .contact-info-box ul { padding: 0 0 1em; list-style-type: none; list-style-position: inside; }
#checkout .contact-info-box li { font-size: 1.1rem; }
#checkout .contact-info-box p { padding-bottom: 1em; }   /* live ends the box with an empty <p>, so no p here is the last one */
ul.checkout-contact-info { margin-left: 5%; padding-left: 0; }
#checkout .contact-info-box hr { height: 2px; margin: 9.5px 0; border: 1px inset #808080; }
@media (max-width: 980px) { #checkout .checkout-col { padding: 0; } }

/* FAQ blurbs on the navy band (.faq, Divi blurb with dark text) */
.faq h3 { color: #fff; font-family: var(--font); font-size: 1.4rem; line-height: 1.4; }   /* title text sits in a <span>: theme Barlow */
.faq, .faq p { color: #fff; line-height: 1.5em; }
.faq { max-width: 550px; margin-left: auto; margin-right: auto; }   /* Divi blurb content max-width, centred */
.faq a { color: var(--coral); }

/* Divi image module with its own padding/margins (product art bleeding out of the column) */
.image--bleed img { width: 100%; }

/* Lightbox overlay (a.lightbox) */
.lightbox-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 40px;
  background: rgba(11,11,11,.8); cursor: zoom-out; }
.lightbox-overlay img { max-width: 100%; max-height: calc(100vh - 80px); box-shadow: 0 0 8px rgba(0,0,0,.6); cursor: auto; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: #fff;
  font-size: 28px; line-height: 44px; opacity: .65; cursor: pointer; }
.lightbox-close:hover { opacity: 1; }

/* Ad-builder loading mask (from the HomeASAP ad-builder scripts) */
#loading-mask { display: none; }
#loading-mask.on { display: block; position: fixed; inset: 0; z-index: 10000; margin-top: 0; background-color: rgba(0,0,0,.6); }
#loading-center { position: relative; width: 100%; height: 100%; }
#loading-center-absolute { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; }
#object { width: 80px; height: 80px; margin: 60px auto 0; background: #fff url(../images/READ-logo-dark.webp) 0 0 / 100% 100%; animation: ha-flip 2s infinite ease-in-out; }
@keyframes ha-flip {
  0% { transform: perspective(160px) rotateX(0) rotateY(0); }
  25% { transform: perspective(160px) rotateX(-180deg) rotateY(0); }
  50% { transform: perspective(160px) rotateX(-180deg) rotateY(-180deg); }
  75% { transform: perspective(160px) rotateX(-360deg) rotateY(-180deg); }
  100% { transform: perspective(160px) rotateX(-360deg) rotateY(-360deg); }
}

/* Ad builder (rebuilt Caldera multi-page form; live's Caldera + theme rules, measured) */
.cf { position: relative; }
.cf [hidden] { display: none !important; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 15px; width: calc(100% - 15px); }
.cf-row::after { content: none; }
.cf-col--12 { grid-column: 1 / -1; }
.cf-flex { display: flex; justify-content: center; }
.cf-title h3 { margin-bottom: 30px; }
.cf .form-group { margin-bottom: 15px; }
.cf .control-label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; }
.cf .field_required { color: #e00; }
.cf .form-control { display: block; width: 100%; height: 34px; padding: 6px 12px; border: 1px solid rgba(27,27,27,.2); border-radius: 2px; background: #fff;
  color: #555; font-size: 14px; font-weight: 500; line-height: 1.42857; box-shadow: 0 4px 8px rgba(27,27,27,.1), 0 10px 20px rgba(27,27,27,.1); }
.cf input[type="text"].form-control, .cf input[type="email"].form-control, .cf textarea.form-control { max-width: 500px; }
.cf textarea.form-control { height: auto; padding-right: 4px; resize: vertical; }
.cf .form-control:focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); }
.cf .help-block { display: block; margin: 5px 0 10px; color: #737373; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .5px; }
.cf .btn-wrap-cf { margin-bottom: 15px; }
.cf .btn-wrap-cf > .control-label { width: 3.8px; }
.cf .btn-wrap-cf--back { margin-right: 36px; }
.cf-btn { display: inline-block; margin: 0; padding: .5rem 2rem; border: 0; border-radius: 50px; background-color: #dc2209; color: #fff; cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 700; line-height: 1.42857; text-align: center; opacity: .9; transition: all 250ms; -webkit-appearance: none; appearance: none; }
.cf-btn:hover { box-shadow: 0 4px 8px rgba(27,27,27,.5); transform: translate(0,-6px); opacity: 1; transition: all 750ms; color: #fff; }
.cf-btn:active { box-shadow: 0 0 2px rgba(27,27,27,.3); transform: translate(0,0); opacity: 1; }
.cf-btn--back { border: 2px solid #223949; background-color: #fff; color: #223949; transition: all 500ms; }
.cf-btn--back:hover { border-color: #223949; background-color: #223949; color: #fff; transition: all 250ms; }
.cf hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; }
.cf .ad-diagram { max-width: 400px; margin: auto; }
.cf .ad-diagram p { padding-bottom: 1em; }
.cf .ad-diagram img { vertical-align: top; }
.cf .ad-diagram .ad-diagram__note { padding: 0 14px; font-size: 14px; }
/* Image radios */
.cf .radio { position: relative; display: block; margin: 10px 0; }
.cf .radio + .radio { margin-top: 0; }
.cf .radio label { display: inline-block; min-height: 20px; padding-left: 0; margin-bottom: 0; font-weight: 400; cursor: pointer; }
.cf .radio input[type="radio"] { position: absolute; margin: 4px 0 0 -20px; -webkit-appearance: none; appearance: none; border: 0; background: none; }
.cf .radio input[type="radio"]:checked { top: 10px; left: 30px; z-index: 50; width: 25px; height: 25px; margin-top: 0;
  background: url(../images/checkmark-circle-w-bkg.svg) 0 0 / 25px 25px no-repeat; }
.cf .radio img { position: relative; vertical-align: top; transition: all 250ms; border: 1px solid #ddd; border-radius: 5px; box-shadow: 0 4px 5px 0 #999; }
.cf .radio img:hover { transform: scale(1.01) translateY(-5px); border: 2px solid #f15f4c; border-radius: 5px; box-shadow: 0 10px 15px -5px #888; }
.cf .radio input[type="radio"]:checked + img { border: 5px solid #dc2209; border-image: linear-gradient(45deg,#dc2209 0,#f15f4c 100%) 1; transform: scale(1.05); }
.cf .radio input:focus-visible + img { outline: 2px solid #47a8ed; outline-offset: 2px; }

/* Rebuilt Ninja Forms lead forms (contact-form.js) */
.nf-required-note { padding-bottom: 0; }
.nf-required-note span, .nf-field label span { color: #e80000; }
.nf-body { padding: 5px; }
.nf-field { margin-bottom: 25px; }
.nf-field label { display: block; margin-bottom: 10px; font-size: 18px; font-weight: 700; line-height: 26.6px; }
.nf-field input, .nf-field textarea { display: block; width: 100%; height: 50px; padding: 12px; border: 1px solid #c4c4c4; border-radius: 0; background: #f7f7f7; color: #787878; font-size: 20px; font-weight: 400; line-height: 28px; }
.nf-field textarea { height: 200px; }

/* Credit-card sprite list beside the security seal (live: ICONS-CREDIT_CARDS.webp); Apply wraps under a narrow coupon field */
#checkout .credit-card-icons { display: inline-block; float: left; max-width: 228px; margin: 0 20px 0 0; padding: 20px 0; list-style: none; line-height: 26px; }
#checkout .credit-card-icons li { display: inline-block; width: 46px; height: 33px; margin-right: 8px; padding: 0; list-style: none; vertical-align: baseline;
  background: url(../images/ICONS-CREDIT_CARDS.webp) 0 0 / 184px; }
#checkout .credit-card-icons .mastercard { background-position: -46px 0; }
#checkout .credit-card-icons .discover { background-position: -92px 0; }
#checkout .credit-card-icons .amex { background-position: -138px 0; }
#checkout .sp-coupon__row { flex-wrap: wrap; }   /* live: Apply drops under the field when it does not fit */
