/*
--------------------------------------------------------------------------------
THE CREATION KIT — page styles
Built from the Stitch design "The Creation Kit - Sparkle Tree Studio"
(project "Sparkle Tree Creation Studio"): midnight violet surfaces, stardust-gold
primary actions, mint for trust and print, Quicksand headings over Outfit body.
Everything is scoped under .ck-page / .ck-body so the shared site styles are untouched.
--------------------------------------------------------------------------------
*/

/* Quicksand 600–700 (variable), latin only — headings on this page. */
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ck-void: #0c0817;
    --ck-night: #1e1035;
    --ck-surface: #2b1854;
    --ck-card: #3b2a59;
    --ck-border: #4e3b74;
    --ck-text: #ecdcff;
    --ck-muted: #c9b8e6;
    --ck-gold: #fbbf24;
    --ck-gold-deep: #f59e0b;
    --ck-mint: #34d399;
    --ck-pink: #f472b6;
    --ck-sky: #38bdf8;
    --ck-heading: 'Quicksand', 'Fredoka', system-ui, sans-serif;
    --ck-body: 'Outfit', system-ui, sans-serif;
    --ck-radius: 1rem;
    --ck-radius-sm: 0.5rem;
    --ck-lift: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(12, 8, 23, 0.45);
    --ck-glow: 0 0 16px rgba(251, 191, 36, 0.35);
}

body.ck-body {
    background-color: var(--ck-void);
    background-image: radial-gradient(ellipse at top, #2b1854 0%, #160c2b 45%, var(--ck-void) 85%);
    background-attachment: fixed;
}

.ck-page {
    color: var(--ck-text);
    font-family: var(--ck-body);
    padding-bottom: 4rem;
}

.ck-page h1, .ck-page h2, .ck-page h3 {
    font-family: var(--ck-heading);
    color: inherit;
    margin: 0;
}

.ck-page p { margin: 0; }

.ck-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ck-i {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
    flex: none;
    vertical-align: -0.15em;
}

.ck-page button { font-family: var(--ck-body); }

.ck-page :focus-visible {
    outline: 3px solid var(--ck-gold);
    outline-offset: 2px;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ck-hero {
    text-align: center;
    padding: 4rem 0 3rem;
}

.ck-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: var(--ck-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ck-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ck-mint);
    box-shadow: 0 0 8px var(--ck-mint);
}

.ck-title {
    margin-top: 1.25rem !important;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ck-gold) !important;
    text-shadow: 0 0 32px rgba(251, 191, 36, 0.35);
}

.ck-lede {
    max-width: 40rem;
    margin: 1.25rem auto 0 !important;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ck-muted);
}

.ck-promises {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.ck-promises li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 16, 53, 0.8);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: var(--ck-mint);
    font-size: 0.85rem;
    font-weight: 600;
}

.ck-promises li:last-child {
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--ck-sky);
}

/* ── Steps ────────────────────────────────────────────────────────────── */
.ck-steps > .ck-step + .ck-step { margin-top: 4rem; }

/* Clear the sticky site header when a step is scrolled into view. */
.ck-step { scroll-margin-top: 6rem; }

.ck-step-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ck-step-num {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ck-gold);
    color: var(--ck-night);
    font-family: var(--ck-heading);
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
    margin-top: 0.15rem;
}

.ck-step-text { flex: 1 1 18rem; min-width: 0; }

.ck-step-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
    color: var(--ck-gold) !important;
}

.ck-step-emoji { font-size: 0.9em; }

.ck-step-sub {
    margin-top: 0.3rem !important;
    color: var(--ck-muted);
    font-size: 0.95rem;
}

.ck-live-tag {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--ck-gold);
    color: var(--ck-night);
    font-family: var(--ck-body);
    font-size: 0.75rem;
    font-weight: 700;
}

.ck-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.08);
    color: var(--ck-mint);
    font-size: 0.8rem;
    font-weight: 600;
}

.ck-head-actions {
    display: flex;
    gap: 0.5rem;
    align-self: center;
    flex-wrap: wrap;
}

.ck-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--ck-border);
    background: var(--ck-surface);
    color: var(--ck-text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.ck-pill-btn:hover:not(:disabled) { border-color: var(--ck-gold); }
.ck-pill-btn:disabled { opacity: 0.45; cursor: default; }

/* ── Step 1: product cards ────────────────────────────────────────────── */
.ck-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ck-loading { color: var(--ck-muted); }

.ck-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: var(--ck-radius);
    border: 1px solid var(--ck-border);
    background: var(--ck-surface);
    box-shadow: var(--ck-lift);
    color: var(--ck-text);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ck-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--ck-gold);
    box-shadow: var(--ck-lift), var(--ck-glow);
}

