/* Smart Fit inscribete — DM Sans + brand yellow design tokens */
@font-face {
  font-family: 'SmartFitMuscleDisplay';
  src: url('/fonts/SmartFitMuscleDisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/gstatic/s/dmsans/v17/rP2Hp2ywxg089UriCZ2IHSeH.woff2') format('woff2');
  font-weight: 400 700; font-display: swap;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --sf-yellow: #ffad12;
  --sf-yellow-deep: #e09a00;
  --sf-black: #1c1c1c;
  --sf-ink: #1a1a1a;
  --sf-muted: #6b7280;
  --sf-bg: #f4f4f5;
  --sf-card: #ffffff;
  --sf-line: #e5e7eb;
  --sf-blue: #0362a0;
  --sf-err: #d92d20;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--sf-bg); color: var(--sf-ink);
  min-height: 100vh; display: flex; flex-direction: column;
}
.sf-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--sf-line);
  position: sticky; top: 0; z-index: 20;
}
.sf-logo { text-decoration: none; }
.sf-logo-text {
  font-family: 'SmartFitMuscleDisplay', 'DM Sans', sans-serif;
  font-size: 26px; color: var(--sf-black); letter-spacing: .5px;
}
.sf-logo-text b { color: var(--sf-yellow); font-weight: 700; }
.sf-back { color: var(--sf-blue); text-decoration: none; font-size: 14px; font-weight: 600; }
.sf-main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 18px 16px 40px; }
.sf-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.sf-step { font-size: 13px; color: var(--sf-muted); font-weight: 600; }
.sf-step.is-active { color: var(--sf-black); }
.sf-step-sep { flex: 1; height: 1px; background: var(--sf-line); }
.sf-summary { margin-bottom: 14px; }
.sf-summary-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--sf-black); color: #fff; border-radius: 14px; padding: 14px 16px;
}
.sf-summary-card .badge {
  background: var(--sf-yellow); color: var(--sf-black); font-size: 11px;
  font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.sf-summary-card h2 { font-size: 18px; margin-bottom: 2px; }
.sf-summary-card .price { font-size: 22px; font-weight: 800; }
.sf-summary-card .old { text-decoration: line-through; color: #9ca3af; font-size: 13px; margin-left: 6px; }
.sf-summary-card .per { color: #d1d5db; font-size: 13px; }
.sf-panel {
  background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 16px;
  padding: 22px 18px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sf-h1 { font-family: 'SmartFitMuscleDisplay', 'DM Sans', sans-serif; font-size: 24px; margin-bottom: 6px; }
.sf-sub { color: var(--sf-muted); font-size: 14px; margin-bottom: 18px; }
.sf-field { display: block; margin-bottom: 14px; }
.sf-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sf-field input {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1.5px solid var(--sf-line); border-radius: 10px; background: #fff;
  transition: border-color .15s;
}
.sf-field input:focus { outline: none; border-color: var(--sf-yellow); box-shadow: 0 0 0 3px rgba(255,173,18,.25); }
.sf-field input.is-invalid { border-color: var(--sf-err); }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sf-err { display: block; color: var(--sf-err); font-size: 12px; font-style: normal; min-height: 16px; margin-top: 4px; }
.sf-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #374151; margin: 6px 0 14px; }
.sf-terms input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--sf-yellow-deep); }
.sf-terms a { color: var(--sf-blue); }
.sf-cta {
  width: 100%; border: 0; cursor: pointer;
  background: var(--sf-yellow); color: var(--sf-black);
  font: inherit; font-size: 17px; font-weight: 800;
  padding: 14px 18px; border-radius: 999px;
  transition: background .15s, transform .05s;
  min-height: 52px;
}
.sf-cta:hover { background: var(--sf-yellow-deep); }
.sf-cta:active { transform: scale(.99); }
.sf-cta[disabled] { opacity: .55; cursor: default; }
.sf-mini { font-size: 12px; color: var(--sf-muted); text-align: center; margin-top: 12px; }
.sf-mini a { color: var(--sf-blue); }
.sf-mini--secure { color: #374151; font-weight: 600; }
.sf-link { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--sf-blue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sf-riepilogo {
  border: 1.5px dashed var(--sf-line); border-radius: 12px; padding: 12px 14px;
  margin-bottom: 16px; background: #fafafa; font-size: 14px;
}
.sf-riepilogo .r-row { display: flex; justify-content: space-between; padding: 3px 0; }
.sf-riepilogo .r-total { border-top: 1px solid var(--sf-line); margin-top: 6px; padding-top: 8px; font-weight: 800; font-size: 16px; }
.sf-riepilogo .r-promo { color: #067647; font-weight: 800; }
.sf-panel--bot { padding: 0; border: 0; background: transparent; box-shadow: none; }
#botpay-mount { min-height: 480px; }
.sf-foot { padding: 18px; text-align: center; font-size: 12px; color: var(--sf-muted); }
.sf-foot a { color: var(--sf-blue); text-decoration: none; }
/* 2026-09-10 (conversion): trust row at the highest-friction point —
   right above the card form, social proof that lowers card-entry
   anxiety (2.000+ gyms waiting for them + free first month reminder). */
.sf-trust {
  display: flex; gap: 10px; align-items: center;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 16px; font-size: 13px; color: #713f12;
}
.sf-trust .t-ico { flex: none; font-size: 18px; }
@media (max-width: 640px) {
  /* 2026-09-10 (conversion): sticky bottom CTA on mobile — the action is
     always one tap away while scrolling the form (proven pattern on
     mobile checkout). Desktop keeps the inline button. */
  .sf-cta {
    position: sticky; bottom: 12px; z-index: 30;
    box-shadow: 0 6px 18px rgba(28,28,28,.28);
  }
  .sf-panel { padding-bottom: 26px; }
}
@media (max-width: 420px) {
  .sf-row { grid-template-columns: 1fr; }
  .sf-h1 { font-size: 21px; }
}

/* ================= checkout (pixel copy of smartfit.com.co/carts) =========
   tokens measured on the original checkout: yellow #FFB612, dark #3B3B40,
   teal links #0362A0, DM Sans 900 H1s. */
.ck { background: #f4f4f5; }
.ck-wrap { max-width: 1080px; margin: 0 auto; padding: 22px 16px 90px;
  display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) {
  .ck-wrap { grid-template-columns: 1fr 340px; align-items: start; }
}
.ck-h1 { font-size: 24px; font-weight: 900; color: #1c1c1c; margin: 0 0 16px; }
.ck-h1--pay { margin-top: 26px; display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; }
.ck-secure { font-size: 13px; font-weight: 700; color: #059669; }
.ck-panel { border: 0; padding: 0; margin: 0; }
.ck-panel[hidden] { display: none; }

/* progress segments (mobile-first, like the original) */
.ck-progress { display: flex; gap: 6px; padding: 12px 16px 0;
  max-width: 1080px; margin: 0 auto; }
.ck-progress i { flex: 1; height: 5px; border-radius: 99px; background: #e5e7eb; }
.ck-progress i.on { background: #FFB612; }

/* plan tabs */
.ck-tabs { display: inline-flex; background: #e9e9ec; border-radius: 999px;
  padding: 4px; margin-bottom: 16px; }
.ck-tab { border: 0; background: none; padding: 9px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 14px; color: #4b5563; cursor: pointer; }
.ck-tab.is-on { background: #FFB612; color: #1c1c1c; }

/* plan cards */
#ck-plan-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { #ck-plan-cards { grid-template-columns: 1fr 1fr; } }
.ck-plan { position: relative; border-radius: 16px; padding: 18px;
  background: #fff; border: 2px solid #e5e7eb; cursor: pointer;
  transition: border-color .15s; }
.ck-plan:hover { border-color: #FFB612; }
.ck-plan--dark { background: #3B3B40; color: #fff; border-color: #3B3B40; }
.ck-plan--dark .ck-sub, .ck-plan--dark .ck-after, .ck-plan--dark .ck-fees { color: #d1d5db; }
.ck-plan.is-sel { border-color: #FFB612; box-shadow: 0 0 0 3px rgba(255,182,18,.25); }
.ck-badge { position: absolute; top: -11px; left: 16px; background: #FFB612;
  color: #1c1c1c; font-size: 12px; font-weight: 800; padding: 3px 12px;
  border-radius: 999px; }
.ck-plan h3 { font-size: 19px; font-weight: 900; margin: 4px 0 4px; }
.ck-sub { font-size: 13px; color: #6b7280; margin: 0 0 10px; min-height: 34px; }
.ck-from { font-size: 12px; color: #9ca3af; }
.ck-from s { margin-left: 4px; }
.ck-price { font-size: 30px; font-weight: 900; }
.ck-price small { font-size: 15px; }
.ck-off { color: #059669; font-weight: 800; font-size: 13px; margin-left: 8px; }
.ck-after { font-size: 12.5px; color: #6b7280; }
.ck-fid { font-size: 12.5px; font-weight: 700; margin-top: 8px; }
.ck-fees { font-size: 12px; color: #6b7280; margin-top: 6px; line-height: 1.5; }
.ck-sel-mark { display: inline-block; margin-top: 12px; color: #059669;
  font-weight: 800; font-size: 13px; }
.ck-pick-link { display: inline-block; margin-top: 12px; color: #0362A0;
  font-weight: 700; font-size: 13px; }

/* upsells */
.ck-upsell { margin-top: 24px; }
.ck-upsell h2 { font-size: 19px; font-weight: 900; margin: 0 0 12px; }
.ck-addon { display: flex; gap: 12px; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 14px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.ck-addon:hover { border-color: #FFB612; }
.ck-addon input { margin-top: 4px; width: 18px; height: 18px; accent-color: #FFB612; }
.ck-addon-body { flex: 1; font-size: 13px; color: #4b5563; }
.ck-addon-body b { color: #1c1c1c; font-size: 14px; }
.ck-addon-body em { font-style: normal; font-weight: 600; color: #6b7280; }
.ck-addon-price { display: block; font-weight: 800; color: #1c1c1c; margin: 2px 0; }
.ck-addon-price small { font-weight: 600; }
.ck-addon-hook { display: inline-block; color: #059669; font-weight: 800; margin: 2px 0 4px; }
.ck-addon-txt { display: block; line-height: 1.5; }

/* coupon */
.ck-cupon-link { background: none; border: 0; color: #0362A0; font: inherit;
  font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px 0; }
.ck-cupon { display: flex; gap: 8px; align-items: start; margin: 6px 0 4px; }
.ck-cupon input { flex: 1; padding: 12px 14px; border: 1px solid #d1d5db;
  border-radius: 10px; font: inherit; }
.ck-cupon button { padding: 12px 18px; border: 0; border-radius: 10px;
  background: #1c1c1c; color: #fff; font-weight: 700; cursor: pointer; }
.ck-cupon .sf-err { flex-basis: 100%; }

/* actions */
.ck-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.ck-cta { background: #FFB612; color: #1c1c1c; border: 0; border-radius: 999px;
  padding: 15px 22px; font: inherit; font-weight: 800; font-size: 16px;
  cursor: pointer; text-align: center; }
.ck-cta:hover { filter: brightness(.96); }
.ck-ghost { background: none; border: 0; color: #0362A0; font: inherit;
  font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px; }
.ck-trust-pay { margin-top: 18px; display: flex; justify-content: space-between;
  align-items: center; color: #6b7280; font-size: 12px; }
.ck-env { font-weight: 700; letter-spacing: .04em; }

/* fields reuse .sf-field; checkout-specific bits: */
.ck-grid2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .ck-grid2 { grid-template-columns: 1fr 1fr; } }
.ck select { width: 100%; padding: 13px 14px; border: 1px solid #d1d5db;
  border-radius: 10px; font: inherit; background: #fff; }
.ck select.is-invalid { border-color: var(--sf-err); }
.ck-phone { display: flex; align-items: stretch; }
.ck-phone-prefix { display: flex; align-items: center; padding: 0 12px;
  border: 1px solid #d1d5db; border-right: 0; border-radius: 10px 0 0 10px;
  background: #f9fafb; font-size: 14px; white-space: nowrap; }
.ck-phone input { border-radius: 0 10px 10px 0 !important; }
.ck-optins { margin: 14px 0; }
.ck-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px;
  color: #374151; margin: 8px 0; cursor: pointer; }
.ck-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: #FFB612; }
.ck-check a { color: #0362A0; font-weight: 600; }
.ck-check--required { font-weight: 600; }
.ck-method { margin-bottom: 14px; }
.ck-method-card { display: inline-block; border: 2px solid #e5e7eb;
  border-radius: 12px; padding: 12px 18px; font-weight: 800; font-size: 14px; }
.ck-method-card small { display: block; font-weight: 600; color: #6b7280; }
.ck-method-card.is-on { border-color: #FFB612; background: #FFFDF5; }

/* sidebar */
.ck-side { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 18px; position: sticky; top: 16px; }
.ck-side h2 { font-size: 16px; font-weight: 900; margin: 0 0 12px; }
.ck-gym { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px;
  margin-bottom: 12px; font-size: 13px; }
.ck-gym b { display: block; font-size: 14px; }
.ck-gym span { display: block; color: #6b7280; font-size: 12px; margin: 2px 0; }
.ck-gym a { color: #0362A0; font-weight: 700; font-size: 12.5px; }
.ck-plan-chip { display: inline-block; background: #3B3B40; color: #fff;
  font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 14px;
  margin-bottom: 8px; }
.ck-note { color: #059669; font-size: 12.5px; font-weight: 600; margin: 0 0 10px; }
.ck-row { display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-top: 1px solid #f0f0f0; font-size: 13.5px; }
.ck-row small { color: #6b7280; }
.ck-row--total { font-size: 16px; font-weight: 900; border-top: 2px solid #1c1c1c; }

/* mobile sticky submit (mirrors the original checkout's mobile bar) */
.ck-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000;
  display: flex; align-items: center; gap: 12px; background: #fff;
  border-top: 1px solid #e5e7eb; padding: 10px 14px;
  box-shadow: 0 -4px 18px rgba(0,0,0,.08); }
.ck-sticky .ck-total { flex: 1; font-size: 13px; font-weight: 700; color: #1c1c1c; }
.ck-sticky .ck-total b { display: block; font-size: 16px; }
.ck-sticky .ck-cta { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
@media (min-width: 900px) { .ck-sticky { display: none; } }
@media (max-width: 899px) {
  .ck-wrap { padding-bottom: 140px; }
  .ck-side { position: static; }
}
.ck-cupon[hidden] { display: none; }

/* update flow (post-login card update) */
.ck-upd-plans { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.ck-upd-chip { border: 2px solid #e5e7eb; background: #fff; border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; color: #374151; }
.ck-upd-chip b { color: #1c1c1c; }
.ck-upd-chip.is-on { border-color: #FFB612; background: #FFFDF5; color: #1c1c1c; }
