/* Centric athlete application — every rule is scoped under .cap so the form
   looks the same on its own page and inside the Centric Shopify theme,
   without changing the theme or being changed by it.
   Brand: Integral CF headings, Oakes Grotesk text, ink #1e1e1e, yellow #ffcc30. */

@font-face { font-family: 'Integral CF'; src: url('fonts/IntegralCF-Bold.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Oakes Grotesk'; src: url('fonts/OakesGrotesk-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
.cap {
  --ink: #1e1e1e;
  --ink-2: #4a4a47;
  --muted: #5f5f5c;
  --muted-on-ink: #8f8f8a;
  --soft-on-ink: #c9c9c4;
  --line: #d6d6d2;
  --line-soft: #e6e6e2;
  --field: #bdbdb8;
  --ground: #f4f4f2;
  --yellow: #ffcc30;
  --error: #b3261e;
  --display: 'Integral CF', Impact, 'Arial Narrow Bold', sans-serif;
  --body: 'Oakes Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
  --gap: 12px;
  color-scheme: light;
}
@media (min-width: 720px) {
.cap { --gutter: 40px; --gap: 16px; }
 }
.cap, .cap *, .cap *::before, .cap *::after { box-sizing: border-box; }
.cap { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.cap img { display: block; max-width: 100%; }
.cap svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cap button, .cap input, .cap select, .cap textarea { font: inherit; color: inherit; }
.cap button { cursor: pointer; }
.cap :focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.cap .cap-top :focus-visible, .cap .cap-hero :focus-visible, .cap .cap-done :focus-visible { outline-color: var(--yellow); }
.cap .cap-body :focus-visible { outline-color: var(--ink); }
.cap [hidden] { display: none !important; }

/* Neutralise common theme styles on the form's own elements */
.cap button, .cap input, .cap select, .cap textarea { margin: 0; min-height: 0; min-width: 0; letter-spacing: normal; text-transform: none; line-height: inherit; }
.cap button { background: none; border: 0; box-shadow: none; color: inherit; width: auto; }
.cap h1, .cap h2, .cap h3, .cap p, .cap ol, .cap dl, .cap dd { margin: 0; padding: 0; }
.cap h1, .cap h2, .cap h3, .cap label, .cap dt { color: inherit; font-family: inherit; font-size: inherit; font-weight: 400; letter-spacing: normal; text-transform: none; line-height: inherit; }
.cap p { color: inherit; font-family: inherit; letter-spacing: normal; }
.cap a { text-decoration: none; }
.cap input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; }

/* Embedded inside the Centric theme */
.cap--embed { position: relative; z-index: 0; isolation: isolate; text-align: left; }
.cap--embed .cap-hero { padding-top: 24px; }
.cap--embed .cap-hero__nav { min-height: 44px; margin: 0 0 16px; display: flex; }
.cap--embed .cap-hero__nav:has(#back[hidden]) { display: none; }
@media (min-width: 720px) { .cap--embed .cap-hero { padding-top: 32px; } }
.cap--embed .cap-done { min-height: 560px; }

.cap--page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.cap .cap-wrap { width: 100%; max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.cap .cap-top { background: var(--ink); color: #fff; }
.cap .cap-bar { height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
@media (min-width: 720px) {
.cap .cap-bar { height: 72px; }
.cap .cap-top { box-shadow: inset 0 -1px 0 #333331; }
 }
.cap .cap-bar__r { display: flex; justify-content: flex-end; }
.cap .cap-logo img { height: 16px; width: auto; }
@media (min-width: 720px) {
.cap .cap-logo img { height: 20px; }
 }
.cap .cap-btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #fff; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cap .cap-btn-ghost:hover { text-decoration-thickness: 2px; }
.cap .cap-btn-icon { width: 44px; height: 44px; margin-right: -12px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #fff; }
@media (min-width: 720px) {

.cap .cap-btn-icon { margin-right: 0; box-shadow: inset 0 0 0 1.5px #5a5a57; }

}
.cap .cap-btn-icon:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.cap .cap-hero { background: var(--ink); color: #fff; padding: 16px 0 32px; }
@media (min-width: 720px) {
.cap .cap-hero { padding: 40px 0 56px; }
 }
.cap .cap-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; align-items: center; gap: 8px; }
.cap .cap-steps li { display: flex; align-items: center; gap: 8px; }
.cap .cap-steps .cap-dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; box-shadow: inset 0 0 0 1.5px #6f6f6b; }
.cap .cap-steps .cap-lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--muted-on-ink); }
.cap .cap-steps .cap-line { width: 14px; height: 1.5px; background: #4a4a47; }
.cap .cap-steps .cap-is-done .cap-dot { background: var(--yellow); box-shadow: none; }
.cap .cap-steps .cap-is-done .cap-line { background: var(--yellow); }
.cap .cap-steps .cap-is-done .cap-lbl { color: var(--yellow); }
.cap .cap-steps .cap-is-current .cap-dot { background: #fff; box-shadow: none; }
.cap .cap-steps .cap-is-current .cap-lbl { color: #fff; }
@media (min-width: 720px) {
.cap .cap-steps { gap: 16px; margin-bottom: 40px; }
.cap .cap-steps li { gap: 16px; }
.cap .cap-steps .cap-lbl { font-size: 12px; }
.cap .cap-steps .cap-line { width: 48px; }

}
.cap .cap-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }
.cap .cap-title { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; outline: none; text-wrap: balance; }
.cap .cap-intro { margin: 0; max-width: 600px; color: var(--soft-on-ink); text-wrap: pretty; }
@media (min-width: 720px) {
.cap .cap-title { font-size: 40px; }
.cap .cap-intro { font-size: 17px; }
 }
.cap .cap-form { flex-grow: 1; display: flex; flex-direction: column; }
.cap .cap-body { flex-grow: 1; padding: 32px 0 40px; }
@media (min-width: 720px) {
.cap .cap-body { padding: 56px 0 72px; }
 }
.cap .cap-stack { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 720px) {
.cap .cap-stack { gap: 40px; }
 }
.cap .cap-divider { margin: 0; border: 0; height: 1px; background: var(--line-soft); }
.cap .cap-q { display: flex; flex-direction: column; gap: 16px; }
.cap .cap-q__headwrap { display: flex; flex-direction: column; gap: 6px; }
.cap .cap-q__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cap .cap-q__title { margin: 0; font-family: var(--body); font-weight: 400; font-size: 18px; line-height: 1.3; }
@media (min-width: 720px) {
.cap .cap-q__title { font-size: 20px; }
 }
.cap .cap-q__meta { flex-shrink: 0; font-size: 13px; line-height: 1.3; color: var(--muted); }
.cap .cap-q__help { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cap .cap-link { padding: 0; border: 0; background: none; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cap .cap-grid { display: grid; gap: var(--gap); }
.cap .cap-grid--cards, .cap .cap-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cap .cap-grid--liner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cap .cap-grid--colors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cap .cap-grid--sizes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 720px) {
.cap .cap-grid--cards, .cap .cap-grid--tiles, .cap .cap-grid--liner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cap .cap-grid--colors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cap .cap-grid--sizes { gap: var(--gap); }

}
.cap .cap-choice { appearance: none; margin: 0; border: 0; background: #fff; text-align: left; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .12s ease, opacity .12s ease; }
.cap .cap-choice:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cap .cap-choice[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.cap .cap-choice:disabled { opacity: 0.4; cursor: not-allowed; }
.cap .cap-choice:active:not(:disabled) { transform: scale(0.99); }
.cap .cap-ind { width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 0 0 1.5px #9a9a95; }
.cap .cap-ind svg { width: 13px; height: 13px; stroke: var(--ink); stroke-width: 3; opacity: 0; }
.cap .cap-ind--sq { border-radius: 4px; }
.cap .cap-ind--sm { width: 20px; height: 20px; }
.cap .cap-ind--sm svg { width: 11px; height: 11px; }
.cap .cap-ind--abs { position: absolute; top: 10px; right: 10px; }
.cap .cap-ind--sm.cap-ind--abs { top: 8px; right: 8px; }
.cap .cap-choice[aria-checked="true"] .cap-ind { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cap .cap-choice[aria-checked="true"] .cap-ind svg { opacity: 1; }
.cap .cap-ind__n { font-family: var(--body); font-weight: 400; font-size: 12px; line-height: 1; color: var(--ink); }
.cap .cap-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.cap .cap-card, .cap .cap-card:hover:not(:disabled), .cap .cap-card[aria-checked="true"] { box-shadow: none; }
.cap .cap-card::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .12s ease; }
.cap .cap-card:hover:not(:disabled)::after { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cap .cap-card[aria-checked="true"]::after { box-shadow: inset 0 0 0 2px var(--ink); }
.cap .cap-card .cap-ind--abs { z-index: 2; }
.cap .cap-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--ground); }
.cap .cap-card__media img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
/* The Compression Tee comes from the store's product photo, which has extra empty space around the shirt; enlarge it to match the other tops. */
.cap .cap-card__media img[src*="Compressiontee"] { transform: scale(1.4); }
.cap .cap-card__media--pair img { inset: 22% auto 22% 4%; width: 50%; height: 56%; }
.cap .cap-card__media--pair img + img { left: auto; right: 4%; }
.cap .cap-card__media--cover { aspect-ratio: 4 / 5; background: #e9e9e6; }
.cap .cap-card__media--cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap .cap-card__cap { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.cap .cap-grid--liner .cap-card__cap { padding: 10px 10px 12px; }
@media (min-width: 720px) {
.cap .cap-grid--liner .cap-card__cap { padding: 12px 14px 14px; }
 }
.cap .cap-card__label { font-size: 15px; line-height: 1.3; }
.cap .cap-card__sub { font-size: 13px; line-height: 1.4; color: var(--muted); }
.cap .cap-tile { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 14px; }
.cap .cap-tile__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cap .cap-tile__label { font-size: 15px; line-height: 1.25; }
.cap .cap-tile__sub { font-size: 13px; line-height: 1.3; color: var(--muted); }
.cap .cap-swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 104px; padding: 18px 8px 0; text-align: center; }
.cap .cap-swatch__dot { width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(30, 30, 30, 0.18); }
.cap .cap-swatch__dot--none { background: transparent; box-shadow: none; border: 1.5px dashed #7a7a76; }
.cap .cap-swatch__label { font-size: 14px; line-height: 1.25; }
.cap .cap-swatch__sub { font-size: 11px; line-height: 1.25; color: var(--muted); }
.cap .cap-pill { height: 52px; border-radius: 4px; text-align: center; font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0.6px; }
.cap .cap-pill[aria-checked="true"] { background: var(--ink); color: #fff; }
.cap .cap-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 24px; align-items: start; }
.cap .cap-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cap .cap-field--wide { grid-column: 1 / -1; }
@media (min-width: 720px) {
.cap .cap-fields { column-gap: 24px; }
.cap .cap-field--wide { grid-column: auto; }
.cap .cap-field--full { grid-column: 1 / -1; }
 }
.cap .cap-field--full { grid-column: 1 / -1; }
.cap .cap-label { font-size: 15px; line-height: 1.3; }
.cap .cap-label .cap-req { color: var(--muted); }
.cap .cap-input, .cap .cap-select, .cap .cap-textarea { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--field); font-size: 16px; color: var(--ink); }
.cap .cap-select { padding: 0 36px 0 12px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231e1e1e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.cap .cap-textarea { height: auto; min-height: 140px; padding: 14px; line-height: 1.5; resize: vertical; }
.cap .cap-input:focus, .cap .cap-select:focus, .cap .cap-textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.cap .cap-input[aria-invalid="true"], .cap .cap-select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.cap .cap-phone { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px; }
.cap .cap-prefix { position: relative; }
.cap .cap-prefix span { position: absolute; left: 14px; top: 0; height: 52px; display: flex; align-items: center; color: var(--muted); pointer-events: none; }
.cap .cap-prefix .cap-input { padding-left: 32px; }
.cap .cap-help { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cap .cap-err { margin: 0; font-size: 13px; line-height: 1.4; color: var(--error); }
.cap .cap-review { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 720px) {
.cap .cap-review { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
 }
.cap .cap-rcard { border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.cap .cap-rcard__head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 6px 0 16px; background: var(--ground); }
.cap .cap-rcard__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.cap .cap-rcard__edit { height: 44px; padding: 0 10px; border: 0; background: none; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cap .cap-rcard dl { margin: 0; padding: 4px 16px 8px; }
.cap .cap-rrow { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #ececea; }
.cap .cap-rrow:last-child { border-bottom: 0; }
@media (min-width: 720px) {
.cap .cap-rrow { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
 }
.cap .cap-rrow dt { font-size: 13px; line-height: 1.4; color: var(--muted); }
.cap .cap-rrow dd { margin: 0; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.cap .cap-rrow dd.cap-empty { color: #8a8a86; }
.cap .cap-check { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 8px; background: var(--ground); cursor: pointer; }
.cap .cap-check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.cap .cap-check__t { display: flex; flex-direction: column; gap: 2px; }
.cap .cap-check__sub { font-size: 13px; line-height: 1.4; color: var(--muted); }
.cap .cap-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--error); background: #fdf1f0; color: #7a1a14; font-size: 14px; line-height: 1.5; }
.cap .cap-alert svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--error); }
.cap .cap-footer { position: sticky; bottom: 0; z-index: 2; background: #fff; padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 720px) {
.cap .cap-footer { padding: 20px 0; }
 }
.cap .cap-footer__in { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 720px) {
.cap .cap-footer__in { flex-direction: row; align-items: center; gap: 20px; }
 }
.cap .cap-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; padding: 0 28px; flex-shrink: 0; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0.6px; text-transform: uppercase; text-decoration: none; }
@media (min-width: 720px) {
.cap .cap-cta { width: 280px; }
 }
.cap .cap-cta:hover { background: #000; }
.cap .cap-cta svg { width: 18px; height: 18px; }
.cap .cap-cta__spin { display: none; width: 18px; height: 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.cap .cap-cta.cap-is-busy { opacity: 0.75; cursor: progress; }
.cap .cap-cta.cap-is-busy .cap-cta__spin { display: block; }
.cap .cap-cta.cap-is-busy .cap-cta__arrow, .cap .cap-cta.cap-no-arrow .cap-cta__arrow { display: none; }
.cap .cap-cta--yellow { background: var(--yellow); color: var(--ink); width: auto; }
.cap .cap-cta--yellow:hover { background: #f2bd1a; }
.cap .cap-err-summary { margin: 0; font-size: 14px; line-height: 1.4; color: var(--error); }
.cap .cap-err-summary:empty { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.cap .cap-done { flex-grow: 1; background: var(--ink); color: #fff; display: flex; align-items: center; }
.cap .cap-done__in { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 56px; padding-bottom: 72px; }
.cap .cap-done__check { width: 64px; height: 64px; border-radius: 999px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.cap .cap-done__check svg { stroke: var(--ink); stroke-width: 2.6; }
.cap .cap-done__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; outline: none; }
@media (min-width: 720px) {
.cap .cap-done__title { font-size: 44px; }
 }
.cap .cap-done__text { margin: 0; max-width: 600px; font-size: 17px; line-height: 1.55; color: #d6d6d2; }
.cap .cap-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
.cap, .cap *, .cap *::before, .cap *::after { animation: none !important; transition: none !important; }
 }