.ck-product-card[aria-pressed="true"] {
    background: var(--ck-card);
    border-color: var(--ck-gold);
    box-shadow: var(--ck-lift), var(--ck-glow);
}

.ck-product-tile {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: var(--ck-radius-sm);
    background: var(--ck-night);
    border: 1px solid var(--ck-border);
    color: var(--ck-gold);
    margin-bottom: 0.5rem;
}

.ck-product-tile .ck-i { width: 28px; height: 28px; }

.ck-product-name {
    font-family: var(--ck-heading);
    font-weight: 700;
    font-size: 1.35rem;
}

.ck-product-blurb {
    color: var(--ck-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.ck-product-prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
}

.ck-free {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.12);
    color: var(--ck-mint);
    font-size: 0.75rem;
    font-weight: 700;
}

.ck-printed {
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ck-selected-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--ck-gold);
    color: var(--ck-night);
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
}

.ck-product-card[aria-pressed="true"] .ck-selected-badge { display: inline-block; }

/* ── Step 2: studio ───────────────────────────────────────────────────── */
.ck-studio {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr) minmax(0, 4fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(30, 16, 53, 0.6);
    border: 1px solid rgba(78, 59, 116, 0.6);
    align-items: start;
}

.ck-panel {
    padding: 1.25rem;
    border-radius: var(--ck-radius);
    background: var(--ck-surface);
    border: 1px solid var(--ck-border);
}

/* Tool tabs */
.ck-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: var(--ck-night);
    margin-bottom: 1.25rem;
}

.ck-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.4rem 0.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ck-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.ck-tab[aria-selected="true"] {
    background: var(--ck-gold);
    color: var(--ck-night);
}

.ck-tab:hover:not([aria-selected="true"]) { color: var(--ck-text); }

.ck-pane { max-height: 34rem; overflow-y: auto; padding-right: 0.25rem; }
.ck-pane-note { color: var(--ck-muted); font-size: 0.85rem; margin-bottom: 0.75rem !important; }

.ck-group-title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 1rem 0 0.6rem;
    font-family: var(--ck-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ck-gold);
}

.ck-group-title:first-child { margin-top: 0; }
.ck-group-title:nth-of-type(3n+2) { color: var(--ck-mint); }
.ck-group-title:nth-of-type(3n) { color: var(--ck-sky); }

.ck-sticker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.ck-sticker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.3rem 0.55rem;
    border-radius: var(--ck-radius-sm);
    border: 1px solid transparent;
    background: var(--ck-card);
    color: var(--ck-text);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ck-sticker img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ck-sticker-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ck-sticker-grid-featured .ck-sticker img { width: 72px; height: 72px; }

.ck-sticker:hover {
    transform: translateY(-2px);
    border-color: var(--ck-gold);
    box-shadow: var(--ck-glow);
}

.ck-sticker:active { transform: scale(0.95); }

.ck-tools-foot {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem !important;
    padding-top: 1rem;
    border-top: 1px solid var(--ck-border);
    color: var(--ck-mint);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Backdrops */
.ck-swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.ck-swatch {
    aspect-ratio: 1;
    border-radius: var(--ck-radius-sm);
    border: 2px solid var(--ck-border);
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
}

.ck-swatch:hover { transform: scale(1.05); }
.ck-swatch[aria-pressed="true"] { border-color: var(--ck-gold); box-shadow: var(--ck-glow); }

/* Words */
.ck-field-label {
    display: block;
    margin: 0.9rem 0 0.4rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ck-text);
}

.ck-field-label:first-child { margin-top: 0 !important; }

.ck-input {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    border-radius: var(--ck-radius-sm);
    border: 1px solid var(--ck-border);
    background: var(--ck-night);
    color: var(--ck-text);
    font-family: var(--ck-body);
    font-size: 1rem;
    resize: vertical;
}

.ck-text-row {
    display: flex;
    gap: 0.5rem;
}

.ck-text-row .ck-input { flex: 1; }

.ck-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.4rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--ck-gold);
    color: var(--ck-night);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

.ck-btn-small:active { transform: scale(0.97); }

