/* Our checkout and order pages (/buy/*). Laid out like Checkout Champ's checkout so buyers coming from
   the landing pages see the same page. System fonts only: the payment page loads nothing it does not need. */
:root {
  --ink: #252a32;
  --text: #303030;
  --muted: #636a7b;
  --line: #ced4da;
  --green: #6aa84f;
  --green-dark: #4f8a37;
  --green-soft: #e9f3e4;
  --red: #c62828;
  --radius: 6px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.co {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.co-head { text-align: center; padding: 18px 16px 6px; }
.co-head img { width: 150px; height: auto; }
.co-main { max-width: 560px; margin: 0 auto; padding: 0 14px 28px; }
.co h2 { color: var(--ink); font-size: 22px; margin: 22px 0 12px; }
.co h3 { color: var(--ink); font-size: 17px; margin: 14px 0 0; }
.co-off { margin: 20px 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff8e1; }

.co-order { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--green-dark);
  border-radius: 10px; background: var(--green-soft); }
.co-order img { flex: 0 0 56px; border-radius: 6px; background: #fff; }
.co-order-text { flex: 1; display: flex; flex-direction: column; }
.co-order-text strong { color: var(--ink); font-size: 16px; }
.co-order-text span { color: var(--green-dark); font-weight: 600; font-size: 14px; }
.co-price { color: var(--red); font-size: 18px; }

.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; }
.co-wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .co-grid .co-label { grid-column: 1 / -1; } }
.co-label { display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 15px; font-weight: 500; }
.co-label i { color: var(--red); font-style: normal; }
.co input, .co select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 400; color: var(--text); background: #fff; }
.co select:disabled { color: var(--text); opacity: 1; background: #fafafa; }
.co input:focus, .co select:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(106, 168, 79, .2); }
.co .co-bad input, .co .co-bad select, .co-field.co-bad { border-color: var(--red); }
.co-check { display: flex; align-items: center; gap: 8px; margin: 16px 0 4px; font-size: 16px; color: var(--ink); }
.co-check input { width: 20px; height: 20px; accent-color: #1a73e8; }

.co-pay { border: 1px solid #dfe3e8; border-radius: 10px; overflow: hidden; }
.co-pay-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid #eef0f2; }
.co-pay-head img { margin-left: auto; }
.co-dot { width: 18px; height: 18px; border-radius: 50%; background: #f26b3a; box-shadow: inset 0 0 0 4px #fde3d8; flex-shrink: 0; }
/* Payment method choice (card or PayPal): the dot is the radio's look; an unchosen method shows an empty ring. */
.co-pay-head input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.co-pay-head { position: relative; cursor: pointer; }
.co-pay-head input:not(:checked) + .co-dot { background: #fff; box-shadow: inset 0 0 0 2px #c3c9d1; }
.co-pay-head input:focus-visible + .co-dot { outline: 2px solid #1f6feb; outline-offset: 2px; }
.co-pay-alt { border-top: 1px solid #dfe3e8; }
.co-paypal { margin-top: 12px; min-height: 48px; }
.co-pay-body { padding: 14px 16px 16px; background: #f7f8fa; display: flex; flex-direction: column; gap: 12px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-field { height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.co-field iframe { width: 100% !important; height: 44px !important; border: 0; }
.co-note { margin: 0; font-size: 13px; color: var(--muted); }

.co-summary { margin-top: 22px; padding: 16px; border: 1px solid #dfe3e8; border-radius: 10px; }
.co-line { display: flex; justify-content: space-between; padding: 6px 0; color: var(--green-dark); font-weight: 600; }
.co-total { color: var(--ink); border-top: 1px solid #eef0f2; margin-top: 6px; padding-top: 12px; font-size: 17px; }
#co-turnstile:not(:empty) { margin: 12px 0 0; }
.co-error { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius); background: #fdecea; color: var(--red); font-weight: 600; }
.co-btn { display: block; width: 100%; margin-top: 14px; padding: 14px; border: 0; border-radius: var(--radius); background: var(--green);
  color: #fff; font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.co-btn:disabled { opacity: .6; cursor: default; }
.co-btn.co-busy::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -1px;
  border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: co-spin .8s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .co-btn.co-busy::after { animation: none; } }
.co-secure { text-align: center; margin: 10px 0 4px; color: var(--green-dark); font-size: 13px; }
.co-cards { display: block; margin: 0 auto; }

.co-quote { margin: 22px 0; padding: 18px; border: 1px solid #9cc788; border-radius: 10px; background: var(--green-soft); color: var(--ink); font-size: 16px; }
.co-quote p { margin: 0 0 12px; }
.co-quote-by { display: flex; align-items: center; gap: 8px; }
.co-quote-by img { border-radius: 50%; }
.co-stars { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.co-guarantee { padding: 26px 20px; border-radius: 14px; background: var(--green); color: #fff; text-align: center; }
.co-guarantee h2 { color: #fff; margin-top: 0; font-size: 24px; line-height: 1.2; }
.co-guarantee ul { list-style: none; padding: 0; margin: 18px 0 0; line-height: 2; }
.co-foot { background: #1f2a44; color: #fff; padding: 18px 16px; font-size: 12px; text-align: center; }
.co-foot p { max-width: 560px; margin: 0 auto 8px; }
.co-foot a { color: #fff; }

/* Order pages after the checkout (one-click offers and the summary). */
.co-banner { margin: 12px 0; padding: 10px 12px; border-radius: var(--radius); background: #fff3e0; color: #8a4b00; font-weight: 600; }
.co-receipt { border: 1px solid #dfe3e8; border-radius: 10px; padding: 16px; }
.co-receipt table { width: 100%; border-collapse: collapse; }
.co-receipt td { padding: 6px 0; }
.co-receipt td:last-child { text-align: right; white-space: nowrap; }
.co-receipt tr.co-total td { border-top: 1px solid #eef0f2; padding-top: 10px; font-weight: 700; color: var(--ink); }
.up-h1 { color: var(--ink); font-size: 26px; line-height: 1.2; text-align: center; margin: 16px 0 8px; }
.up-lead { text-align: center; font-size: 16px; }
.up-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.up-card { padding: 16px 12px; border: 1px solid #dfe3e8; border-radius: 10px; text-align: center; }
.up-card.up-best { border: 2px solid var(--green-dark); background: var(--green-soft); }
.up-card h2 { font-size: 18px; margin: 8px 0 4px; }
.up-card img { display: block; margin: 0 auto; }
.up-price { color: var(--red); font-size: 24px; font-weight: 700; margin: 4px 0; }
.up-save { color: var(--green-dark); font-weight: 600; margin: 0 0 6px; }
.co-btn.up-yes { text-decoration: none; text-align: center; font-size: 17px; }
.up-no { text-align: center; margin: 10px 0 24px; }
.up-no a { color: var(--muted); font-size: 15px; }
.co-wait { opacity: .6; pointer-events: none; }

/* Street address suggestions (assets/js/address.js). */
.co-ac-wrap { position: relative; }
.co-ac { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px 0; list-style: none;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.co-ac li[role=option] { padding: 9px 12px; font-size: 14.5px; font-weight: 400; color: var(--text); cursor: pointer; }
.co-ac li[role=option] b { color: var(--ink); font-weight: 600; }
.co-ac li[role=option] span { color: var(--muted); }
.co-ac li[aria-selected=true], .co-ac li[role=option]:hover { background: var(--green-soft); }
.co-ac-credit { padding: 4px 12px 2px; text-align: right; color: #5f6368; font: 11px/1.4 Roboto, Arial, sans-serif; }

/* Discount code (the same box on every checkout page) */
.co-discount { margin: 4px 0 12px; }
.co-discount-row { display: flex; gap: 8px; }
.co-discount-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; text-transform: uppercase; }
.co-btn-small { height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.co-btn-small:disabled { opacity: .6; cursor: default; }
.co-code-msg { margin: 6px 0 0; font-size: 14px; color: var(--red); }
.co-code-msg.co-code-ok { color: var(--green-dark); }
.co-discount-line span:last-child { color: var(--green-dark); font-weight: 700; }
