/* Native Whop checkout (/pagar), skill whop-native-checkout, ported from Bulgaru. Antonio Valdés tokens (index :root).
   One calm column, big touch targets, readable for older buyers. Per persona change ONLY the tokens below. */
body.ckpage {
  --ck-bg: #f4ebdc;      /* page background = index --cream */
  --ck-text: #1c1411;    /* --ink */
  --ck-accent: #8f1a20;  /* --crimson: focus ring, links */
  --ck-muted: #55483f;   /* --ink-2 */
  --ck-line: #e2d5c0;
  --ck-sans: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ck-serif: 'DM Serif Display', Georgia, serif;
  --ck-soft: #f7f1e6;    /* --paper, box behind the Whop seller notice */
  --ck-pay-top: #e2483c; --ck-pay-bottom: #c4302d; --ck-pay-edge: #6e1513; --ck-pay-text: #fff7ec;  /* = index .btn */
}
body.ckpage, body.ckpage * { box-sizing: border-box; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.ckpage { background: var(--ck-bg); color: var(--ck-text); font: 400 18px/1.5 var(--ck-sans); margin: 0; }
.ck-inapp { background: #fff3d6; color: #4a3410; text-align: center; font-size: 16px; padding: 10px 16px; border-bottom: 1px solid #ecd9a8; }
.ck-top { display: flex; align-items: center; justify-content: space-between; max-width: 520px; margin: 0 auto; padding: 16px 18px 6px; }
.ck-brand { font: 400 22px/1 var(--ck-serif); color: var(--ck-accent); text-decoration: none; }
.ck-back { font-size: 16px; color: var(--ck-muted); text-decoration: none; }
.ck-main { max-width: 520px; margin: 0 auto; padding: 8px 16px 28px; }

/* Product line */
.ck-product { display: flex; gap: 16px; align-items: center; padding: 12px 4px 18px; }
.ck-product img { width: 78px; height: auto; border-radius: 4px; box-shadow: 0 8px 18px rgba(28,20,17,.20); flex: none; }
.ck-product h1 { font-size: 30px; margin: 0 0 4px; color: var(--ck-accent); }
.ck-meta { margin: 0 0 6px; font-size: 16px; color: var(--ck-muted); }
.ck-price { margin: 0; font-size: 18px; }
.ck-price b { font-size: 26px; color: var(--ck-text); }
.ck-price s { color: #8a8478; margin-left: 6px; }

/* Card */
.ck-card { background: #fff; border: 1px solid var(--ck-line); border-radius: 18px; padding: 20px 18px 16px; box-shadow: 0 10px 30px rgba(28,20,17,.08); }
.ck-label-sm { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ck-muted); text-align: center; }

/* Wallet buttons: logo + "Pay"; one full-width on phones, two side by side on computers */
.ck-wallets { display: flex; gap: 10px; }
.ck-wallet[hidden] { display: none; }
.ck-wallet { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; border-radius: 12px; font: 600 23px/1 -apple-system, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -.01em; cursor: pointer; transition: transform .08s ease, filter .15s ease; }
.ck-wallet:active { transform: scale(.98); }
.ck-wallet svg { width: 24px; height: 24px; flex: none; }
.ck-apple { background: #000; color: #fff; border: 1px solid #000; }
.ck-apple svg { margin-top: -3px; }
.ck-google { background: #fff; color: #3c4043; border: 1.5px solid #c9ccd1; }
.ck-google svg { width: 22px; height: 22px; }
.ck-wallet:hover { filter: brightness(1.08); }
.ck-google:hover { filter: none; background: #f7f8f9; }
.ck-wallet-note { margin: 12px 0 0; padding: 12px 14px; background: #f4f1ea; border-radius: 10px; font-size: 16px; line-height: 1.45; color: var(--ck-text); }

.ck-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 6px; color: var(--ck-muted); font-size: 15px; }
.ck-or::before, .ck-or::after { content: ""; flex: 1; height: 1px; background: var(--ck-line); }

/* Fields */
.ck-label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: 17px; color: var(--ck-text); }
.ck-input, .ck-field { box-sizing: border-box; width: 100%; min-height: 56px; padding: 0 14px; background: #fff; border: 1.5px solid #cfc8b8; border-radius: 12px; font: 500 19px/1.2 var(--ck-sans); color: var(--ck-text); }
.ck-input { appearance: none; -webkit-appearance: none; }
.ck-input::placeholder { color: #9a958a; font-weight: 400; }
.ck-input:focus { outline: none; border-color: var(--ck-accent); box-shadow: 0 0 0 3px rgba(33,72,62,.15); }
select.ck-input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2321483E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center / 14px; padding-right: 40px; }
.ck-field { display: flex; align-items: center; padding: 0 12px; }
.ck-field > * { width: 100%; }
.ck-hint { margin: 6px 2px 0; font-size: 15px; line-height: 1.4; color: var(--ck-muted); }
.ck-fix { margin: 8px 0 0; padding: 10px 12px; background: #fff3d6; border-radius: 10px; font-size: 16px; }
.ck-fix button { margin-left: 6px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--ck-accent); color: #fff; font: 700 15px var(--ck-sans); cursor: pointer; }

/* Card number on top, expiry + CVC below: Whop draws each field's own border */
.ck-cardbox { display: grid; gap: 10px; }
.ck-cardbox .ck-field { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; display: block; }


.ck-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-group { display: grid; gap: 10px; }

.ck-sms { margin: 20px 0 0; padding: 12px 14px; background: #eef4f1; border-radius: 10px; font-size: 16px; line-height: 1.45; }
.ck-error { margin: 14px 0 0; padding: 12px 14px; background: #fdecea; border: 1px solid #f2c2bb; border-radius: 10px; color: #8a2414; font-size: 17px; font-weight: 600; line-height: 1.4; }

/* Pay button: the site's orange 3D button */
.ck-pay { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; margin-top: 18px; padding: 14px 20px; background: linear-gradient(180deg, var(--ck-pay-top), var(--ck-pay-bottom)); color: var(--ck-pay-text); border: 0; border-radius: 14px; font: 800 22px/1.2 var(--ck-sans); cursor: pointer; box-shadow: 0 5px 0 var(--ck-pay-edge), 0 14px 26px rgba(20,30,30,.2); transition: transform .1s ease, box-shadow .1s ease; }
.ck-pay svg { width: 22px; height: 22px; }
.ck-pay:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--ck-pay-edge), 0 8px 16px rgba(20,30,30,.18); }
.ck-pay[disabled] { opacity: .65; cursor: wait; }
.ck-busy { margin: 12px 0 0; text-align: center; font-weight: 700; color: var(--ck-accent); }

.ck-trust { list-style: none; margin: 18px 0 4px; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.ck-trust li { position: relative; padding-left: 28px; }
.ck-trust li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #2f7d5b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ck-mor { margin: 16px 0 0; padding: 12px 14px; background: var(--ck-soft); border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--ck-text); text-align: center; }
.ck-branding { margin-top: 12px; min-height: 20px; display: flex; justify-content: center; opacity: .8; }

.ck-alt { margin: 18px 4px 0; font-size: 15px; color: var(--ck-muted); text-align: center; line-height: 1.5; }
.ck-alt a { color: var(--ck-accent); }
.ck-alt-big { padding: 14px; background: #fff3d6; border-radius: 12px; font-size: 18px; color: var(--ck-text); }
.ck-foot { max-width: 520px; margin: 0 auto; padding: 10px 16px 30px; text-align: center; font-size: 14px; color: var(--ck-muted); }
.ck-foot nav { display: flex; gap: 16px; justify-content: center; margin-bottom: 6px; }
.ck-foot a { color: var(--ck-muted); }

@media (max-width: 360px) {
  .ck-wallet { font-size: 20px; }
  .ck-product h1 { font-size: 26px; }
}
.ck-zip { grid-template-columns: 1.15fr 1fr; }

/* --- Antonio Valdés additions (not in the skill template) --- */
.ck-top { background: #120606; max-width: none; padding: 16px max(18px, calc(50% - 242px)); }
.ck-brand { font: 400 23px/1 var(--ck-serif); color: #f4ebdc; }
.ck-brand i { color: #e2c592; }
.ck-back { color: rgba(244,235,220,.78); }
.ck-main { padding-top: 18px; }
.ck-covers { flex: none; display: flex; }
.ck-covers img { width: 78px; height: auto; filter: drop-shadow(0 10px 14px rgba(30,4,6,.35)); box-shadow: none; border-radius: 0; }
.ck-covers.ck-two img { width: 66px; }
.ck-covers.ck-two img + img { margin-left: -24px; margin-top: 14px; }
.ck-product h1 { font: 400 26px/1.12 var(--ck-serif); color: var(--ck-text); text-wrap: balance; }
.ck-price s { color: #8c7e72; text-decoration-color: #8f1a20; text-decoration-thickness: 2px; }
.ck-input:focus { box-shadow: 0 0 0 3px rgba(143,26,32,.15); }
select.ck-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238f1a20' stroke-width='2'/%3E%3C/svg%3E"); }
.ck-sms { background: #f7efe6; }
.ck-foot a { text-decoration: none; }
/* Payments not open yet (no Whop business): the page renders fully, nothing can be submitted. */
.ck-closed { margin: 0 0 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--ck-line); border: 1px solid var(--ck-line); border-radius: 12px; font-size: 17px; line-height: 1.5; }
.ck-closed b { display: block; font: 400 21px/1.2 var(--ck-serif); color: var(--ck-accent); margin-bottom: 4px; }
.ck-closed a { color: var(--ck-accent); font-weight: 600; }
.ck-off .ck-cardbox .ck-field { display: flex; align-items: center; min-height: 56px; padding: 0 14px; border: 1.5px solid #cfc8b8; border-radius: 12px; background: #faf7f1; color: #9a958a; font-size: 18px; }
.ck-off .ck-cardbox .ck-field::before { content: attr(data-ph); }
.ck-off .ck-input, .ck-off .ck-wallet { background-color: #faf7f1; cursor: not-allowed; }
.ck-off .ck-wallet { opacity: .55; }
.ck-off .ck-pay { opacity: .5; cursor: not-allowed; filter: grayscale(.35); }
fieldset.ck-fs { border: 0; margin: 0; padding: 0; min-width: 0; }

[hidden]{display:none!important}
::selection{background:#e2c592;color:#1c1411}
.ckpage :focus-visible{outline:3px solid #8f1a20;outline-offset:3px}
.ckpage input{caret-color:#8f1a20}
.ck-card{border:0;border-radius:16px}
.ckpage h1{text-wrap:balance}
.ck-pay{background:#a92c25;color:#fff7ec}
.ck-pay:disabled{opacity:.65;cursor:wait}
.ck-wallet:disabled{opacity:.6;cursor:wait}
.ck-alt a[aria-disabled="true"]{pointer-events:none;opacity:.6}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