.ck-colour-grid {
    display: grid;
    grid-template-columns: repeat(5, 36px);
    gap: 0.5rem;
}

.ck-colour {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.ck-colour:hover { transform: scale(1.1); }

/* Stage */
.ck-stage-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--ck-radius);
    background: #0f0820;
    border: 1px solid var(--ck-border);
    min-width: 0;
}

.ck-stage-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 40px;
}

.ck-page-strip-wrap { min-width: 0; flex: 1; }

.ck-page-strip {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    padding: 0.25rem;
    border-radius: 999px;
    background: var(--ck-night);
    scrollbar-width: thin;
}

.ck-page-chip {
    flex: none;
    min-height: 32px;
    padding: 0.25rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ck-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.ck-page-chip.active {
    background: var(--ck-gold);
    color: var(--ck-night);
}

.ck-safe-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    min-height: 36px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--ck-border);
    background: var(--ck-night);
    color: var(--ck-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.ck-safe-toggle[aria-pressed="true"] {
    color: var(--ck-gold);
    border-color: rgba(251, 191, 36, 0.45);
}

.ck-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 22rem;
    padding: 1rem 0;
}

.ck-mockup { position: relative; }

.ck-mockup-shirt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.ck-mockup-shirt path:first-child {
    fill: var(--ck-shirt, #ffffff);
    stroke: rgba(78, 59, 116, 0.9);
    stroke-width: 2;
    stroke-linejoin: round;
}

.ck-mockup-collar {
    stroke: rgba(0, 0, 0, 0.18);
    stroke-width: 4;
    stroke-linecap: round;
}

.ck-canvas-wrap {
    position: relative;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.ck-mockup.is-shirt .ck-canvas-wrap {
    position: absolute;
    box-shadow: none;
    border-radius: 0;
}

.ck-canvas-wrap canvas {
    display: block;
    border-radius: inherit;
    touch-action: none;
    cursor: grab;
}

.ck-canvas-wrap canvas:active { cursor: grabbing; }

.ck-safe-area {
    position: absolute;
    border: 2px dashed rgba(251, 191, 36, 0.7);
    border-radius: 0.75rem;
    pointer-events: none;
}

.ck-safe-area span {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.05rem 0.55rem;
    border-radius: 999px;
    background: rgba(30, 16, 53, 0.9);
    color: var(--ck-gold);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ck-stage.hide-safe .ck-safe-area { display: none; }

.ck-stage-hint {
    text-align: center;
    color: var(--ck-muted);
    font-size: 0.85rem;
}

/* Specs panel */
.ck-specs-eyebrow {
    color: var(--ck-mint);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ck-specs-name {
    margin-top: 0.3rem !important;
    font-size: 1.5rem;
    line-height: 1.2;
}

.ck-specs-blurb {
    margin-top: 0.4rem !important;
    color: var(--ck-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ck-options { margin-top: 1.25rem; }

.ck-option + .ck-option { margin-top: 1.1rem; }

.ck-option-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.ck-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ck-chip {
    min-height: 36px;
    min-width: 3rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--ck-radius-sm);
    border: 1px solid var(--ck-border);
    background: var(--ck-night);
    color: var(--ck-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.ck-chip[aria-checked="true"] {
    background: var(--ck-gold);
    border-color: var(--ck-gold);
    color: var(--ck-night);
}

.ck-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.ck-dot[aria-checked="true"] {
    box-shadow: 0 0 0 3px var(--ck-night), 0 0 0 5px var(--ck-gold);
}

.ck-layer {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: var(--ck-radius-sm);
    background: var(--ck-night);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.ck-layer-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ck-gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem !important;
}

.ck-slider {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ck-muted);
}

.ck-slider input { width: 100%; accent-color: var(--ck-gold); }

.ck-btn-remove {
    width: 100%;
    background: rgba(255, 133, 161, 0.15);
    color: #ffb4c6;
    border: 1px solid rgba(255, 133, 161, 0.4);
}

.ck-layer-empty {
    margin-top: 1.25rem !important;
    padding: 0.8rem;
    border-radius: var(--ck-radius-sm);
    background: var(--ck-night);
    color: var(--ck-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ── Step 3: finish ───────────────────────────────────────────────────── */
.ck-finish-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.ck-finish-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: var(--ck-radius);
    background: var(--ck-surface);
    border: 1px solid var(--ck-border);
    box-shadow: var(--ck-lift);
}

.ck-finish-card-order { background: var(--ck-card); }

.ck-finish-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ck-finish-head h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}

.ck-finish-head h3 .ck-i { color: var(--ck-gold); width: 1.3em; height: 1.3em; }
.ck-finish-card-order .ck-finish-head h3 .ck-i { color: var(--ck-mint); }

.ck-finish-card > p { color: var(--ck-muted); line-height: 1.6; font-size: 0.95rem; }

.ck-tag {
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.ck-tag-mint { background: rgba(52, 211, 153, 0.15); color: var(--ck-mint); }
.ck-tag-gold { background: rgba(251, 191, 36, 0.15); color: var(--ck-gold); }

.ck-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.ck-checks li {
    position: relative;
    padding-left: 1.5rem;
}

.ck-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ck-mint);
    font-weight: 700;
}

.ck-price-box {
    padding: 1rem 1.25rem;
    border-radius: var(--ck-radius-sm);
    background: var(--ck-night);
    border: 1px solid var(--ck-border);
}

.ck-price {
    font-family: var(--ck-heading);
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ck-price-note { color: var(--ck-muted); font-size: 0.8rem; }

.ck-gate-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--ck-sky);
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
}

.ck-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 56px;
    margin-top: auto;
    border: 0;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.ck-cta:active:not(:disabled) { transform: scale(0.97); }
.ck-cta:disabled { opacity: 0.6; cursor: progress; }

.ck-cta-gold {
    background: var(--ck-gold);
    color: var(--ck-night);
}

.ck-cta-gold:hover:not(:disabled) { box-shadow: 0 0 24px rgba(251, 191, 36, 0.45); }

.ck-cta-mint {
    background: #10b981;
    color: #04261a;
}

.ck-cta-mint:hover:not(:disabled) { box-shadow: 0 0 24px rgba(52, 211, 153, 0.45); }

.ck-cta-note {
    text-align: center;
    color: var(--ck-muted);
    font-size: 0.8rem;
}

.ck-busy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    color: var(--ck-gold);
    font-weight: 600;
}

.ck-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid rgba(251, 191, 36, 0.25);
    border-top-color: var(--ck-gold);
    animation: ck-spin 0.8s linear infinite;
}

@keyframes ck-spin { to { transform: rotate(360deg); } }

.ck-status {
    margin-top: 1rem !important;
    text-align: center;
    color: var(--ck-mint);
    font-weight: 600;
}

.ck-status:empty { display: none; }
.ck-status.is-error { color: #ffb4ab; }

/* ── Safety ───────────────────────────────────────────────────────────── */
.ck-safety { margin-top: 4rem; }

.ck-safety-box {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: rgba(30, 16, 53, 0.75);
    border: 1px solid var(--ck-border);
}

.ck-safety-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ck-safety-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    color: var(--ck-sky);
}

.ck-safety-icon .ck-i { width: 26px; height: 26px; }

.ck-safety-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ck-gold) !important;
}

