/* Arsenal order card: one card for the standalone page, the slide-in and the on-page form.
   Theme tokens match each sales-page variant. Pick one with data-ao-theme="bf|classic|jarvis". */
[data-ao-theme] {
  --ao-font: Inter, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ao-head-font: "Bebas Neue", Arial, sans-serif;
  --ao-head-weight: 400;
  --ao-head-case: uppercase;
  --ao-head-spacing: .04em;
  --ao-head-size: 26px;
  --ao-head-bg: #111113;
  --ao-head-ink: #fff;
  --ao-cta: #e8541c;
  --ao-cta-hover: #cf4511;
  --ao-cta-ink: #fff;
  --ao-cta-radius: 8px;
  --ao-cta-font: 400 24px/1 "Bebas Neue", Arial, sans-serif;
  --ao-cta-spacing: .05em;
  --ao-cta-case: none;
  --ao-accent: #e8541c;
  --ao-accent-soft: #fdeee7;
  --ao-card-radius: 14px;
  --ao-good: #1e7a35;
  --ao-good-soft: #e8f5ea;
}
[data-ao-theme="classic"] {
  --ao-head-font: Georgia, "Times New Roman", serif;
  --ao-head-weight: 700;
  --ao-head-case: none;
  --ao-head-spacing: -0.01em;
  --ao-head-size: 22px;
  --ao-head-bg: #1a1a1a;
  --ao-cta: #c42020;
  --ao-cta-hover: #9d1717;
  --ao-cta-radius: 12px;
  --ao-cta-font: 900 18px/1.1 Inter, -apple-system, "Segoe UI", sans-serif;
  --ao-cta-spacing: .02em;
  --ao-accent: #c42020;
  --ao-accent-soft: #fbeaea;
  --ao-card-radius: 14px;
  --ao-good: #138a3d;
  --ao-good-soft: #e6f4ea;
}
[data-ao-theme="jarvis"] {
  --ao-font: Geist, Arial, sans-serif;
  --ao-head-font: Geist, Arial, sans-serif;
  --ao-head-weight: 600;
  --ao-head-case: none;
  --ao-head-spacing: -0.025em;
  --ao-head-size: 19px;
  --ao-head-bg: #14171b;
  --ao-cta: #c6f432;
  --ao-cta-hover: #b4e21f;
  --ao-cta-ink: #0a0b0d;
  --ao-cta-radius: 100px;
  --ao-cta-font: 600 17px/1 Geist, Arial, sans-serif;
  --ao-cta-spacing: -0.025em;
  --ao-accent: #5b7a00;
  --ao-accent-soft: #f2fbd9;
  --ao-card-radius: 14px;
}

.ao-card { position: relative; background: #fff; color: #1d1d1f; font-family: var(--ao-font); font-size: 15px; line-height: 1.5; text-align: left; border-radius: var(--ao-card-radius); box-shadow: 0 30px 70px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.08); transition: box-shadow .3s ease; }
.ao-card *, .ao-card *::before, .ao-card *::after { box-sizing: border-box; }
.ao-card.ao-pulse { box-shadow: 0 0 0 3px var(--ao-cta), 0 30px 70px rgba(0,0,0,.28); }
.ao-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; background: var(--ao-head-bg); color: var(--ao-head-ink); border-radius: var(--ao-card-radius) var(--ao-card-radius) 0 0; }
.ao-title { margin: 0; color: var(--ao-head-ink); font-family: var(--ao-head-font); font-weight: var(--ao-head-weight); font-size: var(--ao-head-size); line-height: 1; letter-spacing: var(--ao-head-spacing); text-transform: var(--ao-head-case); min-width: 0; }
.ao-secure { display: inline-flex; align-items: center; gap: 7px; color: #d9d6cf; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.ao-secure svg { flex: none; }
.ao-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -4px -8px -4px 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }

/* progress strip under the header */
.ao-bar { position: relative; height: 6px; background: #ececf0; overflow: hidden; }
.ao-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 0 99px 99px 0; background: var(--ao-cta); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
[data-ao-theme="jarvis"] .ao-bar i { background: #8fbf0d; }

/* countdown row (shown only while OFFER.deadline is set) */
.ao-timer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 8px 16px; background: var(--ao-timer, #d92d20); color: var(--ao-timer-ink, #fff); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ao-chips { display: inline-flex; gap: 5px; letter-spacing: 0; }
.ao-chips > span { min-width: 40px; padding: 3px 6px; border-radius: 5px; background: rgba(0,0,0,.25); font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; }
[data-ao-theme="classic"] { --ao-timer: #c42020; }
[data-ao-theme="jarvis"] { --ao-timer: #c6f432; --ao-timer-ink: #0a0b0d; }
[data-ao-theme="jarvis"] .ao-chips > span { background: rgba(0,0,0,.12); }

/* plan picker */
.ao-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 22px 0; }
.ao-plan { position: relative; display: block; width: 100%; padding: 7px 12px 7px 38px; border: 1.5px solid #dcdce2; border-radius: 10px; background: #fff; color: #1d1d1f; font: inherit; text-align: left; cursor: pointer; }
.ao-plan::before { content: ""; position: absolute; left: 12px; top: 50%; margin-top: -8px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #b9b9c2; background: #fff; }
.ao-plan[aria-checked="true"] { border-color: var(--ao-cta); background: var(--ao-accent-soft); }
[data-ao-theme="jarvis"] .ao-plan[aria-checked="true"] { border-color: #8fbf0d; }
.ao-plan[aria-checked="true"]::before { border: 5px solid var(--ao-cta); }
[data-ao-theme="jarvis"] .ao-plan[aria-checked="true"]::before { border-color: #8fbf0d; }
.ao-plan b { display: block; font-size: 14.5px; line-height: 1.3; }
.ao-plan span { display: block; font-size: 12.5px; line-height: 1.35; color: #6e6e73; }
.ao-plan em { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 99px; background: var(--ao-good); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* coupon applied */
.ao-applied { display: flex; gap: 9px; align-items: flex-start; margin: 10px 22px 0; padding: 8px 12px; border-radius: 10px; background: var(--ao-good-soft); color: #1f3b27; font-size: 13.5px; line-height: 1.45; }
.ao-applied svg { flex: none; margin-top: 2px; }
.ao-applied b { color: #10301b; }

/* embed */
.ao-embed { position: relative; min-height: 520px; }
.ao-embed sc-checkout { display: block; }
.ao-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #6e6e73; font-size: 14px; }
.ao-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #ececf0; border-top-color: var(--ao-cta); animation: ao-sp .8s linear infinite; }
@keyframes ao-sp { to { transform: rotate(360deg); } }
.ao-embed.ao-ready .ao-loading, .ao-embed.ao-failed .ao-loading { display: none; }
.ao-fallback { display: none; padding: 30px 22px 34px; text-align: center; }
.ao-fallback p { margin: 0 0 18px; color: #424245; font-size: 15px; }
.ao-embed.ao-failed .ao-fallback { display: block; }
.ao-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 30px; border: 0; border-radius: var(--ao-cta-radius); background: var(--ao-cta); color: var(--ao-cta-ink); font: var(--ao-cta-font); letter-spacing: var(--ao-cta-spacing); text-decoration: none; cursor: pointer; }
.ao-btn:hover { background: var(--ao-cta-hover); }

/* arrow to SamCart's "Amount due now" line (wide layouts only) */
.ao-arrow { position: absolute; right: calc(100% + 12px); z-index: 3; display: none; align-items: center; gap: 0; transform: translateY(-50%); pointer-events: none; }
.ao-arrow span { padding: 8px 12px; text-align: center; border-radius: 8px; background: var(--ao-cta); color: var(--ao-cta-ink); font-size: 13.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.ao-arrow i { width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 11px solid var(--ao-cta); }
.ao-card.ao-arrow-on .ao-arrow { display: flex; animation: ao-nudge 1.6s ease-in-out 3; }
/* when the arrow carries the coupon message, the callout above the form is not needed */
.ao-card.ao-arrow-on .ao-applied { display: none; }
@keyframes ao-nudge { 50% { margin-right: -6px; } }

.ao-trust { display: grid; gap: 10px; margin: 0; padding: 16px 22px 20px; border-top: 1px solid #ececf0; background: #fafafa; list-style: none; border-radius: 0 0 var(--ao-card-radius) var(--ao-card-radius); }
.ao-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #424245; }
.ao-trust svg { flex: none; margin-top: 2px; }

/* slide-in */
.ao-slide { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.ao-slide.ao-open { visibility: visible; }
.ao-scrim { position: absolute; inset: 0; background: rgba(8,9,12,.62); opacity: 0; transition: opacity .3s ease; }
.ao-slide.ao-open .ao-scrim { opacity: 1; }
.ao-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: #f5f5f7; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.ao-slide.ao-open .ao-panel { transform: none; }
.ao-panel .ao-card { border-radius: 0; box-shadow: none; min-height: 100%; }
.ao-panel .ao-head { position: sticky; top: 0; z-index: 4; border-radius: 0; }
.ao-panel .ao-trust { border-radius: 0; }
html.ao-lock, html.ao-lock body { overflow: hidden; }

/* on-page form */
.ao-inline { width: min(560px, 100% - 40px); margin: 0 auto 64px; scroll-margin-top: 80px; }

@media (max-width: 720px) {
  .ao-head { padding-left: 16px; padding-right: 16px; }
  .ao-title { font-size: calc(var(--ao-head-size) - 5px); }
  .ao-head { gap: 10px; }
  .ao-plans { padding: 14px 16px 0; gap: 8px; }
  .ao-plan { padding: 10px 10px 10px 34px; }
  .ao-plan::before { left: 10px; }
  .ao-applied { margin-left: 16px; margin-right: 16px; }
  .ao-trust { padding-left: 16px; padding-right: 16px; }
  .ao-inline { width: 100%; }
  .ao-inline .ao-card { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .ao-spin, .ao-card.ao-arrow-on .ao-arrow { animation: none; } .ao-panel, .ao-scrim, .ao-bar i { transition: none; } }
