/* Integral Checkout: checkout, order-received, order-pay and the empty cart.
   Same tokens as the new homepage (visionlogix/assets/home/home.css), scoped under .ilc.
   Built from _prototypes/checkout-2026 in the x-child repo; the WooCommerce markup mapping is at the end. */

:root {
  --il-night: #06070D;
  --il-night-2: #0B0D17;
  --il-night-3: #141828;
  --il-ivory: #EDE8DC;
  --il-ivory-dim: #CBC7BD;
  --il-mist: #A4A8BC;
  --il-paper: #F3F0E8;
  --il-paper-2: #FBF9F4;
  --il-rule: #DDD7C9;
  --il-ink: #15151B;
  --il-ink-dim: #5D616C;
  --il-gold: #F2C46B;
  --il-gold-deep: #8A5A12;
  --il-ok: #3F7A57;
  --il-err: #A63D2F;
  --il-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --il-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --field-h: 52px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ilc-body { margin: 0; padding: 0; background: var(--il-night); }

.ilc { min-height: 100vh; font-family: var(--il-sans); font-size: 16px; line-height: 1.5; color: var(--il-ivory); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(242,196,107,.07), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(80,96,170,.10), transparent 60%),
    var(--il-night); }
.ilc :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
.ilc :where(ul, ol) { list-style: none; }
.ilc :where(h1, h2, h3, h4) { font-family: var(--il-display); font-weight: 400; color: inherit; letter-spacing: normal; text-transform: none; }
.ilc :where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ilc :where(p, li, dt, dd, label, span, b, strong, em, a, small, figcaption, div, section, aside, header, footer, main, form, button, input, select, textarea) { font-family: inherit; }
.ilc :where(h1, h2, h3, h4) { font-family: var(--il-display); }
.ilc :where(button) { font: inherit; color: inherit; }
.ilc :where(img, svg) { max-width: 100%; }
.ilc :focus-visible { outline: 2px solid var(--il-gold); outline-offset: 3px; }
.ilc [hidden] { display: none !important; }
.ilc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar: brand + secure note only. No nav: a checkout should not offer exits. ---------- */
.ilc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 14px 40px; }
.ilc-brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.ilc-brand img { display: block; height: 21px; width: auto; }
.ilc-top__right { display: flex; align-items: center; gap: 18px; }
.ilc-top__sep { width: 1px; height: 18px; background: rgba(237, 232, 220, .16); }
.ilc-top__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--il-mist); text-decoration: none; }
.ilc-top__back:hover { color: var(--il-gold); }
.ilc-secure { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--il-mist); }
.ilc-secure svg { width: 14px; height: 14px; }

/* ---------- Layout ---------- */
.ilc-main { max-width: 1180px; margin: 0 auto; padding: 24px 40px 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; }
.ilc-main--one { grid-template-columns: minmax(0, 680px); justify-content: center; }

/* ---------- The form card (paper) ---------- */
.ilc-card { background: var(--il-paper-2); color: var(--il-ink); border-radius: 22px; padding: 40px 44px 36px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.6); }
.ilc-card__h { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.3px; }
.ilc-card__h em { font-style: italic; }
.ilc-card__sub { margin-top: 10px; font-size: 16px; color: var(--il-ink-dim); }
.ilc-card__sub a { color: var(--il-ink); font-weight: 600; }

.ilc-sec { padding-top: 28px; margin-top: 28px; border-top: 1px solid #E7E1D3; }
.ilc-sec:first-of-type { border-top: 0; padding-top: 0; }
.ilc-sec__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-family: var(--il-display); font-size: 22px; line-height: 1.2; }
.ilc-sec__aside { font-family: var(--il-sans); font-size: 14px; color: var(--il-ink-dim); }
.ilc-sec__aside a { color: var(--il-ink); font-weight: 600; }