.ck-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ck-safety-card {
    padding: 1.5rem;
    border-radius: var(--ck-radius);
    background: var(--ck-surface);
    border: 1px solid var(--ck-border);
}

.ck-safety-card-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--ck-radius-sm);
    background: var(--ck-night);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.ck-safety-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.ck-safety-card p { color: var(--ck-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ck-studio {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .ck-stage-panel { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 900px) {
    .ck-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ck-finish-grid, .ck-safety-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ck-wrap { padding: 0 1rem; }
    .ck-hero { padding: 2.5rem 0 2rem; }
    .ck-product-grid { gap: 0.75rem; }
    .ck-product-card { padding: 1rem; }
    .ck-product-name { font-size: 1.1rem; }
    .ck-product-blurb { font-size: 0.8rem; }
    .ck-product-prices { flex-direction: column; align-items: flex-start; }
    .ck-selected-badge { top: 0.6rem; right: 0.6rem; }
    .ck-studio { grid-template-columns: 1fr; padding: 0.75rem; gap: 0.75rem; }
    .ck-step-num { width: 36px; height: 36px; }
    .ck-head-actions { width: 100%; }
    .ck-finish-card, .ck-safety-box { padding: 1.25rem; }
    .ck-pane { max-height: 24rem; }
    .ck-tab { font-size: 0.8rem; padding: 0.4rem 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ck-page *, .ck-page *::before { transition: none !important; animation: none !important; }
}