/* Express pay: Stripe's Express Checkout Element and PayPal render their own buttons (mapping below). */
.ilc-xwrap { margin-top: 26px; }
.ilc-xwrap + .ilc-sec { border-top: 0; margin-top: 18px; padding-top: 0; }
.ilc-or { display: flex; align-items: center; gap: 14px; margin: 20px 0 0; font-size: 13px; color: #8B8E97; }
.ilc-or::before, .ilc-or::after { content: ""; flex: 1; height: 1px; background: #E7E1D3; }

/* Fields */
.ilc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ilc-grid > .full { grid-column: 1 / -1; }
.ilc-field { display: flex; flex-direction: column; gap: 6px; }
.ilc-field label, .ilc-label { font-size: 14px; font-weight: 600; color: #34363F; }
.ilc-field .opt { font-weight: 400; color: #8B8E97; }
.ilc-input { width: 100%; height: var(--field-h); padding: 0 16px; border: 1px solid #D5CEBE; border-radius: 12px; background: #fff; color: var(--il-ink); font: 400 16px/1 var(--il-sans); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.ilc-input::placeholder { color: #A3A6AE; }
.ilc-input:hover { border-color: #BDB4A0; }
.ilc-input:focus { outline: none; border-color: var(--il-ink); box-shadow: 0 0 0 3px rgba(242,196,107,.45); }
.ilc-hint { font-size: 13.5px; line-height: 1.45; color: var(--il-ink-dim); }
.ilc-hint--ok { color: var(--il-ok); }

/* Inline "you already have an account" */
.ilc-known { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #F4EEDD; border: 1px solid #EADFC2; font-size: 14.5px; line-height: 1.5; }
.ilc-known strong { display: block; font-weight: 700; }
.ilc-known__act { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ilc-known__act button { padding: 0; border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ilc-known__act .ilc-known__other { font-weight: 400; color: #6B6355; }
.ilc-known.is-missing { border-color: #B8892E; box-shadow: 0 0 0 3px rgba(184,137,46,.18); }
.ilc-known__why { margin: 6px 0 0; font-weight: 600; color: #7A5A17; }

/* Signed-in identity row */
.ilc-who { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #E7E1D3; border-radius: 12px; background: #fff; }
.ilc-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--il-night-3); color: var(--il-gold); font-family: var(--il-display); font-size: 19px; }
.ilc-who__t { min-width: 0; flex: 1; font-size: 15px; line-height: 1.35; }
.ilc-who__t span { display: block; color: var(--il-ink-dim); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ilc-who a { font-size: 14px; color: var(--il-ink-dim); }

/* Payment methods */
.ilc-pay { border: 1px solid #D5CEBE; border-radius: var(--radius); overflow: hidden; background: #fff; }
.ilc-pm { border-top: 1px solid #E7E1D3; }
.ilc-pm:first-child { border-top: 0; }
.ilc-pm__row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 18px; cursor: pointer; font-weight: 600; font-size: 15.5px; }
.ilc-pm__row input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--il-ink); }
.ilc-pm__row .brands { margin-left: auto; display: flex; gap: 5px; }
.ilc-pm__row .brands i { display: block; width: 34px; height: 22px; border-radius: 4px; border: 1px solid #E2DDD0; background: #fff center/70% no-repeat; font-style: normal; font-size: 9px; font-weight: 800; line-height: 20px; text-align: center; color: #1A1F71; }
.ilc-pm__row .brands i.mc { color: #EB001B; }
.ilc-pm__row .brands i.ax { color: #2E77BB; }
.ilc-pm__body { padding: 2px 18px 20px 52px; }
.ilc-pm:not(.is-open) .ilc-pm__body { display: none; }
.ilc-pm.is-open { background: #FDFCF9; }

.ilc-err { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #FBEDE9; border: 1px solid #F0CFC6; color: #7A2A1F; font-size: 14.5px; line-height: 1.45; }
.ilc-err svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }

/* Commit */
.ilc-commit { margin-top: 28px; }
.ilc-cta { position: relative; width: 100%; min-height: 60px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--il-ink); color: var(--il-paper); font: 700 17px/1.2 var(--il-sans); letter-spacing: .1px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .15s ease, transform .12s ease; }
.ilc-cta:hover { background: #2A2A33; }
.ilc-cta:active { transform: scale(.992); }
.ilc-cta svg { width: 16px; height: 16px; }
.ilc-cta.is-busy { pointer-events: none; color: transparent; }
.ilc-cta.is-busy::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(243,240,232,.35); border-top-color: var(--il-gold); animation: ilc-spin .7s linear infinite; }
@keyframes ilc-spin { to { transform: rotate(360deg); } }
.ilc-fine { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--il-ink-dim); text-align: center; text-wrap: pretty; }
.ilc-fine a { color: var(--il-ink-dim); }
.ilc-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #E7E1D3; font-size: 13.5px; color: #4B4F5B; }
.ilc-assure span { display: inline-flex; align-items: center; gap: 7px; }
.ilc-assure svg { width: 15px; height: 15px; color: var(--il-ok); }

/* ---------- Summary (on night) ---------- */
.ilc-sum { position: sticky; top: 24px; padding-top: 6px; }
.ilc-sum__toggle { display: none; }
.ilc-prod { display: flex; gap: 18px; align-items: center; }
.ilc-prod__art { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--il-night-3); position: relative; }
.ilc-prod__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ilc-prod__art canvas { width: 100%; height: 100%; display: block; }
.ilc-prod__name { font-family: var(--il-display); font-size: 25px; line-height: 1.15; color: var(--il-ivory); }
.ilc-prod__meta { margin-top: 4px; font-size: 14.5px; color: var(--il-mist); }

/* Plan switcher (annual / monthly) — so nobody has to go back to /membership */
.ilc-plans { margin-top: 22px; display: grid; gap: 10px; }
.ilc-plan { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 14px; align-items: center; padding: 15px 16px; border-radius: 14px; border: 1px solid rgba(237,232,220,.16); background: rgba(255,255,255,.02); cursor: pointer; transition: border-color .15s, background .15s; }
.ilc-plan:hover { border-color: rgba(237,232,220,.32); }
.ilc-plan input { position: absolute; opacity: 0; pointer-events: none; }
.ilc-plan__dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(237,232,220,.45); display: grid; place-items: center; }
.ilc-plan__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--il-gold); transform: scale(0); transition: transform .15s ease; }
.ilc-plan:has(input:checked) { border-color: var(--il-gold); background: rgba(242,196,107,.07); }
.ilc-plan:has(input:checked) .ilc-plan__dot { border-color: var(--il-gold); }
.ilc-plan:has(input:checked) .ilc-plan__dot::after { transform: scale(1); }
.ilc-plan:has(input:focus-visible) { outline: 2px solid var(--il-gold); outline-offset: 3px; }
.ilc-plan__t { font-weight: 700; font-size: 15.5px; color: var(--il-ivory); }
.ilc-plan__p { text-align: right; font-weight: 700; font-size: 15.5px; color: var(--il-ivory); white-space: nowrap; }
.ilc-plan__s { grid-column: 2 / 4; font-size: 13.5px; color: var(--il-mist); }
.ilc-plan__badge { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--il-gold); color: #17130A; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }

/* Lines + total */
.ilc-lines { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(237,232,220,.14); display: grid; gap: 10px; font-size: 15px; }
.ilc-line { display: flex; justify-content: space-between; gap: 16px; color: var(--il-ivory-dim); }
.ilc-line s { color: var(--il-mist); margin-right: 6px; }
.ilc-line__p s { margin-right: 0; font-size: 13px; }
.ilc-line__p { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ilc .ilc-line__x { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: -4px 0; padding: 0; border: 0; border-radius: 50%; background: rgba(237,232,220,.07); color: var(--il-ivory-dim); cursor: pointer; transition: background .15s, color .15s; }
.ilc .ilc-line__x svg { width: 14px; height: 14px; }
.ilc .ilc-line__x:hover, .ilc .ilc-line__x:focus-visible { background: rgba(237,232,220,.18); color: var(--il-ivory); outline: none; }
.ilc .ilc-line__x:focus-visible { box-shadow: 0 0 0 2px var(--il-gold); }
.ilc-line.is-going { opacity: .35; text-decoration: line-through; }
.ilc-review.is-busy .ilc-line__x { pointer-events: none; }
.ilc-line--disc { color: #9FD8B5; }
.ilc-line--total { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(237,232,220,.14); align-items: baseline; color: var(--il-ivory); }
.ilc-line--total .l { font-weight: 600; font-size: 16px; }
.ilc-line--total .v { font-family: var(--il-display); font-size: 34px; line-height: 1; letter-spacing: -.5px; }
.ilc-then { font-size: 14px; color: var(--il-mist); text-align: right; margin-top: -4px; }

.ilc-coupon { margin-top: 14px; font-size: 14px; }
.ilc-coupon > button { padding: 0; border: 0; background: none; color: var(--il-mist); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.ilc-coupon > button:hover { color: var(--il-gold); }
.ilc-coupon__row { display: flex; gap: 8px; margin-top: 8px; }
.ilc-coupon__row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(237,232,220,.22); background: rgba(255,255,255,.04); color: var(--il-ivory); font: 15px var(--il-sans); }
.ilc-coupon__row input:focus { outline: none; border-color: var(--il-gold); }
.ilc-coupon__row button { height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid rgba(237,232,220,.3); background: transparent; color: var(--il-ivory); font-weight: 600; cursor: pointer; }
.ilc-coupon__row button:hover { border-color: var(--il-gold); }

/* Member nudge (courses, signed out / non-member) */
.ilc-nudge { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: rgba(242,196,107,.08); border: 1px solid rgba(242,196,107,.25); font-size: 14.5px; line-height: 1.5; color: var(--il-ivory-dim); }
.ilc-nudge strong { color: var(--il-ivory); }
.ilc-nudge a { color: var(--il-gold); font-weight: 600; }

/* What you get */
.ilc-gets { margin-top: 30px; }
.ilc-gets__h { font-family: var(--il-display); font-size: 21px; color: var(--il-ivory); margin-bottom: 14px; }
.ilc-gets li { position: relative; padding-left: 22px; margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--il-ivory-dim); }
.ilc-gets li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--il-gold); }

.ilc-quote { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(237,232,220,.14); }
.ilc-quote p { font-family: var(--il-display); font-style: italic; font-weight: 300; font-size: 19px; line-height: 1.45; color: var(--il-ivory); text-wrap: pretty; }
.ilc-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--il-mist); }

/* Switch: what changes */
.ilc-change { margin-top: 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.ilc-change__box { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(237,232,220,.16); }
.ilc-change__box.is-new { border-color: var(--il-gold); background: rgba(242,196,107,.07); }
.ilc-change__k { font-size: 13px; color: var(--il-mist); }
.ilc-change__v { margin-top: 3px; font-weight: 700; color: var(--il-ivory); }
.ilc-change__p { font-size: 14px; color: var(--il-ivory-dim); }
.ilc-change__arrow { align-self: center; color: var(--il-gold); }

/* ---------- Thank-you ---------- */
.ilt-hero { text-align: center; padding: 40px 24px 8px; max-width: 760px; margin: 0 auto; }
.ilt-mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,196,107,.12); border: 1px solid rgba(242,196,107,.5); color: var(--il-gold); }
.ilt-mark svg { width: 28px; height: 28px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: ilt-draw .6s .25s ease-out forwards; }
@keyframes ilt-draw { to { stroke-dashoffset: 0; } }
.ilt-h { font-weight: 300; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.8px; color: var(--il-ivory); }
.ilt-h em { font-weight: 400; color: var(--il-gold); }
.ilt-sub { margin: 18px auto 0; max-width: 580px; font-size: 18px; line-height: 1.6; color: var(--il-ivory-dim); text-wrap: pretty; }
.ilt-sub--small { margin-top: 16px; font-size: 14.5px; }
.ilt-cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ilc .ilt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.ilc .ilt-btn--gold { background: var(--il-gold); color: #17130A; }
.ilc .ilt-btn--gold:hover { background: #F6D58F; }
.ilc .ilt-btn--outline { color: var(--il-ivory); border-color: rgba(237,232,220,.35); font-weight: 600; }
.ilc .ilt-btn--outline:hover { border-color: var(--il-gold); }

.ilt-wrap { max-width: 1060px; margin: 0 auto; padding: 56px 40px 96px; }
.ilt-sec-h { font-size: 28px; color: var(--il-ivory); margin-bottom: 18px; }
.ilt-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ilt-door { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: 18px; background: var(--il-night-2); border: 1px solid rgba(237,232,220,.1); text-decoration: none; transition: border-color .15s, transform .15s; }
.ilt-door:hover { border-color: rgba(242,196,107,.55); transform: translateY(-2px); }
.ilt-door__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--il-gold)); box-shadow: 0 0 18px var(--c, var(--il-gold)); margin-bottom: 8px; }
.ilt-door h3 { font-size: 22px; line-height: 1.2; color: var(--il-ivory); }
.ilt-door p { font-size: 14.5px; line-height: 1.5; color: var(--il-mist); }
.ilt-door span.go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--il-gold); }

.ilt-two { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ilt-two--one { grid-template-columns: minmax(0, 560px); justify-content: center; }
.ilt-panel { padding: 26px 26px 24px; border-radius: 18px; background: var(--il-paper-2); color: var(--il-ink); }
.ilt-panel h2 { font-size: 24px; line-height: 1.2; }
.ilt-panel p.s { margin-top: 6px; font-size: 14.5px; color: var(--il-ink-dim); }
.ilt-receipt { margin-top: 16px; display: grid; gap: 9px; font-size: 15px; }
.ilt-receipt div { display: flex; justify-content: space-between; gap: 16px; }
.ilt-receipt dt { color: var(--il-ink-dim); }
.ilt-receipt dd { font-weight: 600; text-align: right; }
.ilt-receipt .tot { margin-top: 4px; padding-top: 12px; border-top: 1px solid #E7E1D3; }
.ilt-receipt .tot dd { font-family: var(--il-display); font-size: 24px; font-weight: 400; }
.ilt-panel .links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
.ilt-panel .links a { font-weight: 600; }

.ilt-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ilt-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5CEBE; background: #fff; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.ilt-chip:hover { border-color: var(--il-ink); }
.ilt-chip[aria-pressed="true"] { background: var(--il-ink); border-color: var(--il-ink); color: var(--il-paper); }
.ilt-more { margin-top: 12px; }
.ilt-more textarea { width: 100%; min-height: 84px; padding: 12px 14px; border-radius: 12px; border: 1px solid #D5CEBE; font: 15px/1.5 var(--il-sans); resize: vertical; }
.ilt-more textarea:focus { outline: none; border-color: var(--il-ink); box-shadow: 0 0 0 3px rgba(242,196,107,.45); }
.ilt-more button { margin-top: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--il-ink); color: var(--il-paper); font-weight: 700; cursor: pointer; }
.ilt-thanks { margin-top: 14px; font-size: 15px; color: var(--il-ok); font-weight: 600; }

.ilt-course { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; padding: 20px; border-radius: 20px; background: var(--il-night-2); border: 1px solid rgba(237,232,220,.1); }
.ilt-course img { width: 100%; aspect-ratio: 40/21; object-fit: cover; border-radius: 12px; display: block; }
.ilt-course h3 { font-size: 26px; color: var(--il-ivory); }
.ilt-course p { margin-top: 6px; color: var(--il-mist); font-size: 15px; }
.ilt-course .ilt-btn { margin-top: 16px; }

.ilc-foot { max-width: 1180px; margin: 0 auto; padding: 0 40px 40px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: #6E7286; }
.ilc-foot a { color: #8D91A5; text-decoration: none; }
.ilc-foot a:hover { color: var(--il-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ilc-main { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 680px; padding-top: 8px; }
  .ilc-sum { position: static; order: -1; margin-bottom: 18px; padding: 0; }
  .ilc-sum__toggle { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border-radius: 16px; border: 1px solid rgba(237,232,220,.16); background: rgba(255,255,255,.03); cursor: pointer; text-align: left; }
  .ilc-sum__toggle .t { flex: 1; min-width: 0; font-size: 15px; }
  .ilc-sum__toggle .t b { display: block; font-weight: 700; color: var(--il-ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ilc-sum__toggle .t span { color: var(--il-mist); font-size: 13.5px; }
  .ilc-sum__toggle .p { font-family: var(--il-display); font-size: 24px; color: var(--il-ivory); }
  .ilc-sum__toggle svg { flex: none; width: 18px; height: 18px; color: var(--il-mist); transition: transform .2s; }
  .ilc-sum.is-open .ilc-sum__toggle svg { transform: rotate(180deg); }
  .ilc-sum__body { padding: 22px 4px 8px; }
  .ilc-sum:not(.is-open) .ilc-sum__body { display: none; }
  .ilc-sum:not(.is-open) .ilc-sum__body.keep-some { display: block; padding-top: 0; }
  .ilc-sum:not(.is-open) .keep-some > :not(.ilc-keep) { display: none; }
  .ilc-sum:not(.is-open) .keep-some > .ilc-keep { margin-top: 12px; }
  .ilc-sum .ilc-quote, .ilc-sum .ilc-gets { display: none; }
  .ilc-sum.is-open .ilc-gets { display: block; }
  .ilt-doors { grid-template-columns: minmax(0, 1fr); }
  .ilt-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ilc-top { padding: 8px 16px; }
  .ilc-brand img { height: 17px; }
  .ilc-top__right { gap: 12px; }
  .ilc-main { padding: 4px 12px 64px; }
  .ilc-card { padding: 26px 18px 22px; border-radius: 18px; }
  .ilc-grid { gap: 12px 10px; }
  .ilc-pm__body { padding: 2px 14px 18px; }
  .ilc-pm__row { padding: 0 14px; }
  .ilc-change { grid-template-columns: minmax(0, 1fr); }
  .ilc-change__arrow { justify-self: center; transform: rotate(90deg); }
  .ilt-wrap { padding: 40px 16px 72px; }
  .ilt-course { grid-template-columns: minmax(0, 1fr); }
  .ilc-foot { padding: 0 16px 32px; }
  .ilc-secure span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ilc *, .ilc *::before, .ilc *::after { animation: none !important; transition: none !important; }
  .ilt-mark svg { stroke-dashoffset: 0; }
}

/* =====================================================================
   WooCommerce markup → the design
   ===================================================================== */
.ilc-wc .woocommerce { margin: 0; }
.ilc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ilc .ilc-sec--who { margin-top: 24px; padding-top: 0; border-top: 0; }

/* Fields (woocommerce_form_field: p.form-row > label + span.woocommerce-input-wrapper > input) */
.ilc .ilc-grid > .form-row { margin: 0; padding: 0; width: auto; float: none; display: flex; flex-direction: column; gap: 6px; }
.ilc .ilc-grid > .full, .ilc .ilc-grid > #billing_email_field { grid-column: 1 / -1; }
.ilc .form-row label { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #34363F; }
.ilc .form-row .optional { font-weight: 400; color: #8B8E97; }
.ilc .woocommerce-input-wrapper { display: block; }
.ilc .form-row input.input-text, .ilc .form-row select, .ilc .form-row textarea { width: 100%; height: var(--field-h); padding: 0 16px; border: 1px solid #D5CEBE; border-radius: 12px; background: #fff; color: var(--il-ink); font: 400 16px/1 var(--il-sans); box-shadow: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.ilc .form-row input.input-text:hover { border-color: #BDB4A0; }
.ilc .form-row input.input-text:focus { outline: none; border-color: var(--il-ink); box-shadow: 0 0 0 3px rgba(242,196,107,.45); }
.ilc .form-row.woocommerce-invalid input.input-text { border-color: #C98576; }
.ilc .form-row.woocommerce-validated input.input-text { border-color: #D5CEBE; }
.ilc .form-row .checkout-inline-error-message, .ilc .form-row .woocommerce-error-message { margin-top: 2px; font-size: 13.5px; color: var(--il-err); }
.ilc .form-row .ilc-hint { display: block; margin-top: 2px; }
.ilc .ilc-known-slot { display: block; }

/* Express pay (Stripe Express Checkout Element, PayPal) */
.ilc-xwrap { margin-top: 26px; }
.ilc-xwrap:empty, .ilc-xwrap:not(:has(*:not(script):not(style))) { display: none; }
.ilc #wc-stripe-express-checkout-element, .ilc #wc-stripe-payment-request-wrapper { margin: 0 !important; padding: 0 !important; }
.ilc #wc-stripe-express-checkout-button-separator, .ilc #wc-stripe-payment-request-button-separator { justify-content: center; margin: 20px 0 0 !important; padding: 0 !important; font-size: 0 !important; line-height: 0; text-align: center !important; background: linear-gradient(#E7E1D3, #E7E1D3) center / 100% 1px no-repeat; }
.ilc #wc-stripe-express-checkout-button-separator:not([style*="none"]), .ilc #wc-stripe-payment-request-button-separator:not([style*="none"]) { display: flex; }
.ilc #wc-stripe-express-checkout-button-separator::before, .ilc #wc-stripe-payment-request-button-separator::before { content: "or pay with card"; padding: 0 12px; background: var(--il-paper-2); font-size: 13px; line-height: 20px; color: #8B8E97; }
.ilc #wc-stripe-express-checkout-button-separator > *, .ilc #wc-stripe-payment-request-button-separator > * { display: none; }
.ilc .ilc-xwrap + .ilc-sec { border-top: 0; margin-top: 22px; padding-top: 0; }
.ilc .ppc-button-wrapper, .ilc #ppc-button-ppcp-gateway { margin-top: 12px; }

/* Payment methods: WooCommerce's list as the accordion */
.ilc .wc_payment_methods { margin: 0; padding: 0; list-style: none; border: 1px solid #D5CEBE; border-radius: var(--radius); overflow: hidden; background: #fff; }
.ilc .wc_payment_method { margin: 0; padding: 0; border-top: 1px solid #E7E1D3; list-style: none; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.ilc .wc_payment_method:first-child { border-top: 0; }
.ilc .wc_payment_method > input.input-radio { margin: 0 0 0 18px; width: 20px; height: 20px; accent-color: var(--il-ink); cursor: pointer; }
.ilc .wc_payment_method > label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 58px; padding: 10px 18px 10px 0; margin: 0; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--il-ink); }
.ilc .wc_payment_method > label img { max-height: 22px; width: auto; margin: 0 !important; float: none !important; }
.ilc .wc_payment_method > label .ilc-brands, .ilc .wc_payment_method > label img:first-of-type { margin-left: auto !important; }
.ilc .wc_payment_methods > li:only-child > input.input-radio { position: absolute; opacity: 0; pointer-events: none; }
.ilc .wc_payment_methods > li:only-child > label { padding-left: 18px; grid-column: 1 / -1; }
.ilc .payment_box { grid-column: 1 / -1; margin: 0 !important; padding: 4px 18px 20px !important; background: transparent !important; color: var(--il-ink-dim); font-size: 14.5px; line-height: 1.5; border-radius: 0 !important; }
.ilc .payment_box::before { display: none !important; }
.ilc .payment_box p { margin: 0 0 10px; }
.ilc .payment_box p:last-child { margin-bottom: 0; }
.ilc .wc_payment_method:has(> input:checked) { background: #FDFCF9; }
.ilc .payment_box fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ilc .wc-stripe-upe-element, .ilc .wc-upe-form { margin: 0; padding: 0; }
.ilc .woocommerce-SavedPaymentMethods { margin: 0 0 14px !important; padding: 0 !important; list-style: none; display: grid; gap: 8px; }
.ilc .woocommerce-SavedPaymentMethods li { margin: 0 !important; padding: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--il-ink); }
.ilc .woocommerce-SavedPaymentMethods li input { margin: 0 !important; width: 18px; height: 18px; accent-color: var(--il-ink); }
.ilc .woocommerce-SavedPaymentMethods-saveNew { margin-top: 14px !important; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ilc .woocommerce-SavedPaymentMethods-saveNew input { margin: 0 !important; width: 18px; height: 18px; accent-color: var(--il-ink); }
.ilc .woocommerce-SavedPaymentMethods-saveNew label { margin: 0; font-weight: 400; color: var(--il-ink-dim); }
.ilc .ilc-pay__none { padding: 18px; color: var(--il-ink-dim); }

/* The button */
.ilc .place-order { margin: 24px 0 0; padding: 0; }
.ilc #place_order { position: relative; width: 100%; min-height: 60px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--il-ink); color: var(--il-paper); font: 700 17px/1.2 var(--il-sans); letter-spacing: .1px; text-transform: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; float: none; box-shadow: none; transition: background .15s ease, transform .12s ease; }
.ilc #place_order::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5'/%3E%3Cpath d='M5 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5'/%3E%3Cpath d='M5 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center/contain no-repeat; }
.ilc #place_order:hover { background: #2A2A33; }
.ilc #place_order:active { transform: scale(.992); }
.ilc #place_order:disabled { opacity: .55; cursor: not-allowed; }
.ilc form.processing #place_order { pointer-events: none; color: transparent; }
.ilc form.processing #place_order::before { display: none; }
.ilc form.processing #place_order::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(243,240,232,.35); border-top-color: var(--il-gold); animation: ilc-spin .7s linear infinite; }
/* While paying: a spinner and a line that changes (checkout.js). The button's own text stays hidden underneath. */
.ilc form.processing #place_order.is-saying::after { display: none; }
.ilc #place_order .ilc-cta__say { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; color: var(--il-paper); font: 600 16px/1.2 var(--il-sans); text-transform: none; letter-spacing: 0; pointer-events: none; }
.ilc #place_order .ilc-cta__say * { text-transform: none; letter-spacing: 0; }
.ilc #place_order .ilc-cta__spin { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(243,240,232,.3); border-top-color: var(--il-gold); animation: ilc-spin .7s linear infinite; }
.ilc #place_order .ilc-cta__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .2s ease, transform .2s ease; }
.ilc #place_order .ilc-cta__msg.is-out { opacity: 0; transform: translateY(-5px); }
.ilc .ilc-consent { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid #E7E1D3; background: #FDFCF9; font-size: 14px; line-height: 1.5; color: #34363F; cursor: pointer; }
.ilc .ilc-consent input { flex: none; margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--il-ink); cursor: pointer; }
.ilc .ilc-consent.is-missing { border-color: #C98576; background: #FBEDE9; }
.ilc .ilc-consent__need { display: none; margin-top: 4px; font-style: normal; font-weight: 700; color: var(--il-err); }
.ilc .ilc-consent.is-missing .ilc-consent__need { display: block; }

/* Notices: errors from checkout (WooCommerce prepends them to the form; checkout.js moves them above Payment) */
.ilc .woocommerce-NoticeGroup { margin: 0 0 16px; }
.ilc .woocommerce-error, .ilc .woocommerce-info, .ilc .woocommerce-message, .ilc .wc-block-components-notice-banner { margin: 0 0 14px !important; padding: 12px 14px 12px 42px !important; list-style: none; position: relative; border-radius: 12px; border: 1px solid #F0CFC6; background: #FBEDE9; color: #7A2A1F; font-size: 14.5px; line-height: 1.45; box-shadow: none; }
.ilc .woocommerce-error::before, .ilc .wc-block-components-notice-banner.is-error::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='10' cy='10' r='8'/%3E%3Cpath d='M10 6v5M10 14v.01'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='10' cy='10' r='8'/%3E%3Cpath d='M10 6v5M10 14v.01'/%3E%3C/svg%3E") center/contain no-repeat; }
.ilc .woocommerce-error li { margin: 0; padding: 0; }
.ilc .woocommerce-error li + li { margin-top: 4px; }
.ilc .woocommerce-info, .ilc .woocommerce-message, .ilc .wc-block-components-notice-banner.is-info, .ilc .wc-block-components-notice-banner.is-success { border-color: #EADFC2; background: #F4EEDD; color: #3A3426; padding-left: 16px !important; }
.ilc .wc-block-components-notice-banner > svg { display: none; }
.ilc .woocommerce-error a, .ilc .woocommerce-info a, .ilc .woocommerce-message a { color: inherit; font-weight: 700; }
.ilc .woocommerce-message .button, .ilc .woocommerce-info .button { float: none; display: none; }
.ilc-main > .woocommerce-NoticeGroup, .ilc-wc > .woocommerce > .woocommerce-notices-wrapper:not(:empty) { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* WooCommerce's busy overlay: no white flash on the night summary */
.ilc .blockUI.blockOverlay { background: transparent !important; opacity: 1 !important; }
.ilc .processing.woocommerce-checkout-review-order-table, .ilc .processing.woocommerce-checkout-payment { opacity: .55; transition: opacity .15s; }

/* Summary extras */
.ilc .ilc-review { display: block; }
.ilc .ilc-prod__art svg { width: 100%; height: 100%; display: block; }
.ilc .ilc-prod__art--sm { width: 44px; height: 44px; border-radius: 10px; }
.ilc .ilc-plans.is-busy { opacity: .6; pointer-events: none; }
.ilc .ilc-x { margin-left: 6px; font-size: 13px; color: var(--il-mist); }
.ilc .ilc-x:hover { color: var(--il-gold); }
.ilc .ilc-coupon__msg { margin-top: 8px; font-size: 13.5px; color: var(--il-mist); }
.ilc .ilc-coupon__msg:empty { display: none; }
.ilc .ilc-coupon__msg.is-err { color: #F2A595; }
.ilc .ilc-quote figcaption { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--il-mist); }

/* Empty cart */
.ilc-empty { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; text-align: center; }
.ilc-empty .woocommerce-info, .ilc-empty .woocommerce-message { display: none; }

/* Order received / order pay */
.ilt-mark--err { background: rgba(242,165,149,.1); border-color: rgba(242,165,149,.5); color: #F2A595; }
.ilt-mark--err svg { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.ilt-course--noimg { grid-template-columns: minmax(0, 1fr); }
.ilt-hooks { margin-top: 32px; font-size: 13.5px; color: var(--il-mist); }
.ilt-hooks:not(:has(*:not(script):not(style):not(noscript))) { display: none; }
.ilt-hooks p { margin: 0 0 8px; }
.ilt-hooks a { color: var(--il-ivory-dim); }
.ilc .ilt-panel .links a { color: var(--il-ink); }
.ilc-page-pay .ilc-wc > .woocommerce { max-width: 680px; margin: 24px auto 96px; padding: 36px 40px; border-radius: 22px; background: var(--il-paper-2); color: var(--il-ink); }
.ilc-page-pay .shop_table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.ilc-page-pay .shop_table th, .ilc-page-pay .shop_table td { padding: 10px 0; border-bottom: 1px solid #E7E1D3; text-align: left; }
.ilc-page-pay .shop_table td:last-child, .ilc-page-pay .shop_table th:last-child { text-align: right; }

@media (max-width: 980px) {
  .ilc-main > .woocommerce-NoticeGroup, .ilc-wc > .woocommerce > .woocommerce-notices-wrapper:not(:empty) { padding: 0 16px; }
}
@media (max-width: 600px) {
  .ilc .wc_payment_method > input.input-radio { margin-left: 14px; }
  .ilc .wc_payment_method > label { padding-right: 14px; }
  .ilc .payment_box { padding: 4px 14px 18px !important; }
  .ilc-page-pay .ilc-wc > .woocommerce { margin: 8px 12px 64px; padding: 24px 18px; }
}

/* Leftovers other plugins print into the checkout: X's submit spinner (it styles itself with X's CSS, gone here). */
.ilc .x-spinner, .ilc .x-wc-loader { display: none !important; }
.ilc #ilc-pay-sec > .cf-turnstile, .ilc #ilc-pay-sec > div[id^="cf-turnstile"] { margin: 0 0 14px; }
.ilc #ilc-pay-sec > br { display: none; }

/* Plan switch: a code that only fits the other plan */
.ilc-plan-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #F4EEDD; border: 1px solid #EADFC2; font-size: 14px; line-height: 1.45; color: #5E4A1C; }

/* Thank-you link opened by someone not signed in as the buyer (templates/received-locked.php) */
.ilt-hero[data-ilc-locked] { padding-bottom: 72px; }
.ilc-plan__p s { font-weight: 400; color: var(--il-ivory-dim); margin-right: 3px; }

/* Short pages (empty cart, thank-you signed out…): the footer sits at the bottom of the screen. */
.ilc { display: flex; flex-direction: column; min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
.ilc > * { width: 100%; }
.ilc > .ilc-foot { margin-top: auto; }
/* Notices on the empty cart: above the heading, with room around them, no focus ring from WooCommerce's scroll-to. */
.ilc-empty__notes { max-width: 560px; margin: 0 auto 40px; text-align: left; }
.ilc-empty__notes .woocommerce-error, .ilc-empty__notes .woocommerce-message, .ilc-empty__notes .woocommerce-info { display: block !important; margin: 0 !important; }
.ilc .woocommerce-error:focus, .ilc .woocommerce-message:focus, .ilc .woocommerce-info:focus, .ilc .woocommerce-NoticeGroup:focus { outline: none; }
